Re: [ZODB-Dev] Weird ZODB error on Zope startup :-(
Tim Peters wrote: It means that some object in the Connection was in a modified state when an attempt to close the Connection was made. The current transaction must be committed or aborted first -- ZODB can't guess whether the pending changes should be committed or thrown away, so it won't let the app close the Connection until the app decides that for itself. Which version of Zope? 2.8.5 I believe... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ 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
Re: [ZODB-Dev] Weird ZODB error on Zope startup :-(
Chris Withers wrote at 2006-3-24 16:44 +: >Anyone ever see this error before and have a clue what it means? > File "lib/python/Zope2/Startup/__init__.py", line 47, in startup starter.setConfiguration(cfg) File "lib/python/Zope2/App/startup.py", line 100, in startup File "lib/python/Products/ZODBMountPoint/Mount.py", line 226, in close File "lib/python/ZODB/Connection.py", line 240, in close ZODB.POSException.ConnectionStateError: Cannot close a connection joined to a transaction A persistency bug -- probably in some component: The error occurs because something closes the connection without previously aborting/committing the transaction. -- 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
Re: [ZODB-Dev] Weird ZODB error on Zope startup :-(
[Chris Withers] > Anyone ever see this error before and have a clue what it means? > > >>> File "lib/python/Zope2/Startup/__init__.py", line 47, in startup > >>> starter.setConfiguration(cfg) > >>> File "lib/python/Zope2/App/startup.py", line 100, in startup > >>> File "lib/python/Products/ZODBMountPoint/Mount.py", line 226, in close > >>> File "lib/python/ZODB/Connection.py", line 240, in close > >>> ZODB.POSException.ConnectionStateError: Cannot close a connection joined > >>> to a transaction It means that some object in the Connection was in a modified state when an attempt to close the Connection was made. The current transaction must be committed or aborted first -- ZODB can't guess whether the pending changes should be committed or thrown away, so it won't let the app close the Connection until the app decides that for itself. Which version of Zope? Note that ZODBMountPoint isn't part of ZODB -- it's part of Zope, and gets rewritten a lot ;-) That's why the Zope version is important. If you want to make progress, look in SVN history for who rewrote it most recently for the version of Zope you're using. ___ 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