[spambayes-bugs] [ spambayes-Bugs-1002042 ] X-SpamBayes-Exception

SourceForge.net noreply at sourceforge.net
Tue Aug 3 01:24:08 CEST 2004


Bugs item #1002042, was opened at 2004-08-03 03:13
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1002042&group_id=61702

Category: pop3proxy
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Alan (a__l__a__n)
Assigned to: Nobody/Anonymous (nobody)
Summary: X-SpamBayes-Exception

Initial Comment:
Traceback (most recent call last):
  File "scripts/sb_server.py", line 475, in onRetr
    evidence=True)
  File
"/usr/lib/python2.2/site-packages/spambayes/classifier.py",
line 190, in chi2_spamprob
    clues = self._getclues(wordstream)
  File
"/usr/lib/python2.2/site-packages/spambayes/classifier.py",
line 493, in _getclues
    tup = self._worddistanceget(word)
  File
"/usr/lib/python2.2/site-packages/spambayes/classifier.py",
line 508, in _worddistanceget
    prob = self.probability(record)
  File
"/usr/lib/python2.2/site-packages/spambayes/classifier.py",
line 311, in probability
    assert spamcount <= nspam
AssertionError




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

>Comment By: Tony Meyer (anadelonbrin)
Date: 2004-08-03 11:24

Message:
Logged In: YES 
user_id=552329

Unfortunately, this means that your database is corrupt. 
Basically, your database says that you have a token that you
have seen in more spam than you have trained on (obviously
impossible).  The best way to fix this (given how quickly
spambayes learns) is to delete the two database files and
retrain from scratch.

If this reoccurs, we would definitely be interested in
hearing anything odd about your setup that might be causing
this.

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

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


More information about the Spambayes-bugs mailing list