Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2009 11:14:59 +0200
From:      Torfinn Ingolfsen <tingox@gmail.com>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   mail/py-spambayes and Python 2.6 update
Message-ID:  <ef8c8a880906280214s56b7b40cxbd87219388033b62@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef8c8a880906280214s56b7b40cxbd87219388033b62>