whoops...

I've been using IDLE to test this and I guess it has to be reopened in
order for imports to be redone (I was just closing the shell window).
pickle.dump(metadata) works fine now.

But now I get a (recursive?) error when I try to unpickle (and I have
to kill the shell):

>>> import pickle
>>> pfile = file('pickled_tables','rb')
>>> metadata = pickle.load(pfile)

Traceback (most recent call last):
  File "<pyshell#7>", line 1, in -toplevel-
    metadata = pickle.load(pfile)
  File "C:\Python24\lib\pickle.py", line 1390, in load
    return Unpickler(file).load()
  File "C:\Python24\lib\pickle.py", line 872, in load
    dispatch[key](self)
  File "C:\Python24\lib\pickle.py", line 1235, in load_build
    setstate = getattr(inst, "__setstate__", None)
  File "C:\Python24\lib\site-packages\sqlalchemy\util.py", line 113, in
__getattr__
    return self.__data[key]
  File "C:\Python24\lib\site-packages\sqlalchemy\util.py", line 113, in
__getattr__
    return self.__data[key]
  File "C:\Python24\lib\site-packages\sqlalchemy\util.py", line 113, in
__getattr__
.
.
.
keeps on going


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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