I forgot to say that some times I get this error when I try to access a
ZODB object (it doesn't matter what kind of object):

ERROR ZODB.Connection Shouldn't load state for 0x36 when the connection
is closed
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
"/home/marco/apps/zope3.2/lib/python/twisted/python/threadpool.py", line
149, in _worker
    context.call(ctx, function, *args, **kwargs)
  File "/home/marco/apps/zope3.2/lib/python/twisted/python/context.py",
line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/home/marco/apps/zope3.2/lib/python/twisted/python/context.py",
line 37, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/home/marco/apps/zope3.2/lib/python/twisted/web2/wsgi.py", line
139, in run
    result = self.application(self.environment, self.startWSGIResponse)
  File "/home/marco/apps/zope3.2/lib/python/zope/app/wsgi/__init__.py",
line 49, in __call__
    request = self.requestFactory(environ['wsgi.input'], environ)
"/home/marco/apps/zope3.2/lib/python/zope/app/publication/httpfactory.py", line 
62, in __call__
    request_class, publication_class = chooseClasses(method, env)
"/home/marco/apps/zope3.2/lib/python/zope/app/publication/httpfactory.py", line 
34, in chooseClasses
    request_class, publication = factory()
 line 79, in __call__
    request_class = component.queryUtility(
  File "/home/marco/apps/zope3.2/lib/python/zope/component/__init__.py",
line 260, in queryUtility
    return getSiteManager(context).queryUtility(interface, name,
  File "/home/marco/apps/zope3.2/lib/python/ZODB/Connection.py", line
729, in setstate
    raise ConnectionStateError(msg)
ZODB.POSException.ConnectionStateError: Shouldn't load state for 0x36
when the connection is closed

...and then, if I reload the page, the problem can magically disappear,
and if I request the view another time I can get the error again, and so
on and so on... it seems to me that the behaviour is totally random.

Does anybody know what's going on?

Thanks in advance


Zope3-users mailing list

Reply via email to