Discussion:
[schooltool] can't add/change entry
Andreas Matthus
18 years ago
Permalink
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

Can anyone help me?

With regards
Andreas Matthus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5004 bytes
Desc: not available
Url : http://lists.schooltool.org/pipermail/schooltool/attachments/20070123/4dd762b2/smime.bin
Brian Sutherland
18 years ago
Permalink
...
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.

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.
Post by Andreas Matthus
Can anyone help me?
With regards
Andreas Matthus
_______________________________________________
Schooltool mailing list
http://lists.schooltool.org/mailman/listinfo/schooltool
--
Brian Sutherland
Marius Gedminas
18 years ago
Permalink
...
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.
Post by Brian Sutherland
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.schooltool.org/pipermail/schooltool/attachments/20070124/9fead071/attachment.pgp
Continue reading on narkive:
Loading...