[Zope] Puzzling Import/Export problem

Dieter Maurer dieter at handshake.de
Mon Jul 25 13:57:47 EDT 2005


Jim Washington wrote at 2005-7-23 16:09 -0400:
>He is attempting to copy an installation from one machine to another, 
>and upgrade Zope to 2.6.4.
>
>Exporting the product and instances works fine, but some object 
>instances will not import correctly.

Usually, it is much safer to just copy the storage file(s).

Export/Import is known to fail with ZClasses that inherit
from other ZClasses defined in a different product (which probably
is not your case).

>A product instance is a folderish object that contains other objects.  
>One particular folderish subobject will not import correctly; all the 
>others import fine.  The .zexp of the entire product instance, with 
>subitems, etc., imports OK, but the one folderish object shows up as 
>"broken" in the ZMI.

This usually means that its class could not be imported.

Have a look at Zope's "ClassFactory" and check why it is unable
to import/load the ZClass.

-- 
Dieter


More information about the Zope mailing list