[Zope] Thread in Zope 2.6.2
Florian Reiser
florian.reiser at ra-bc.de
Thu Mar 25 03:05:25 EST 2004
Hello,
I've tried to create a thread under Zope as it is described
in Case 2 of http://www.zopelabs.com/cookbook/1058719806 .
The code runs fine until the thread tries to commit the txn
with
try:
get_transaction().commit()
connection.close()
except:
pass
In the call connection.close() I get the error
ERROR(200) ZODB A storage error occured during object abort. This shouldn't
happen.
Traceback (innermost last):
File C:\PROGRA~1\Zope-2~1.2\lib\python\ZODB\Transaction.py, line 401, in
_commit_error
File C:\PROGRA~1\Zope-2~1.2\lib\python\ZODB\Connection.py, line 658, in
tpc_abort
AttributeError: 'None' object has no attribute 'tpc_abort'
What have I done wrong?
With kind regards
Florian Reiser
More information about the Zope
mailing list