ports/75472: py24-spambayes is not compatible with Python 2.4,interface
Torfinn Ingolfsen
tingo at start.no
Fri Dec 24 19:30:29 UTC 2004
>Number: 75472
>Category: ports
>Synopsis: py24-spambayes is not compatible with Python 2.4, this results in errors when you try to review messages with the web interface
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 24 19:30:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Torfinn Ingolfsen
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD 5.3-STABLE #1: Sun Nov 14 20:19:11 CET 2004
root at kg-work.kg4.no:/usr/obj/usr/src/sys/SS51G
user at kg-work$ portversion -v | grep py
py24-bsddb-2.4_2 > succeeds port (port has 2.3.4_2)
py24-gtk-2.4.1 = up-to-date with port
py24-numeric-23.1 = up-to-date with port
py24-spambayes-1.0.1 = up-to-date with port
python-2.4 = up-to-date with port
>Description:
After upgrading the system to Python 2.4 (and performing the steps outlined in /usr/ports/UPDATING, entry 20041202) and upgrading Spambayes to py24-spambayes-1.0.1, I get this error message when clicking on "Review messages" in the web interface:
<---- cut here ---->
500 Server error
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/spambayes/Dibbler.py", line 461, in found_terminator
getattr(plugin, name)(**params)
File "/usr/local/lib/python2.4/site-packages/spambayes/ProxyUI.py", line 529, in onReview
message.load()
File "/usr/local/lib/python2.4/site-packages/spambayes/FileCorpus.py", line 230, in load
self.setPayload(fp.read())
File "/usr/local/lib/python2.4/site-packages/spambayes/FileCorpus.py", line 248, in setPayload
message.SBHeaderMessage.setPayload(self, payload)
File "/usr/local/lib/python2.4/site-packages/spambayes/message.py", line 249, in setPayload
prs._parseheaders(self, fp)
AttributeError: Parser instance has no attribute '_parseheaders'
<---- cut here ---->
A little search on Google turns up this reference:
http://mail.python.org/pipermail/spambayes-bugs/2004-December/003174.html
in which it is stated that Spambayes version 1.0.1 is not compatible with Python 2.4
>How-To-Repeat:
Install (or upgrade to) Python 2.4
Install (or upgrade to) Spambayes 1.0.1
Go to http://localhost:8880/ (or whereever you have pointed the web interface), click on the "Review messages" link.
>Fix:
See details in:
http://mail.python.org/pipermail/spambayes-bugs/2004-December/003174.html
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list