Hi, Jose! Hello sa-team!

I have the same question... did you got the solution?
p.s.
I use SA 0.6.1
 i will post a test example if needed

thanks in advance,
Iskren

On 19 Май, 10:32, jose soares <jose.soa...@sferacarta.com> wrote:
> Hi all,
>
> Someone knows what this error mean?
> ...
>
>   File 
> "/home/ve/sfera/release/sicer/BASE/model/anagraficaAlta/unita_aziendale.py", 
> line 154, in aggiorna_capi_bovini
>     x.flush()
>   File 
> "/home/ve/lib/python2.5/site-packages/SQLAlchemy-0.3.10-py2.5.egg/sqlalchemy/ext/assignmapper.py",
>  line 20, in do
>     return getattr(session, name)(self, *args, **kwargs)
>   File 
> "/home/ve/lib/python2.5/site-packages/SQLAlchemy-0.3.10-py2.5.egg/sqlalchemy/orm/session.py",
>  line 319, in flush
>     self.uow.flush(self, objects)
>   File 
> "/home/ve/lib/python2.5/site-packages/SQLAlchemy-0.3.10-py2.5.egg/sqlalchemy/orm/unitofwork.py",
>  line 210, in flush
>     flush_context.execute()
>   File 
> "/home/ve/lib/python2.5/site-packages/SQLAlchemy-0.3.10-py2.5.egg/sqlalchemy/orm/unitofwork.py",
>  line 400, in execute
>     UOWExecutor().execute(self, head)
>   File 
> "/home/ve/lib/python2.5/site-packages/SQLAlchemy-0.3.10-py2.5.egg/sqlalchemy/orm/unitofwork.py",
>  line 1020, in execute
>     self.execute_delete_steps(trans, task)
>   File 
> "/home/ve/lib/python2.5/site-packages/SQLAlchemy-0.3.10-py2.5.egg/sqlalchemy/orm/unitofwork.py",
>  line 1043, in execute_delete_steps
>     self.delete_objects(trans, task)
>   File 
> "/home/ve/lib/python2.5/site-packages/SQLAlchemy-0.3.10-py2.5.egg/sqlalchemy/orm/unitofwork.py",
>  line 1026, in delete_objects
>     task.mapper.delete_obj(task.polymorphic_todelete_objects, trans)
>   File 
> "/home/ve/lib/python2.5/site-packages/SQLAlchemy-0.3.10-py2.5.egg/sqlalchemy/orm/mapper.py",
>  line 1322, in delete_obj
>     raise exceptions.ConcurrentModificationError("Updated rowcount %d does 
> not match number of objects updated %d" % (c.rowcount, len(delete)))
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To post to this group, send email to sqlalch...@googlegroups.com.
> To unsubscribe from this group, send email to 
> sqlalchemy+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/sqlalchemy?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to