> i use fedora1, spambayes-1.1a1.tar.gz, i have Python 
> 2.2.3.
> 
> the problem:
> i launch "sb_imapfilter.py -b" and this is what i get
[...]
> TypeError: key type must be string"""
> 
> when trying localhost:8880 the con is refused.

This is a bug (it seems only with Python 2.2, not 2.3 or 2.4).  I've checked
in a fix for CVS.  If you want to patch your local copy, you just have to
change line 128 of spambayes/message.py from:

        if STATS_START_KEY in self.db:

To:

        if self.db.has_key(STATS_START_KEY):

That should solve the problem (it does here).  Thanks for the report!

=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. 

_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to