[ZODB-Dev] Occasional startup errors in serialize.py/_reconstructor

Andreas Jung lists at zopyx.com
Mon May 9 07:14:04 EDT 2011


Running Plone 4.0.5, Zope 2.12, ZODB 3.9.5.

Occasionally I receive the following error after starting my instance
after the first request.
There is no way to recover out other than restarting the
instance...then everything is fine.
I don't know why this happens from time to time...any clue?

Andreas

2011-05-09 13:10:37 ERROR ZServerPublisher exception caught
Traceback (most recent call last):
  File "/home/ajung/.buildout/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/ZServer/PubCore/ZServerPublisher.py",
line 31, in __init__
    response=b)
  File "/home/ajung/.buildout/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/ZPublisher/Publish.py",
line 443, in publish_module
    environ, debug, request, response)
  File "/home/ajung/.buildout/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/ZPublisher/Publish.py",
line 264, in publish_module_standard
    if request is not None: request.close()
  File "/home/ajung/.buildout/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/ZPublisher/BaseRequest.py",
line 213, in close
    notify(EndRequestEvent(None, self))
  File "/home/ajung/.buildout/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py",
line 23, in notify
    subscriber(event)
  File "/home/ajung/.buildout/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py",
line 26, in dispatch
    for ignored in zope.component.subscribers(event, None):
  File "/home/ajung/.buildout/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py",
line 138, in subscribers
    return sitemanager.subscribers(objects, interface)
  File "/home/ajung/.buildout/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py",
line 838, in setstate
    self._setstate(obj)
  File "/home/ajung/.buildout/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py",
line 906, in _setstate
    self._reader.setGhostState(obj, p)
  File "/home/ajung/.buildout/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py",
line 629, in setGhostState
    state = self.getState(pickle)
  File "/home/ajung/.buildout/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py",
line 622, in getState
    return unpickler.load()
  File "/home/ajung/sandboxes/zopyx.authoring/lib/python2.6/copy_reg.py",
line 48, in _reconstructor
    obj = object.__new__(cls)
TypeError: ('object.__new__(UserDataSchemaProvider) is not safe, use
Persistence.Persistent.__new__()', <function _reconstructor at
0x2aad95da3b18>, (<class
'dgho.onkopedia.userdataschema.UserDataSchemaProvider'>, <type
'object'>, None))


More information about the ZODB-Dev mailing list