Re: [sqlalchemy] NoneType not callable exception

2016-02-23 Thread bill . adams
Thanks for your help on this. We'll stick with 0.9 for the time being and keep an eye on the issue. Thanks, Bill On Saturday, February 20, 2016 at 12:28:42 AM UTC-5, Mike Bayer wrote: > > > > On 02/19/2016 11:52 PM, bill@level12.io wrote: > > I got a test case working. It seems that the

Re: [sqlalchemy] NoneType not callable exception

2016-02-20 Thread Mike Bayer
On 02/20/2016 12:28 AM, Mike Bayer wrote: On 02/19/2016 11:52 PM, bill.ad...@level12.io wrote: I got a test case working. It seems that the limit/offset operations have an effect. The script fails less than half the time and so far only fails when I run python with the -R flag this

Re: [sqlalchemy] NoneType not callable exception

2016-02-19 Thread Mike Bayer
On 02/19/2016 11:52 PM, bill.ad...@level12.io wrote: I got a test case working. It seems that the limit/offset operations have an effect. The script fails less than half the time and so far only fails when I run python with the -R flag this reproduces and is a critical issue captured in

Re: [sqlalchemy] NoneType not callable exception

2016-02-19 Thread bill . adams
I got a test case working. It seems that the limit/offset operations have an effect. The script fails less than half the time and so far only fails when I run python with the -R flag import sqlalchemy as sa import sqlalchemy.orm as saorm from sqlalchemy.ext.declarative import declarative_base

Re: [sqlalchemy] NoneType not callable exception

2016-02-19 Thread Bill Adams
Yes, that is what I was trying to describe. I've been trying to create a simple test case but have as of yet been unable to reproduce the problem in a simpler environment. I was hoping someone had encountered something similar before. I'll keep trying to get that MCVE "working".. Thanks, Bill On

Re: [sqlalchemy] NoneType not callable exception

2016-02-19 Thread Mike Bayer
On Fri, Feb 19, 2016 at 9:30 PM, wrote: > > The issue seems to be occurring for queries where we use the add_entity() > method > to select a declarative model entity when a column from the same table is > already in the query constructor and labeled. > just to make sure,

Re: [sqlalchemy] NoneType not callable exception

2016-02-19 Thread Mike Bayer
On Fri, Feb 19, 2016 at 9:30 PM, wrote: > My company is in the process of upgrading one of our applications from > SQLAlchemy 0.9 to 1.0.12. The process is mostly complete but we are getting > exceptions seemingly at random for some of our more complicated queries. > > The

[sqlalchemy] NoneType not callable exception

2016-02-19 Thread bill . adams
My company is in the process of upgrading one of our applications from SQLAlchemy 0.9 to 1.0.12. The process is mostly complete but we are getting exceptions seemingly at random for some of our more complicated queries. The relevant stack trace: File