[Zope3-Users] Still trying to connect to ZODB from external
mailinglists at xgm.de
Thu May 24 09:58:49 EDT 2007
Am Mittwoch, 9. Mai 2007 18:18 schrieb Stefan H. Holek:
> You *must* either commit or abort your transaction.
I've changed my code to:
""" Calls all utlities that have a INewsfeed interface registered. """
db = getUtility(ZODB.interfaces.IDatabase)
conn = db.open()
root = conn.root().data['Application']
but that gives another error:
WARNING ZODB.DB DB.open() has 9 open connections with a pool_size of 7
> On 8. Mai 2007, at 23:02, Florian Lindner wrote:
> > File "/home/florian/Zope3/src/ZODB/Connection.py", line 268, in
> > close
> > raise ConnectionStateError("Cannot close a connection joined to "
> > ZODB.POSException.ConnectionStateError: Cannot close a connection
> > joined to a
> > transaction
> > What is the right way to do it?
> Anything that happens, happens. --Douglas Adams
More information about the Zope3-users