I was away on a trip and using my laptop to work on a project. (by the way, traveling on Amtrak was great: they have a couple of seats in each car near an electric outlet and I was able to work for hours, with no distractions - i.e., no telephone, no pager, no tv - and got a lot of work done learning Zope.) I created a few pages of a site for a client, and tried to export it from the laptop to my desktop system for eventual transfer to the client's web server. However, the import isn't working. I know I have the file in the import directory on my office server (running SuSE 7.0, Zope version 2.4.1) and using a workstation with SuSE 7.2 to connect throught the Konquerer browser. The laptop is running SuSE 7.3 with Zope version 2.4.0. The error message I keep getting when I try to import the file through the Zope interface is: Error Type: UnpicklingError Error Value: invalid load key, 'ö'. I don't want to redo the work, so can anyone tell me why the import isn't working? Thanks, Mark
Mark Halegua writes:
... The error message I keep getting when I try to import the file through the Zope interface is:
Error Type: UnpicklingError Error Value: invalid load key, 'ö'. I saw something like this, when a new Python (2.1) wrote a pickle and an old Python (1.5) tried to load it.
If this is your problem, then you need to upgrade Python. Dieter
Dieter, I appreciate the assistance, however, the versions of Python on the various machines is as follows: network server: 2.1.1 workstation: 2.0 laptop: 2.1.1 remote web server: 2.1.1 The remote web server is running SuSE 7.3, with Zope 2.4.3. A question. My local server, running SuSE 7.0 with Zope 2.4.1, when I'm connected to it via my browser, does it use the Python local to the Zope server, or to the browser? I'd think it would use the Python local to the Zope server, but I'm not sure. Does it make a difference the media I'm using to transfer the export file? Because I'm having problems getting the laptop connected to my network, I'm using a floppy to transfer the zexp file to the local server and copying it to the import directory. I'm using the same floppy to try the copy operation, using scp, to the remote web server. In all cases, the result is the same. Mark On Saturday 30 March 2002 15:54, Dieter Maurer wrote:
Mark Halegua writes:
... The error message I keep getting when I try to import the file through the Zope interface is:
Error Type: UnpicklingError Error Value: invalid load key, 'ö'.
I saw something like this, when a new Python (2.1) wrote a pickle and an old Python (1.5) tried to load it.
If this is your problem, then you need to upgrade Python.
Dieter
Mark Halegua writes:
... A question. My local server, running SuSE 7.0 with Zope 2.4.1, when I'm connected to it via my browser, does it use the Python local to the Zope server, or to the browser?
I'd think it would use the Python local to the Zope server, but I'm not sure. You are right, it uses Zope's Python.
Does it make a difference the media I'm using to transfer the export file? Because I'm having problems getting the laptop connected to my network, I'm using a floppy to transfer the zexp file to the local server and copying it to the import directory. It should not, but "zexp" is a binary format. When there is some link in the chain that thinks it needs to handle text file line endings, then the content would get corrupted...
You might try an XML export (text based) and see whether the problems disappear. Dieter
participants (2)
-
Dieter Maurer -
Mark Halegua