[Spambayes] Bug solution for Spambayes
skip at pobox.com
skip at pobox.com
Thu May 5 15:51:46 CEST 2011
Dale> Although the build happens and the correct dependencies are
Dale> applied, this is what I got when I tried to run it.
Dale> Traceback (most recent call last):
Dale> File "/usr/bin/sb_server.py", line 96, in<module>
Dale> from spambayes import Dibbler
Dale> File "/usr/lib/python2.5/site-packages/spambayes/Dibbler.py", line 186, in<module>
Dale> from spambayes import asyncore, asynchat
Dale> ImportError: cannot import name asyncore
Dale> Hmmm... Looks like asyncore (and probably asynchat) probably
Dale> didn't make it into the distribution. I maybe have a messed
Dale> up manifest. I'll take a look.
My apologies for not getting to this sooner.
Dale> Well, today Debian provided an update to python that prevents the
Dale> use of all Spambayes versions. I had been running 1.1a6 with
Dale> python 2.5. Attempting that combination now yields:
...
Dale> Version 1.1b1 has the problems with asyncore and asynchat outlined
Dale> at the top and also will not start.
Dale> I don't really know how to proceed at this point.
As it turns out distutils has a bug which causes it to not rebuild the
MANIFEST file in many situations, so the new asyncore and asynchat modules
were not incorporated into the original 1.1b1 release. I fixed that problem
today and created a new 1.1b1 source release. It's available in the usual
place:
http://pypi.python.org/pypi?:action=display&name=spambayes
Before uploading it I verified that the new files were included:
% tar tfz dist/spambayes-1.1b1.tar.gz | egrep async
spambayes-1.1b1/Outlook2000/dialogs/async_processor.py
spambayes-1.1b1/spambayes/asynchat.py
spambayes-1.1b1/spambayes/asyncore.py
Please have the Debian folks regenerate their SpamBayes package.
--
Skip Montanaro - skip at pobox.com - http://www.smontanaro.net/
More information about the SpamBayes
mailing list