From: dozier at bellatlantic.net (Bill Dozier)
Date: Tue, 20 Apr 1999 17:58:49 -0400
Subject: unpickling an NT object in Solaris?
References: <dozier-2004991057490001@client-151-200-124-68.bellatlantic.net>
Message-ID: <dozier-2004991758490001@client-151-200-124-149.bellatlantic.net>
X-UID: 1122                                                  

Problem solved. It seems that the cPickle module is not sufficiently
cross-platform.

The text mode of pickling is not cross-platform and seems to expect UNIX
linefeeds. :P

If I use the binary mode, everything's OK.


In article
<dozier-2004991057490001 at client-151-200-124-68.bellatlantic.net>,
dozier at bellatlantic.net (Bill Dozier) wrote:

>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.
>




