[Spambayes] SpamBayes training errors

Dale Schroeder dale at BriannasSaladDressing.com
Mon Jan 17 20:14:48 CET 2011


On 01/17/2011 11:17 AM, skip at pobox.com wrote:
>      Dale>  I recently started getting these errors when attempting to train.
>      ...
>      Dale>  Can anyone decipher these errors?
>      ...
>      Dale>     File "/usr/lib/python2.6/dist-packages/spambayes/Dibbler.py", line 221, in flush
>      Dale>       while (self.producer_fifo or self.ac_out_buffer) and not self._closed:
>
>      Dale>     File "/usr/lib/python2.6/asyncore.py", line 406, in __getattr__
>      Dale>       %(self.__class__.__name__, attr))
>
>      Dale>  AttributeError: _HTTPHandler instance has no attribute 'ac_out_buffer'
>
> I seem to recall some problems with asyncore in Python 2.6.  Here's a huge
> thread about it:
>
>      http://mail.python.org/pipermail/python-dev/2009-March/thread.html#86668
>
> I don't know if there was a resolution to the issue.  Do you have the option
> of installing and using Python 2.5 with SpamBayes?
>
I assume that to start SpamBayes with Python 2.5 I would run:

/usr/bin/python2.5 /usr/bin/sb_server.py

Is there anything else of which I should be aware?

Thanks for the help.

Dale



More information about the SpamBayes mailing list