Chris Spencer wrote at 2005-11-24 21:21 -0500:
>I have a threaded application that access a zodb, and when it shuts 
>down, all the threads that have root connections to the db call 
>transaction.commit(), then delete their root object. However, after I've 
>  joined all my threads and attempt:
>
>
>transaction.abort()
>connection.close()
>
>I get the error:
>
>ZODB.POSException.ConnectionStateError: Cannot close a connection joined 
>to a transaction

Looks like a persistency/threading bug.

Obviously, there is still some transaction (apparently
associated with the main connection) that is not yet aborted/committed.

You probably will need debugging to find out where this transaction
comes from...

-- 
Dieter
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to