[spambayes-dev] [ spambayes-Bugs-762641 ] Assertation Error on some Email

SourceForge.net noreply at sourceforge.net
Tue Jul 1 17:12:51 EDT 2003


Bugs item #762641, was opened at 2003-06-29 20:36
Message generated for change (Comment added) made by mhammond
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=762641&group_id=61702

Category: pop3proxy
Group: None
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Becker-Freyseng, Christoph (beyond-thoughts)
Assigned to: Nobody/Anonymous (nobody)
Summary: Assertation Error on some Email

Initial Comment:
Hello,

I got an assertation error when receiving the message
below.
It was in classifier.py.probability (line 307). There
it says:
assert hamcount <= nham
I was able to "fix" this by making a comment out of
this line.

Thanks,
   Christoph Becker-Freyseng



>From - Sun Jun 29 04:54:38 2003
X-UIDL: NLM"!ede"!Og8"!WMU!!
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Date: 29 Jun 2003 02:50:16 +0000
From: Mail System Internal Data
<MAILER-DAEMON at mmc-startup.com>
Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
Message-ID: <1056855016 at mmc-startup.com>
X-IMAP: 1056854405 0000000001
X-UIDL: NLM"!ede"!Og8"!WMU!!
Status: RO
X-Spambayes-Classification: ham
X-Spambayes-Spam-Probability: 4.32571756193e-011
X-Spambayes-MailId: 1056855278

This text is part of the internal format of your mail
folder, and is not
a real message.  It is created automatically by the
mail system software.
If deleted, important folder data will be lost, and it
will be re-created
with the data reset to initial values.

----------------------------------------------------------------------

>Comment By: Mark Hammond (mhammond)
Date: 2003-07-02 09:12

Message:
Logged In: YES 
user_id=14198

Dupe of 706520: assert fails in classifier

----------------------------------------------------------------------

Comment By: Becker-Freyseng, Christoph (beyond-thoughts)
Date: 2003-06-29 20:49

Message:
Logged In: YES 
user_id=186848

I just sent this bug-report to myself (to store it locally)
and guess ...
Indeed this email crashed spambayes again.
Here's the trace:

error: uncaptured python exception, closing channel
<__main__.ServerLineReader c
onnected at 0xff0540> (exceptions.AssertionError:
[C:\PYTHON22\lib\asyncore.py|p
oll|100] [C:\PYTHON22\lib\asyncore.py|handle_read_event|397]
[C:\PYTHON22\lib\as
ynchat.py|handle_read|130]
[C:\Programme\spambayes\pop3proxy.py|found_terminator
|147] [C:\Programme\spambayes\pop3proxy.py|onServerLine|215]
[C:\Programme\spamb
ayes\pop3proxy.py|onResponse|276]
[C:\Programme\spambayes\pop3proxy.py|onTransac
tion|377] [C:\Programme\spambayes\pop3proxy.py|onRetr|428]
[C:\Programme\spambay
es\spambayes\classifier.py|chi2_spamprob|223]
[C:\Programme\spambayes\spambayes\
classifier.py|_getclues|451]
[C:\Programme\spambayes\spambayes\classifier.py|pro
bability|307])


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=762641&group_id=61702



More information about the spambayes-dev mailing list