Re: [ZODB-Dev] Transaction undo example

2005-04-12 Thread Patrick DECAT
Hi, if you want to abort the current transaction, here is a sample inspired from Zope's code: def some_method(self, REQUEST, RESPONSE): Do stuff try: # Do important stuff RESPONSE.setStatus(204) except: RESPONSE.setStatus(500)

[ZODB-Dev] Hanging ZEO-client hangs all other ZEO-clients?

2005-04-12 Thread Dario Lopez-Kästen
Hello, I am in need for some help. We are using Zope 2.6.2, DBTab on the clients (4 of them on 2 servers) and Directory storage on teh ZEO side. Almost 3 weeks ago we suddenly started experiencing intermittent server hangs. Since then we have server hangs at least 2 times per day. Naturally

Re: [ZODB-Dev] Transaction undo example

2005-04-12 Thread Patrick DECAT
I believe you should then use the manage_undo_transactions method as used in the undo.dtml form. Something like: context.manage_undo_transactions(transaction_info=('QTF5TVlhNjdtTXc9')) HTH, Patrick. On Apr 12, 2005 2:09 PM, Stefan Milenkovic [EMAIL PROTECTED] wrote: Hello, Thank you for