its a pickling error. Pickle is not managing to map your pickled data
back to the correct module name from which to import the "Path"
object. If this module (i.e., where the Path class originates) is
run by django in some kind of "dynamic importing" scheme, that could
definitely break pickle's ability to locate the originating module,
depending on how its done.
You might want to try using the "pickle" module instead of the default
of cPickle, which ive observed is not as smart about module imports:
import pickle
Column('ls', PickleType(pickler=pickle), nullable=False)
alternatively, define all the classes which you are pickling, i.e.
Path etc., in a separate module which is defined in a traditional
location thats importable by Python's own "import" statement.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---