[sqlalchemy] Re: InternalError: current transaction is aborted, commands ignored until end of transaction block...

2010-09-29 Thread tom
Thank you very much, that was very helpful! On Sep 29, 5:27 pm, Michael Bayer wrote: > On Sep 29, 2010, at 11:03 AM, tom wrote: > > > First, thanks for that quick answer, that explains it. I turned > > autocommit on, and it works again. > > > That leads me to this question: I do have session.com

Re: [sqlalchemy] Re: InternalError: current transaction is aborted, commands ignored until end of transaction block...

2010-09-29 Thread Michael Bayer
On Sep 29, 2010, at 11:03 AM, tom wrote: > First, thanks for that quick answer, that explains it. I turned > autocommit on, and it works again. > > That leads me to this question: I do have session.commit() sprinkled > throughout my code without any "except: rollback()" blocks, can that > lead t

[sqlalchemy] Re: InternalError: current transaction is aborted, commands ignored until end of transaction block...

2010-09-29 Thread tom
First, thanks for that quick answer, that explains it. I turned autocommit on, and it works again. That leads me to this question: I do have session.commit() sprinkled throughout my code without any "except: rollback()" blocks, can that lead to problems down the line? I had the impression that rol