Re: [ZODB-Dev] newbie ZEO first try. ConflictError.

2009-11-26 Thread James Bergstra
On Thu, Nov 26, 2009 at 1:51 PM, tsmiller tsmil...@gnixterhouse.com wrote: Laurence, Thank you for your very quick reply.  I did as you suggested and now the ConflictError is now handled.  And that is a most excellent thing because now ConflictError is raised every time.  So it still seems to

Re: [ZODB-Dev] newbie ZEO first try. ConflictError.

2009-11-26 Thread tsmiller
James, You were right. I moved the assignment into the inner loop where is is reassigned each time after the abort. However, if I do not put the abort() in, then the ZODB comes back with a ConflictError and actually dies with a TransactionFailedError. The commit() is the purpose of the entire

Re: [ZODB-Dev] newbie ZEO first try. ConflictError.

2009-11-26 Thread Christian Theune
Hi, On 11/26/2009 10:08 PM, James Bergstra wrote: On Thu, Nov 26, 2009 at 1:51 PM, tsmillertsmil...@gnixterhouse.com wrote: Laurence, Thank you for your very quick reply. I did as you suggested and now the ConflictError is now handled. And that is a most excellent thing because now

Re: [ZODB-Dev] newbie ZEO first try. ConflictError.

2009-11-26 Thread tsmiller
Christian, Thanks. How painfully obvious. I have written the words 'transaction.begin()' about a thousand times or so! But I get discombobulated when I start looking at something new ( ZEO ) and forget the obvious. Final code for this little test that works perfectly: while True:

Re: [ZODB-Dev] newbie ZEO first try. ConflictError.

2009-11-26 Thread Christian Theune
Hi, On 11/26/2009 10:55 PM, tsmiller wrote: Christian, Thanks. How painfully obvious. I have written the words 'transaction.begin()' about a thousand times or so! But I get discombobulated when I start looking at something new ( ZEO ) and forget the obvious. Final code for this little