29 lines
849 B
Plaintext
29 lines
849 B
Plaintext
|
From: spamfranke at bigfoot.de (Stefan Franke)
|
||
|
Date: Tue, 20 Apr 1999 17:29:43 GMT
|
||
|
Subject: unpickling an NT object in Solaris?
|
||
|
References: <dozier-2004991057490001@client-151-200-124-68.bellatlantic.net>
|
||
|
Message-ID: <371cb8f0.64496430@news.omnilink.de>
|
||
|
X-UID: 41
|
||
|
|
||
|
On Tue, 20 Apr 1999 10:57:49 -0400, dozier at bellatlantic.net (Bill Dozier) wrote:
|
||
|
|
||
|
>Hi,
|
||
|
>
|
||
|
>I created an object running python on NT and pickled it. I have no problem
|
||
|
>unpickling on NT, but when I ftp'd the file over to Solaris, I get an
|
||
|
>ImportError exception ("No module named __main__^M") when I try to
|
||
|
>unpickle it.
|
||
|
>
|
||
|
|
||
|
Pickling uses a text format which should be platform independent.
|
||
|
|
||
|
My guess: Did you transfer via FTP in text mode? In that case, line
|
||
|
endings get converted. "__main__^M" seems to point at this.
|
||
|
|
||
|
Stefan
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|