Re: [sqlalchemy] troubleshooting mapper error

2014-03-17 Thread Jonathan Vanasco
thanks. i finally found it. i was querying TableA TableA < mapped somewhere to> TableB Table B had a backref on an 'id' field. that field got removed. the query on TableA triggered the error , even though I wasn't loading the 'id' field. because of how the backref was constructed, it was

Re: [sqlalchemy] troubleshooting mapper error

2014-03-17 Thread Michael Bayer
its probably the Python builtin "id" being referenced somewhere On Mar 17, 2014, at 7:28 PM, Jonathan Vanasco wrote: > i'm updating my db code, and this popped up: > > InvalidRequestError: One or more mappers failed to initialize - can't > proceed with initialization of other mappers.

[sqlalchemy] troubleshooting mapper error

2014-03-17 Thread Jonathan Vanasco
i'm updating my db code, and this popped up: InvalidRequestError: One or more mappers failed to initialize - can't proceed with initialization of other mappers. Original exception was: id() takes exactly one argument is there any way to tell where/how this got triggered? There's nothing usefu