[spambayes-bugs] [ spambayes-Bugs-797890 ] Assertion errors from
classifier for new messages
SourceForge.net
noreply at sourceforge.net
Sat Aug 30 13:37:55 EDT 2003
Bugs item #797890, was opened at 2003-08-30 12:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=797890&group_id=61702
Category: pop3proxy
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Anderson J. Vitous (avitous)
Assigned to: Nobody/Anonymous (nobody)
Summary: Assertion errors from classifier for new messages
Initial Comment:
Installed from CVS latest version as of 8/30/03 (1.0a4
wouldn't work for me so reinstalled). Python version is 2.
2.3 on Windows XP with latest pybsddb installed. Trained
with recent spam/ham collections (about equal numbers
of messages, approx. 400 each), configured proxy. Using
Mahogany mail client pointed to pop3proxy (localhost).
Each new message retrieved results in an assertion
failure:
AssertionError
Traceback (most recent call last):
File "D:\apps\spambayes\pop3proxy.py", line 439, in
onRetr
evidence=True)
File "D:\apps\spambayes\spambayes\classifier.py", line
223, in chi2_spamprob
clues = self._getclues(wordstream)
File "D:\apps\spambayes\spambayes\classifier.py", line
451, in _getclues
prob = self.probability(record)
File "D:\apps\spambayes\spambayes\classifier.py", line
307, in probability
assert hamcount <= nham
(from console running pop3proxy.py)
Also inserted into headers of each message:
X-Spambayes-Exception: exceptions.AssertionError() in
probability() at
D:\apps\spambayes\spambayes\classifier.py line
307: assert
hamcount <= nham
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=797890&group_id=61702
More information about the Spambayes-bugs
mailing list