Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5561 > unrolled thread

Re: cPickle -> invalid signature

Started by"Gabriel Genellina" <gagsl-py2@yahoo.com.ar>
First post2011-05-17 09:29 -0300
Last post2011-05-17 09:29 -0300
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: cPickle -> invalid signature "Gabriel Genellina" <gagsl-py2@yahoo.com.ar> - 2011-05-17 09:29 -0300

#5561 — Re: cPickle -> invalid signature

From"Gabriel Genellina" <gagsl-py2@yahoo.com.ar>
Date2011-05-17 09:29 -0300
SubjectRe: cPickle -> invalid signature
Message-ID<mailman.1669.1305635340.9059.python-list@python.org>
En Tue, 17 May 2011 08:41:41 -0300, Neal Becker <ndbecker2@gmail.com>  
escribió:

> What does it mean when cPickle.load says:
> RuntimeError: invalid signature
>
> Is binary format not portable?

Are you sure that's the actual error message?
I cannot find such message anywhere in the sources.
The pickle format is quite portable, even cross-version. As a generic  
answer, make sure you open the file in binary mode, both when writing and  
reading.

-- 
Gabriel Genellina

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web