[Zope3-Users] error on registration in the zmi

FB fbo2 at gmx.net
Mon Oct 16 02:56:04 EDT 2006


On Sun, Oct 15, 2006 at 05:58:26PM +0200, Christophe Combelles wrote:
> each time I want to register any object from the ZMI I get this error.
> (zope 3.3.0 Python 2.4.4c0)
> Do you have any clue?

Yes. Apply this patch to the zope3-sources:

/http.py
--- src/zope/publisher/http.py.old 2006-10-04 15:11:04.000000000 +0200
+++ src/zope/publisher/http.py  2006-10-04 15:11:04.000000000 +0200
@@ -205,7 +205,7 @@
         return data

     def readline(self,size=None):
-        data = self.stream.readline(size)
+        data = self.stream.readline()
         self.cacheStream.write(data)
         return data

Regards,

Frank


More information about the Zope3-users mailing list