[Zope] Error importing zexp

Alan Capesius alanc@tech-world.com
Fri, 10 Aug 2001 01:00:02 -0500


This may be a version conflict between products. Make sure of the versions.
Best to copy the products folder to the new server befor importing.
You might find it easier to copy the data.fs from one server to the other.

- Alan
---------------------------------------
Zope tips and tricks site
http://twsite.bizland.com/zopetips.htm


> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tom
> Cameron
> Sent: Friday, August 10, 2001 12:46 AM
> To: zope@zope.org
> Subject: [Zope] Error importing zexp
>
>
> I am trying to move a zope site from one server to another. I exported the
> site to a zexp file and then try to import it into the other machine.
>
> I keep getting:
>
> Error Type: cPickle.UnpicklingError
> Error Value: invalid load key, ' '.
>
> Traceback (innermost last):
>   File D:\Zope\23229D~1.3\lib\python\ZPublisher\Publish.py, line 223, in
> publish_module
>   File D:\Zope\23229D~1.3\lib\python\ZPublisher\Publish.py, line 187, in
> publish
>   File D:\Zope\23229D~1.3\lib\python\Zope\__init__.py, line 221, in
> zpublisher_exception_hook
>     (Object: ApplicationDefaultPermissions)
>   File D:\Zope\23229D~1.3\lib\python\ZPublisher\Publish.py, line 171, in
> publish
>   File D:\Zope\23229D~1.3\lib\python\ZPublisher\mapply.py, line 160, in
> mapply
>     (Object: manage_importObject)
>   File D:\Zope\23229D~1.3\lib\python\ZPublisher\Publish.py, line 112, in
> call_object
>     (Object: manage_importObject)
>   File D:\Zope\23229D~1.3\lib\python\OFS\ObjectManager.py, line 563, in
> manage_importObject
>     (Object: ApplicationDefaultPermissions)
>   File D:\Zope\23229D~1.3\lib\python\ZODB\ExportImport.py, line 208, in
> importFile
> cPickle.UnpicklingError: (see above)
>
> Can someone point me in the right direction. Both servers have the same
> products installed.
>
> I found the same question in this mailing list a few times, but
> no answers.
>
> Tom
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>