Hi,

See http://stackoverflow.com/questions/8785899/hang-in-python-script-using-sqlalchemy-and-multiprocessing particularly sbt's answer (http://stackoverflow.com/a/8795763/350713), and also the Python bug reports http://bugs.python.org/issue13751 and http://bugs.python.org/issue1692335.

The upshot is that SQLAs exceptions don't play nice with Pythons pickle. While this may be a known issue, I could not find any discussion of it. If this is considered a bug, let me know, and I'll file a bug report.

So, if possible, consider changing things to that SQLAs exceptions do work with pickle. Also, I'd welcome any suggestions how to implement sbt's copy_reg suggestion for the SQLA exception classes. Can I implement one workaround, or so I need one for every class that has a non-trivial constructor?

                                                           Regards, Faheem

--
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.

Reply via email to