[Spambayes] The joys of error messages.
Alex Brooks
askoorb at fastmail.fm
Tue May 11 11:31:27 EDT 2004
Hi, I'm having problems when running spambayes (python sb_imapfilter.py
-c -t -v ) and am getting the following errors:
Classifying
*****.*Traceback (most recent call last):
File "sb_imapfilter.py", line 928, in ?
run()
File "sb_imapfilter.py", line 918, in run
imap_filter.Filter()
File "sb_imapfilter.py", line 789, in Filter
self.unsure_folder)
File "sb_imapfilter.py", line 707, in Filter
evidence=True)
File "D:\Python23\Lib\site-packages\spambayes\classifier.py", line
190, in chi
2_spamprob
clues = self._getclues(wordstream)
File "D:\Python23\Lib\site-packages\spambayes\classifier.py", line
493, in _ge
tclues
tup = self._worddistanceget(word)
File "D:\Python23\Lib\site-packages\spambayes\classifier.py", line
508, in _wo
rddistanceget
prob = self.probability(record)
File "D:\Python23\Lib\site-packages\spambayes\classifier.py", line
308, in pro
bability
assert hamcount <= nham
AssertionError
Wondering if anyone knows what's going on or what to do to solve it, as
I can no longer filter spam.
Thanks
Alex
More information about the Spambayes
mailing list