Python Pickle: what can cause stack index out of range error?

Posted by Rosarch on Stack Overflow See other posts from Stack Overflow or by Rosarch
Published on 2010-06-12T21:50:57Z Indexed on 2010/06/12 22:03 UTC
Read the original article Hit count: 260

Filed under:
|

I'm getting this error:

  File "C:\Python26\lib\pickle.py", line 1374, in loads
    return Unpickler(file).load()
  File "C:\Python26\lib\pickle.py", line 858, in load
    dispatch[key](self)
  File "C:\Python26\lib\pickle.py", line 1075, in load_obj
    k = self.marker()
  File "C:\Python26\lib\pickle.py", line 874, in marker
    while stack[k] is not mark: k = k-1
IndexError: list index out of range

Why could this be happening?

© Stack Overflow or respective owner

Related posts about python

Related posts about pickle