Re: [ZODB-Dev] ConflictErrors won't clear

2005-04-15 Thread Chris Withers
Christian Robottom Reis wrote: On Fri, Apr 15, 2005 at 12:57:07PM +0100, Chris Withers wrote: Okay, where in the above should I be calling sync()? Where do I get sync from? get_transaction() doesn't have a synch attribute.. On the Connection, of course wink And how do I get hold of the

Re: [ZODB-Dev] ConflictErrors won't clear

2005-04-15 Thread Jeremy Hylton
On 4/15/05, Chris Withers [EMAIL PROTECTED] wrote: Jeremy Hylton wrote: It's mentioned in the documentation -- see section 3.4 ZEO programming notes -- and it's been discussed on this list many, many times. Where are these notes? In the ZODB ZEO programming guide that's packaged with

[ZODB-Dev] ConflictErrors won't clear

2005-04-14 Thread Chris Withers
Hi there, I have a non-zope zeo client that pumps data into a storage server for later consumption by a zope zeo client. Everything is Zope 2.7.5. The non-zope client has logic that looks roughly like: for work in queue: try: get_transaction().begin() # do work, change zodb objects,

Re: [ZODB-Dev] ConflictErrors won't clear

2005-04-14 Thread Florent Guillaume
I had a problem like that, and I had to explicitely sync() the connection before begin(), I think. Florent Chris Withers [EMAIL PROTECTED] wrote: Hi there, I have a non-zope zeo client that pumps data into a storage server for later consumption by a zope zeo client. Everything is Zope