[Zope3-Users] Problem with Python 2.4.4

Thierry Florac thierry.florac at onf.fr
Tue Oct 24 08:00:05 EDT 2006


Le mardi 24 octobre 2006 à 07:51 -0400, Jim Fulton a écrit :
> Torvald Bringsvor wrote:
> > I guess this may be a Python problem rather than a
> > zope problem, but I just thought I'd check here.
> > 
> > I have set up Zope 3.3.0 with Python 2.4.4, and it
> > didn't quite work. Some operations such as adding a
> > content object provoked an error from cgi.py line 716,
> > this line reads:
> >   line = self.fp.readline(1<<16)
> > 
> > and then Python reacts that readline should have max
> > one argument, but it gets two. By correcting it to
> >    line = self.fp.readline()
> > 
> > everything works well.
> > 
> > Have anybody else had this problem?
> 
> You should report this in the Zope 3 collector,
> http://www.zope.org/Collectors/Zope3-dev.
> 
> It looks like Zope's file stream object that it passes to
> the CGI module needs to grow a maximum size.

Hi,

I had the same problem on Debian GNU/Linux.
Problem is due to a security patch applied on "cgi.py" in Debian's
unstable release.


  Thierry Florac
-- 
  Chef de projet intranet/internet
  Office National des Forêts - Département Informatique
  2, Avenue de Saint-Mandé
  75570 PARIS Cedex 12
  Mél : thierry.florac at onf.fr
  Tél. : +33 01.40.19.59.64
  Fax. : +33 01.40.19.59.85



More information about the Zope3-users mailing list