[spambayes-dev] Dibbler.py error in training

Kenny Pitt kennypitt at hotmail.com
Mon Apr 5 09:44:40 EDT 2004


sean darcy wrote:
>> I just checked in a fix for this. {snip]
> 
> Updated from cvs. New error message:
> 
> 
> 
> Training...
> 500 Server error
> 
> Traceback (most recent call last):
> 
>   File "/usr/lib/python2.3/site-packages/spambayes/Dibbler.py", line
>     461, in found_terminator getattr(plugin, name)(**params)
> 
>   File "/usr/lib/python2.3/site-packages/spambayes/ProxyUI.py", line
>     391, in onReview fromCache=True)
> 
>   File "/usr/lib/python2.3/site-packages/spambayes/Corpus.py", line
>     209, in takeMessage if opt in notate_opt and \
> 
> AttributeError: 'NoneType' object has no attribute 'startswith'
> 
> 
> Did I get the fix from cvs?  Maybe Sourceforge just didn't update it.
> 
> cvs -z3 -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/spambayes
> co spambayes 
> U spambayes/contrib/sb_bnfilter.py
> U spambayes/spambayes/Corpus.py
> U spambayes/spambayes/FileCorpus.py
> U spambayes/spambayes/storage.py

Well, anonymous CVS does have a little bit of a delay but it looks like
you got all of the affected files, and it looks like this error is in a
different location.  I'll try to make time to take a look if someone
else doesn't beat me to it.

-- 
Kenny Pitt




More information about the spambayes-dev mailing list