Re: [sqlalchemy] Bad context when trying to joinedload model's relationship

2017-03-26 Thread mike bayer
this is fixed for release 1.1.7 most likely tomorrow. if you can *please* confirm this resolves the issue on your end so that we can be 100% sure this is it, I was able to reproduce. thanks! On 03/25/2017 10:21 PM, mike bayer wrote: I've isolated the bug in

Re: [sqlalchemy] Bad context when trying to joinedload model's relationship

2017-03-25 Thread mike bayer
I've isolated the bug in https://bitbucket.org/zzzeek/sqlalchemy/issues/3947/race-condition-in-joined-eager-load-perf and a gerrit is running through right now. The plan is to get this merged and released by monday for 1.1.7. On 03/25/2017 09:53 AM, Mike Bayer wrote: There have been

Re: [sqlalchemy] Bad context when trying to joinedload model's relationship

2017-03-25 Thread Mike Bayer
There have been changes in this area and it is critical that you please send me a complete stack trace and details on your models ASAP. Please send the stack trace at least immediately, if there is an issue here it will affect a lot of people and I need to push a fix out ASAP. Also, is there

[sqlalchemy] Bad context when trying to joinedload model's relationship

2017-03-24 Thread Martin Latrille
Hey, I'm having a trouble with `joinedload`ing relationships in my models, since I updated SQLAlchemy from 1.1.2 to 1.1.6. Sometimes, (and when I say sometimes, i mean 1 out of 50 times or something like that), when spinning up a server of my python app which uses SQLAlchemy, I will face this