[sqlalchemy] Re: ConcurrentModificationError exception

2009-11-11 Thread Mike Conley
Thanks, that helps. It looks like the problem is around a M:N relationship. There is some complex logic about whether or not the row on the :N side of the relation should be copied or the original referenced. The related maintenance of the supporting association table causes the update problem. --

[sqlalchemy] Re: ConcurrentModificationError exception

2009-11-11 Thread Michael Bayer
Mike Conley wrote: > I am getting this error on a session.flush(). > > sqlalchemy.orm.exc.ConcurrentModificationError: Updated rowcount 0 > does > not match number of objects updated 1 > > and can't figure out where to start looking. it means an UPDATE was issued towards updating the values o