On Apr 8, 10:37 pm, Michael Bayer <[EMAIL PROTECTED]> wrote: > any chance an actual Mapper is getting pickled and unpickled in that > process ? the stack trace indicates a mapper in a state that it > should never be in.
It's totally possible. I'll admit to not knowing what I'm doing in any deep way. I'm just extrapolating from the examples and the intro I got at the PyCon sqlalchemy tutorial. I put together this abstracted bit of my Django views and the Elixir model it uses. http://dpaste.com/43945/ The general idea of what I'd like to do is create the object from the Elixir model, modify some of its attributes, pickle it in the HTTP session. In a subsequent HTTP request, deserialize it, modify more of the attributes and then save it to the DB. There are other ways to do this in a more brute force way, but I'd like to use the tools that sqlalchemy provides. I'm also thinking there's a possibility that this is related to Elixir, in which case, I'm glad to relieve this list of my burden :) Thanks for your patience and persistence, Alex --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
