On May 11, 2006, at 8:43 PM, Jonathan Vanasco wrote:

my problem is that where i snipped things in the middle, turbogears does some stuff itself, i'm guessing there's a begin/commit or something in there... and i wind up with this error
===
File "build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/ mapping/unitofwork.py", line 147, in _validate_obj InvalidRequestError: Detected a mapped object not present in the current thread's Identity Map: '(<class 'myapp.model.Class'>, ('62dd49990089f0c3c4e57ff54984e55ec90ffa6e',), None)'. Use objectstore.import_instance() to place deserialized instances or instances from other threads
===


answering myself, as I couldn't use Michael's advice and upgrade to . 20 ( breaks compatability elsewhere )... i discovered that turbogears was using an objectstore clear() where a begin() would have been better.



 - - - - - - - - - - - - - - - - - - -
| RoadSound.com / Indie-Rock.net
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - -






-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to