[spambayes-bugs] [ spambayes-Bugs-814322 ] AttributeError: hdrtxt
SourceForge.net
noreply at sourceforge.net
Mon Sep 29 23:17:44 EDT 2003
Bugs item #814322, was opened at 2003-09-29 20:12
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=814322&group_id=61702
Category: pop3proxy
Group: Source code - CVS
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Wolfgang Strobl (strobl)
Assigned to: Tony Meyer (anadelonbrin)
Summary: AttributeError: hdrtxt
Initial Comment:
The sb_server.py interface (i.e. pop3proy) yells a
tracebay at me, see below. I believe this occurs every
time my Anti Virus software (NAI) deletes an infected
message behind pop3proxies back. Restarting the proxy
is necessary to get rid of the traceback and cures the
problem. Environment: WinXP, python23, sb cvs, about
a week old (SpamBayes POP3 Proxy Beta2, version 0.2
(September 2003), using SpamBayes POP3 Proxy Web
Interface Alpha3, version 0.03)
500 Server error
Traceback (most recent call last):
File "C:\archiv\cvshome\spambayes\spambayes\Dibbler.p
y", line 453, in found_terminator
getattr(plugin, name)(**params)
File "C:\archiv\cvshome\spambayes\spambayes\ProxyUI.
py", line 395, in onReview
message = spambayes.mboxutils.get_message
(cachedMessage.getSubstance())
File "C:\archiv\cvshome\spambayes\spambayes\Corpus.p
y", line 349, in getSubstance
return self.hdrtxt + self.payload
File "C:\archiv\cvshome\spambayes\spambayes\Corpus.p
y", line 296, in __getattr__
raise AttributeError, attributeName
AttributeError: hdrtxt
----------------------------------------------------------------------
>Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-30 15:17
Message:
Logged In: YES
user_id=552329
Ok, I've fixed this in cvs now. If the file can't be loaded, then
it isn't presented in the review list. Note that if the message
is in the memory cache, then it will still be presented, but it
can still be used (until it gets flushed out of the memory
cache).
----------------------------------------------------------------------
Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-30 12:20
Message:
Logged In: YES
user_id=552329
I can confirm that this would be the result if the file becomes
inaccessible without spambayes knowing. I'll check in a fix to
display a "can't find message" error, or something like that.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=814322&group_id=61702
More information about the Spambayes-bugs
mailing list