On Tue, Jan 23, 2007 at 05:14:48PM +0100, Brian Sutherland wrote: > On Tue, Jan 23, 2007 at 03:13:00PM +0100, Andreas Matthus wrote: > > Hallo, > > > > I use schoolbell 1.2.4-2 with zope3 3.2.1-4 on a debian testing. Since a > > coople of days (or today) I can't add or change a entry. In browser I > > get a message "Ein Systemfehler ist aufgetreten." (it is german - "a > > systemerror occours"). In the logfile I found: > > > > ----snipp > > Traceback (most recent call last): > > File "/usr/lib/python2.4/site-packages/zope/publisher/publish.py", > > line 131, in publish > > request.processInputs() > > File "/usr/lib/python2.4/site-packages/zope/publisher/browser.py", > > line 255, in processInputs > > fs = FieldStorage(fp=fp, environ=self._environ, keep_blank_values=1) > > File "cgi.py", line 530, in __init__ > > self.read_multi(environ, keep_blank_values, strict_parsing) > > File "cgi.py", line 650, in read_multi > > environ, keep_blank_values, strict_parsing) > > File "cgi.py", line 532, in __init__ > > self.read_single() > > File "cgi.py", line 665, in read_single > > self.read_lines() > > File "cgi.py", line 687, in read_lines > > self.read_lines_to_outerboundary() > > File "cgi.py", line 715, in read_lines_to_outerboundary > > line = self.fp.readline(1<<16) > > TypeError: readline() takes exactly 1 argument (2 given) > > -----snapp > > It's a zope3/twisted/python2.4 issue, I would suggest updating all of > those, if the issue doesn't go away, please send a mail to the pkg-zope > list.
I've seen this error before. Upgrading python won't help. You need a fix in Zope 3, but I do not know if there's an updated Zope 3.2 point release with the fix. You may need to backport the fix from Zope 3.3.1. I can find the patch for you if you're interested. > If you find the exact version of twisted/zope that solves your issue, > that would also be interesting information. > > P.S. I'm not sure of exactly which twisted package you will need to > update. It can be fixed without updating twisted, just by patching one file in Zope 3. Marius Gedminas -- Please don't put a strain on our friendship by asking me to do something for you.
signature.asc
Description: Digital signature
_______________________________________________ Schooltool mailing list [email protected] http://lists.schooltool.org/mailman/listinfo/schooltool
