Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #5636
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'mode,': 0.07; '32-bit': 0.09; 'array.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'linux': 0.11; '>>>': 0.12; 'binary': 0.14; 'wrote:': 0.14; 'answer,': 0.16; 'from:addr:yahoo.com.ar': 0.16; 'maybe,': 0.16; 'numpy': 0.16; 'invalid': 0.16; 'generic': 0.19; 'tue,': 0.20; 'maybe': 0.21; '64-bit': 0.23; 'error': 0.29; 'least': 0.30; 'does': 0.31; 'actual': 0.31; 'to:addr:python-list': 0.32; 'header:X-Complaints- To:1': 0.34; 'message.': 0.35; 'file': 0.35; 'open': 0.35; 'header :User-Agent:1': 0.35; 'quite': 0.36; 'list,': 0.36; 'case,': 0.36; 'problem.': 0.36; 'system.': 0.37; 'url:org': 0.38; 'received:org': 0.38; 'to:addr:python.org': 0.39; 'comes': 0.39; 'header:Mime-Version:1': 0.39; 'would': 0.40; 'header:Received:5': 0.40; '2011': 0.62; 'received:190': 0.69; '-0300,': 0.84; 'genellina': 0.84; 'message?': 0.84; 'gabriel': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | "Gabriel Genellina" <gagsl-py2@yahoo.com.ar> |
| Subject | Re: cPickle -> invalid signature |
| Date | Tue, 17 May 2011 21:47:06 -0300 |
| References | <iqtmtl$77g$1@dough.gmane.org> <op.vvmkynldx6zn5v@gabriel.sleipnir-bsas> <iqueld$tnu$1@dough.gmane.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1; format=flowed; delsp=yes |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | 190.2.4.25 |
| User-Agent | Opera Mail/11.10 (Win32) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1732.1305680109.9059.python-list@python.org> (permalink) |
| Lines | 38 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1305680109 news.xs4all.nl 49175 [::ffff:82.94.164.166]:41894 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:5636 |
Show key headers only | View raw
En Tue, 17 May 2011 15:26:53 -0300, Neal Becker <ndbecker2@gmail.com> escribió: > Gabriel Genellina wrote: > >> 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. >> > > Yes, that's the message. > > Part of what is pickled is a numpy array. I am writing on a 32-bit > linux system > and reading on a 64-bit system. Reading on the 64-bit system is no > problem. > > Maybe the message comes from numpy's unpickling? Maybe, at least 'invalid signature' makes sense in Numpy. In that case, a better place to ask would be a numpy specific list, see http://www.scipy.org/Mailing_Lists -- Gabriel Genellina
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: cPickle -> invalid signature "Gabriel Genellina" <gagsl-py2@yahoo.com.ar> - 2011-05-17 21:47 -0300
csiph-web