mail/py-spambayes and Python 2.6 update
Torfinn Ingolfsen
tingox at gmail.com
Sun Jun 28 09:47:01 UTC 2009
mail/py-spambayes didn't quite like the Python 2.6 update. When I
press the 'Review messages' link on its web page, followed by the
'Train' button, I get this:
Training...
500 Server error
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/spambayes/Dibbler.py",
line 470, in found_terminator
getattr(plugin, name)(**params)
File "/usr/local/lib/python2.6/site-packages/spambayes/ProxyUI.py",
line 399, in onReview
self.flush()
File "/usr/local/lib/python2.6/site-packages/spambayes/Dibbler.py",
line 706, in flush
return self._handler.flush()
File "/usr/local/lib/python2.6/site-packages/spambayes/Dibbler.py",
line 221, in flush
while (self.producer_fifo or self.ac_out_buffer) and not self._closed:
File "/usr/local/lib/python2.6/asyncore.py", line 391, in __getattr__
return getattr(self.socket, attr)
AttributeError: '_socketobject' object has no attribute 'ac_out_buffer'
and also when I press the 'save and shutdown' button:
Saving...
500 Server error
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/spambayes/Dibbler.py",
line 470, in found_terminator
getattr(plugin, name)(**params)
File "/usr/local/lib/python2.6/site-packages/spambayes/UserInterface.py",
line 565, in onSave
self._doSave()
File "/usr/local/lib/python2.6/site-packages/spambayes/UserInterface.py",
line 557, in _doSave
self.flush()
File "/usr/local/lib/python2.6/site-packages/spambayes/Dibbler.py",
line 706, in flush
return self._handler.flush()
File "/usr/local/lib/python2.6/site-packages/spambayes/Dibbler.py",
line 221, in flush
while (self.producer_fifo or self.ac_out_buffer) and not self._closed:
File "/usr/local/lib/python2.6/asyncore.py", line 391, in __getattr__
return getattr(self.socket, attr)
AttributeError: '_socketobject' object has no attribute 'ac_out_buffer'
Does anyone know how to fix spambayes?
--
Regards,
Torfinn Ingolfsen
More information about the freebsd-ports
mailing list