From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 24 19:30:29 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2DCA16A4CE for ; Fri, 24 Dec 2004 19:30:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B710443D45 for ; Fri, 24 Dec 2004 19:30:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBOJUS60071171 for ; Fri, 24 Dec 2004 19:30:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBOJUSuc071170; Fri, 24 Dec 2004 19:30:28 GMT (envelope-from gnats) Resent-Date: Fri, 24 Dec 2004 19:30:28 GMT Resent-Message-Id: <200412241930.iBOJUSuc071170@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Torfinn Ingolfsen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A3ED16A4CE for ; Fri, 24 Dec 2004 19:23:37 +0000 (GMT) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id A222143D1F for ; Fri, 24 Dec 2004 19:23:36 +0000 (GMT) (envelope-from tingo@start.no) Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0I9800M84QZDWP00@bgo1smout1.broadpark.no> for FreeBSD-gnats-submit@freebsd.org; Fri, 24 Dec 2004 20:18:49 +0100 (CET) Received: from kg-work.kg4.no ([80.202.72.152]) by bgo1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0I9800GPYRCUPFD0@bgo1sminn1.broadpark.no> for FreeBSD-gnats-submit@freebsd.org; Fri, 24 Dec 2004 20:26:55 +0100 (CET) Message-Id: <1103916215.0@kg-work.kg4.no> Date: Fri, 24 Dec 2004 20:23:35 +0100 From: Torfinn Ingolfsen To: FreeBSD gnats submit X-Send-Pr-Version: gtk-send-pr 0.4.1 Subject: ports/75472: py24-spambayes is not compatible with Python 2.4,interface X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Dec 2004 19:30:29 -0000 >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@kg-work.kg4.no:/usr/obj/usr/src/sys/SS51G user@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: