[ZODB-Dev] Close callback failure

Chris Withers chris at simplistix.co.uk
Fri Nov 25 05:05:31 EST 2005


Dieter Maurer wrote:
> Seb Bacon wrote at 2005-11-23 17:33 +0000:
> 
>>2005-11-21T16:38:07 ERROR(200) ZODB Shouldn't load state for 0x4723d3
>>when the connection is closed
> 
> A persistency bug.
> 
>   I know that (e.g.) PlacelessTranslationService
>   can cause such exceptions. It caches a persistent object (the service)
>   at module level and accesses it from all workers.
>   However, a persistent object must only be accessed from a thread
>   that has opened its ZODB connection and not by other threads.
>   When this restriction is violated and the object has been deactivated,
>   the exception occurs.

Interesting, I thought we had killed off PTS, since we don't use it, but 
it may still be there, so I'll take a look...

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the ZODB-Dev mailing list