[Zope] Zope 1 -> Zope2 import/export

Michel Pelletier michel@digicool.com
Sun, 23 May 1999 13:57:03 -0400


> -----Original Message-----
> From: Chad McDaniel [mailto:chadm@sgi.com]
> Sent: Friday, May 21, 1999 1:30 PM
> To: zope@zope.org
> Subject: [Zope] Zope 1 -> Zope2 import/export
> 
> 
> I tried to copy my new project to from Zope 1 to Zope 2, but Zope 2
> gives the error:
> ---
> <!--
> Traceback (innermost last):
>   File 
> /usr/people/chadm/work/Zope-2.0.0a1-src/lib/python/ZPublisher/
> Publish.py, line 255, in publish_module
>   File 
> /usr/people/chadm/work/Zope-2.0.0a1-src/lib/python/ZPublisher/
> Publish.py, line 161, in publish
>   File 
> /usr/people/chadm/work/Zope-2.0.0a1-src/lib/python/ZPublisher/
> mapply.py, line 154, in mapply
>     (Object: manage_importObject)
>   File 
> /usr/people/chadm/work/Zope-2.0.0a1-src/lib/python/ZPublisher/
> Publish.py, line 98, in call_object
>     (Object: manage_importObject)
>   File 
> /usr/people/chadm/work/Zope-2.0.0a1-src/lib/python/OFS/ObjectM
> anager.py, line 441, in manage_importObject
>     (Object: test)
>   File 
> /usr/people/chadm/work/Zope-2.0.0a1-src/lib/python/ZODB/Export
> Import.py, line 140, in importFile
> ExportError: Invalid export header
> 
> -->
> ---
> 
> has anyone managed to get this to work?
> -- 

Zope 2 uses ZODB3, which has a new database format.  Zope 1 databases
will not be compatable with it.  There will be a conversion script
supplied with (probably) the beta release of Zope 2.  Remember, 'alpha'
means 'on the bleeding edge'. ;)

-Michel

> -chad
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>