Re: ImportError in Unpickle

2006-02-27 Thread [EMAIL PROTECTED]
It is indeed the problem. Thanks. May be, this fact could have been mentioned in the documentation. I have suggested the change using bug tracker. Raghu. -- http://mail.python.org/mailman/listinfo/python-list

Re: ImportError in Unpickle

2006-02-26 Thread Rene Pijlman
[EMAIL PROTECTED]: I have a python script that pickles and unpickles a give object. It works without any problems on windows (the data was pickled on windows first). But when I try to run the script on Linux, I get the following error: [...] ImportError: No module named __main__ There are some

Re: ImportError in Unpickle

2006-02-26 Thread Rene Pijlman
Rene Pijlman: [EMAIL PROTECTED]: ImportError: No module named __main__ There are some posts in the Usenet archive Also: http://mail.python.org/pipermail/python-list/1999-April/000916.html -- René Pijlman -- http://mail.python.org/mailman/listinfo/python-list

ImportError in Unpickle

2006-02-25 Thread [EMAIL PROTECTED]
Hi, I have a python script that pickles and unpickles a give object. It works without any problems on windows (the data was pickled on windows first). But when I try to run the script on Linux, I get the following error: mydbinfo = pickle.Unpickler(f).load() File