python-mode problem, doesnt load whole module?

C

cnb

a = parsing.unserialize("C:/users/saftarn/desktop/twok.txt")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python25\Progs\NetflixRecSys\parsing.py", line 91, in
unserialize
return pickle.load(open(filename, 'r'))
File "C:\Python25\lib\pickle.py", line 1370, in load
return Unpickler(file).load()
File "C:\Python25\lib\pickle.py", line 858, in load
dispatch[key](self)
File "C:\Python25\lib\pickle.py", line 1090, in load_global
klass = self.find_class(module, name)
File "C:\Python25\lib\pickle.py", line 1126, in find_class
klass = getattr(mod, name)


if i use the python-gui-editor-repl it works though...

so isn't emacs loading modules properly? this shouldnt have to do with
emacs itself though, right?
 
F

Fredrik Lundh

cnb said:
Traceback (most recent call last):
File "C:\Python25\lib\pickle.py", line 1126, in find_class
klass = getattr(mod, name)

when reporting a traceback, please include the error message that
follows after the stack trace.

</F>
 

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,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top