[spambayes-bugs] [ spambayes-Support Requests-900252 ] Assertion Error in Classifier

SourceForge.net noreply at sourceforge.net
Fri Jul 16 05:36:13 CEST 2004


Support Requests item #900252, was opened at 2004-02-20 01:36
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498104&aid=900252&group_id=61702

Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: David Kjellquist (oldcyberdude)
Assigned to: Nobody/Anonymous (nobody)
Summary: Assertion Error in Classifier

Initial Comment:
Spambayes suddenly stops classifying. Traceback shows
the following error:
System is Rh 9, Evolution and running spambayes 1.0a9
Traceback (most recent call last):
  File
"/usr/local/spambayes-1.0a6/scripts/sb_server.py", line
442, 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 308, in
probability
    assert hamcount <= nham
AssertionError

I am not a python coder but I can certainly go in and
make any recommended changes. Any ideas.

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

>Comment By: Tony Meyer (anadelonbrin)
Date: 2004-07-16 15:36

Message:
Logged In: YES 
user_id=552329

This is rather late, but if necessary please see FAQ 5.3:

<http://spambayes.org/faq.html#i-get-a-dbrunrecoveryerror-message>

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

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


More information about the Spambayes-bugs mailing list