[Zope] 2.6 to 2.10 migration: RuntimeError: maximum recursion depth
exceeded
Jonas Meurer
jonas at freesources.org
Wed Jul 11 19:02:49 EDT 2007
Hello,
after importing a product from zope 2.6.4 to a 2.10.3 instance, trying
to open the product produces quite a lot of errors in my event.log, and
a traceback in the zope management interface.
I found a lot of mails regarding plone upgrades which report a similar
RuntimeError. What exactly does this mean?
this is what i get in event.log:
------
2007-07-12T00:47:24 ERROR ZODB.Connection Couldn't load state for 0x0aa5
Traceback (most recent call last):
File "/usr/lib/zope2.10/lib/python/ZODB/Connection.py", line 749, in setstate
self._setstate(obj)
File "/usr/lib/zope2.10/lib/python/ZODB/Connection.py", line 807, in _setstate
self._reader.setGhostState(obj, p)
File "/usr/lib/zope2.10/lib/python/ZODB/serialize.py", line 604, in setGhostState
state = self.getState(pickle)
File "/usr/lib/zope2.10/lib/python/ZODB/serialize.py", line 597, in getState
return unpickler.load()
File "/usr/lib/zope2.10/lib/python/ZODB/serialize.py", line 471, in _persistent_load
return self.load_oid(reference)
File "/usr/lib/zope2.10/lib/python/ZODB/serialize.py", line 537, in load_oid
return self._conn.get(oid)
File "/usr/lib/zope2.10/lib/python/ZODB/Connection.py", line 208, in get
obj._p_jar = self
File "/usr/lib/zope2.10/lib/python/ZClasses/_pmc.py", line 65, in __setattr__
super(ZClassPersistentMetaClass, self).__setattr__(name, v)
File "/usr/lib/zope2.10/lib/python/ZODB/persistentclass.py", line 84, in __set__
jar.setstate(inst)
File "/usr/lib/zope2.10/lib/python/ZODB/Connection.py", line 754, in setstate
exc_info=sys.exc_info())
File "logging/__init__.py", line 999, in error
File "logging/__init__.py", line 1078, in _log
File "logging/__init__.py", line 1064, in makeRecord
File "logging/__init__.py", line 246, in __init__
def setupConfiguredLoggers(self):
File "threading.py", line 677, in currentThread
return _DummyThread()
RuntimeError: maximum recursion depth exceeded
------
[ hundredthousands of lines with similar tracebacks, which become longer and longer ]
------
2007-07-12T00:47:26 ERROR Zope.SiteErrorLog https://sandbox.kicms.de/Control_Panel/Products/BasicCMS/manage_main
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module App.special_dtml, line 178, in _exec
Module DocumentTemplate.DT_Let, line 76, in render
Module DocumentTemplate.DT_In, line 643, in renderwob
Module DocumentTemplate.DT_In, line 771, in sort_sequence
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
Module ZODB.serialize, line 604, in setGhostState
Module ZODB.serialize, line 597, in getState
Module ZODB.serialize, line 471, in _persistent_load
Module ZODB.serialize, line 537, in load_oid
Module ZODB.Connection, line 208, in get
Module ZClasses._pmc, line 65, in __setattr__
Module ZODB.persistentclass, line 84, in __set__
Module ZODB.Connection, line 749, in setstate
Module ZODB.Connection, line 807, in _setstate
RuntimeError: maximum recursion depth exceeded
greetings,
jonas
--
"In post-historical society, the rulers have ceased to rule,
but the slaves remain slaves." - Perry Anderson
More information about the Zope
mailing list