[Spambayes] spambayes problem

Tony Meyer tameyer at ihug.co.nz
Sat Sep 24 13:12:54 CEST 2005


> The add-in is enabled and I have tried to re-initialize it several  
> times. [...] I've attached a log of the error message.
[...]
> Traceback (most recent call last):
>   File "manager.pyc", line 411, in LoadBayes
>   File "manager.pyc", line 252, in Load
> ValueError: __len__() should return >= 0

Very odd - I don't think I've seen this before.  My best guess is  
that the database is bad.  Try removing/renaming it (it's called  
default_bayes_database.db and is in the data directory, possibly 'C: 
\Documents and Settings\{username}\Application Data\SpamBayes';  
you'll also want to rename/remove the default_message_database.db file).

If that doesn't work, let us know and we'll try to think of something  
else.

=Tony.Meyer

-- 
Please always include the list (spambayes at python.org) in your replies
(reply-all), and please don't send me personal mail about SpamBayes.
http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this.




More information about the Spambayes mailing list