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 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 error from SQLAlch

Re: [sqlalchemy] Stale association proxy

2011-03-23 Thread Michael Bayer
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 error from SQLAlchemy: > > InvalidRequestError: stale association proxy, parent object has gone > out of scope this is because the p

[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'