When I log into the zope ZMI with... http://127.0.0.1/manage/ ... i recieve the following error and traceback: ------------------------------------------------------------------------- Error Type: TypeError Error Value: ('len() of unsized object', , None) Traceback (innermost last): File /usr/local/src/zope/lib/python/Products/Hotfix_2002-04-15/__init__.py, line 51, in publish_module File /usr/local/src/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/src/zope/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook (Object: Zope) File /usr/local/src/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/src/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_main) File /usr/local/src/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_main) File /usr/local/src/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 324, in __call__ (Object: manage_main) File /usr/local/src/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 354, in _bindAndExec (Object: manage_main) File /usr/local/src/zope/lib/python/App/special_dtml.py, line 244, in _exec (Object: manage_main) File /usr/local/src/zope/lib/python/DocumentTemplate/DT_In.py, line 711, in renderwob (Object: objectItems) File /usr/local/src/zope/lib/python/DocumentTemplate/DT_In.py, line 839, in sort_sequence (Object: objectItems) File /usr/local/src/zope/lib/python/ZODB/Connection.py, line 544, in setstate TypeError: (see above) --------------------------------------------------------------------------- The error and traceback appear in the frame that should display the contents of the root folder. The frame on the left hand side of the page correctly displays all the directories. If I select a folder, it will display it's contents with no problems... just seems to be a problem with the root directory. Any help is appreciated, Jon
Hi Jon,
When I log into the zope ZMI with...
... i recieve the following error and traceback: [...]
thanks for the trace back, but it helps debugging, if You could remember which Zope version You are running. It is not 2.5.0 for sure, as there is no "len" in line 544 of lib/python/ZODB/Connection.py :) Btw, there should be an error in some log file, or is it not? Cheers, Clemens
On Thu, 2002-09-12 at 15:11, Clemens Klein-Robbenhaar wrote:
Hi Jon,
When I log into the zope ZMI with...
... i recieve the following error and traceback: [...]
thanks for the trace back, but it helps debugging, if You could remember which Zope version You are running. It is not 2.5.0 for sure, as there is no "len" in line 544 of lib/python/ZODB/Connection.py :)
Oops! version: Zope-2.4.3 binary packaged with python 2.1
Btw, there should be an error in some log file, or is it not?
Yes, there was a log entry and I found that the problem is related to a python product that I'm working on. This is strange because I haven't changed said products' code in a while but this error just occured today. /me smacks himself for not checking the log file. Thanks for the pointers, Jon
Jon Erickson writes:
... version: Zope-2.4.3 binary packaged with python 2.1 Use at least Zope 2.4.4 and Python 2.1.3.
You problem report looks like a memory corruption which is a well known problem for Zope 2.4.x (x <= 3) and Python 2.1.x (x <=2). Dieter
participants (3)
-
Clemens Klein-Robbenhaar -
Dieter Maurer -
Jon Erickson