Re: [sqlalchemy] Stale association proxy

2011-03-26 Thread argentp...@gmail.com
Thanks, Michael! That seems to have fixed it. Cody On Wed, Mar 23, 2011 at 1:41 PM, Michael Bayer mike...@zzzcomputing.com wrote: On Mar 23, 2011, at 11:28 AM, argentp...@gmail.com wrote: Hello everyone, I am currently working on a Pylons project, and keep on receiving the following

[sqlalchemy] Stale association proxy

2011-03-23 Thread argentp...@gmail.com
Hello everyone, I am currently working on a Pylons project, and keep on receiving the following error from SQLAlchemy: InvalidRequestError: stale association proxy, parent object has gone out of scope Here is the code for the model: class AccountInfo(Base): __tablename__ = 'account_info'

Re: [sqlalchemy] Could not find table 'images' with which to generate a foreign key error in many-to-many relationship

2010-11-06 Thread argentp...@gmail.com
Thank you so much, Michael! It makes sense. I just tried it out, and it works correctly. I should have asked this question sooner. I would have saved myself a lot of wasted effort. On Sat, Nov 6, 2010 at 2:28 PM, Michael Bayer mike...@zzzcomputing.comwrote: On Nov 6, 2010, at 1:26 PM,