[sqlalchemy] Re: ConcurrentModificationError without concurrent modification?

2008-01-24 Thread Michael Bayer
On Jan 24, 2008, at 5:55 AM, maxi wrote: > > One more thing, > I remove the many to many mapper (for ConvPre class and the associated > mapper) and: > - This work fine on sa 0.4.x > - This don't work on sa 0.3.10 > > Are there any changes relative a this problem in 0.4.x versions ? its the sam

[sqlalchemy] Re: ConcurrentModificationError without concurrent modification?

2008-01-24 Thread maxi
One more thing, I remove the many to many mapper (for ConvPre class and the associated mapper) and: - This work fine on sa 0.4.x - This don't work on sa 0.3.10 Are there any changes relative a this problem in 0.4.x versions ? --~--~-~--~~~---~--~~ You received th

[sqlalchemy] Re: ConcurrentModificationError without concurrent modification?

2007-10-01 Thread Michael Bayer
On Oct 1, 2007, at 9:22 PM, Dan Eloff wrote: > > On 10/1/07, Michael Bayer <[EMAIL PROTECTED]> wrote: >> >> most likely too many association rows are present in the m2m table. >> > > Do you mean there were redundant associations? How can I check if > that's the cause of the problem? > the stack

[sqlalchemy] Re: ConcurrentModificationError without concurrent modification?

2007-10-01 Thread Dan Eloff
On 10/1/07, Michael Bayer <[EMAIL PROTECTED]> wrote: > > most likely too many association rows are present in the m2m table. > Do you mean there were redundant associations? How can I check if that's the cause of the problem? Thanks, -Dan --~--~-~--~~~---~--~~ Yo

[sqlalchemy] Re: ConcurrentModificationError without concurrent modification?

2007-10-01 Thread Michael Bayer
Also, I think we're going to change the name of that exception. its not necessarily "Concurrent" modification...Hibernate calls it "StaleStateException" which might be better. On Oct 1, 2007, at 7:25 PM, Dan Eloff wrote: > > ConcurrentModificationError: Deleted rowcount 3 does not match num

[sqlalchemy] Re: ConcurrentModificationError without concurrent modification?

2007-10-01 Thread Michael Bayer
On Oct 1, 2007, at 7:25 PM, Dan Eloff wrote: > > ConcurrentModificationError: Deleted rowcount 3 does not match number > of objects deleted 1 > > raised by this code: > > with Session() as session: > dl = session.merge(dl) > session.delete(dl) > > There are no oth