pickle: No module named on. HELP!

F

fanbanlo

What seems to be the matter?

Traceback (most recent call last):
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
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 1083, in load_inst
klass = self.find_class(module, name)
File "C:\Python24\lib\pickle.py", line 1138, in find_class
__import__(module)
ImportError: No module named on.



Thanks,

Henry
 
F

fanbanlo

fanbanlo said:
What seems to be the matter?

Traceback (most recent call last):
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
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 1083, in load_inst
klass = self.find_class(module, name)
File "C:\Python24\lib\pickle.py", line 1138, in find_class
__import__(module)
ImportError: No module named on.



Thanks,

Henry

Got it, forgot to open file in binary mode. Thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,150
Members
46,696
Latest member
BarbraOLog

Latest Threads

Top