25 Mar
2004
25 Mar
'04
8:05 a.m.
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