Re: [sqlalchemy] ConcurrentModificationError: Deleted rowcount 0 ... but only on mysql?

2010-08-21 Thread Michael Bayer
On Aug 21, 2010, at 7:45 AM, Ergo wrote: ConcurrentModificationError: Deleted rowcount 0 does not match number of objects deleted... for clarity, this error has been renamed to StaleDataError.Here is the docstring coming up in 0.6.4: * A flush may have attempted to update or delete

Re: [sqlalchemy] ConcurrentModificationError

2009-12-02 Thread Michael Bayer
On Dec 2, 2009, at 5:46 PM, Dave Paola wrote: I'm getting this: ConcurrentModificationError: updated rowcount 0 does not match number of objects updated 1 when I try to commit a simple deletion. I'm using Sqlite locally but the error also occurs on a Postgres database in a live

Re: [sqlalchemy] ConcurrentModificationError

2009-12-02 Thread Dave Paola
Indeed, I do have TaskTags mapped to it's own class. However, I never explicitly delete any TaskTag object, only create them. In any case, what would the preferred way to add a new tag to a task (a new entry in the association table)? I was using the ORM to just create a new instance of TaskTag

Re: [sqlalchemy] ConcurrentModificationError

2009-12-02 Thread Conor
Dave Paola wrote: Indeed, I do have TaskTags mapped to it's own class. However, I never explicitly delete any TaskTag object, only create them. In any case, what would the preferred way to add a new tag to a task (a new entry in the association table)? I was using the ORM to just create a