Re: [sqlalchemy] AttributeError: 'Preprocess' object has no attribute 'detach' during Session.close

2011-05-16 Thread Torsten Landschoff
On Tue, 2011-05-03 at 09:45 -0400, Michael Bayer wrote: It would appear as though a mapped class, I'm assuming called Preprocess, is being interpreted as an instance state, an internal ORM construct that would normally be attached to the mapped object.I'm not familiar offhand with any

Re: [sqlalchemy] AttributeError: 'Preprocess' object has no attribute 'detach' during Session.close

2011-05-16 Thread Michael Bayer
On May 16, 2011, at 3:24 PM, Torsten Landschoff wrote: On Tue, 2011-05-03 at 09:45 -0400, Michael Bayer wrote: It would appear as though a mapped class, I'm assuming called Preprocess, is being interpreted as an instance state, an internal ORM construct that would normally be attached to

[sqlalchemy] AttributeError: 'Preprocess' object has no attribute 'detach' during Session.close

2011-05-03 Thread Torsten Landschoff
Hi *, has somebody seen this error and maybe an idea how I ended up triggering it? ;-) File /home/dynamore/loco2/deploy/linux64_rhel5.4/build/pyi.linux2/loco2/outPYZ1.pyz/sqlalchemy.orm.session, line 746, in close File

Re: [sqlalchemy] AttributeError: 'Preprocess' object has no attribute 'detach' during Session.close

2011-05-03 Thread Michael Bayer
It would appear as though a mapped class, I'm assuming called Preprocess, is being interpreted as an instance state, an internal ORM construct that would normally be attached to the mapped object.I'm not familiar offhand with any documented usage which could cause that. If you were to