Re: [sqlalchemy] Migration from 0.5 to 0.9, legacy code and InvalidRequestError: This transaction is inactive

2014-09-10 Thread christian . h . m . schramm
Am Dienstag, 9. September 2014 18:12:26 UTC+2 schrieb Jonathan Vanasco: What do you see if you drop SqlAlchemy's logging to DEBUG? I think I had a similar problem a long time ago, migrating from 0.5 to 0.8. In my case, the issue was with the `Session` factory -- i was not properly

[sqlalchemy] Migration from 0.5 to 0.9, legacy code and InvalidRequestError: This transaction is inactive

2014-09-09 Thread christian . h . m . schramm
Hello everyone, I am currently in the process of migrating a large legacy code base I inherited from SQLAlchemy 0.5 to 0.9. There is a somewhat confusing stack of custom decorator magic for connection, session and transaction handling – too unwieldy to post here in its entirety, but very