adam mcgreggor
2007-02-12 11:15:39 UTC
Hiya,
Sorry for not replying to the list, based on the previous message
(http://lists.schooltool.org/pipermail/schooltool/2007-January/002109.html,
and the thread that follows).
I think my problem in adding events came from when I did a distro
upgrade from (Ubuntu) Dapper --> Edgy, although I can't say for sure.
Regretably, Python scares me, so I wouldn't know what to fix, although I
did see mention of a patch (as cited, below), if that's what's needed (I've tried a purge
of the package, and then re-install [keeping the data] -- to no avail)
my error.log is spewing:
2007-02-12 10:01:35,329 http://osiris:7080
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)
Sorry for not replying to the list, based on the previous message
(http://lists.schooltool.org/pipermail/schooltool/2007-January/002109.html,
and the thread that follows).
I think my problem in adding events came from when I did a distro
upgrade from (Ubuntu) Dapper --> Edgy, although I can't say for sure.
Regretably, Python scares me, so I wouldn't know what to fix, although I
did see mention of a patch (as cited, below), if that's what's needed (I've tried a purge
of the package, and then re-install [keeping the data] -- to no avail)
my error.log is spewing:
2007-02-12 10:01:35,329 http://osiris:7080
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)
From Brian Sutherland, Tue Jan 23 11:14:48 EST 2007
It's a zope3/twisted/python2.4 issue, I would suggest updating all of
those
They're all up-to date.It's a zope3/twisted/python2.4 issue, I would suggest updating all of
those
From Marius Gedminas, Wed Jan 24 07:20:21 EST 2007
You may need to backport the fix from Zope 3.3.1.
I can find the patch for you if you're interested.
[...]You may need to backport the fix from Zope 3.3.1.
I can find the patch for you if you're interested.
It can be fixed without updating twisted, just by patching one file in
Zope 3.
If you can, that would be great.Zope 3.