[prev in list] [next in list] [prev in thread] [next in thread]
List: zope3-users
Subject: Re: [Zope3-Users] Re: Request in Zope3-Thread
From: Markus Leist <ml_zope3_dev () ikom-online ! de>
Date: 2007-08-20 18:06:21
Message-ID: 200708202006.21277.ml_zope3_dev () ikom-online ! de
[Download RAW message or body]
Hi,
i don't understand, you are right:
>class TransactionManager(object):
> def commit(self):
> return self.get().commit()
after deletion of
>setSite(old_site)
it "seems to be better", but under some circumstances there still is:
ZODB.POSException.ConnectionStateError: Cannot close a connection joined to a transaction
(sometimes).
Hmm, it's hard to debug this part of my app. I will do some kind of
"printf-debugging" in a few days.
the problem appears in an error-handler of my app ... and there are no
errors in/with the application ;-)
Thanx for the quick answer.
Markus
Am Montag 20 August 2007 um 19:30 Uhr schrieb Philipp von Weitershausen <philipp@weitershausen.de>:
> [...]
> transaction.get().commit() should be completely equivalent to
> transaction.commit(). The setSite(old_site) call doesn't look
> necessary since the reference to the site is local to the thread.
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic