[Zope] Copy to another storage using APE

Dieter Maurer dieter at handshake.de
Tue Dec 7 14:35:52 EST 2004


Gabriel Genellina wrote at 2004-12-6 18:57 -0300:
>I'm trying to copy some objects from a FileStorage (data.fs) to another (a 
>file system storage using APE) but I always get this error
>
>File "C:\Archivos de 
>programa\ZopeServer\lib\python\Products\Ape\lib\apelib\zodb3\connection.py", 
>line 428, in identify
>   raise InvalidObjectReference, (ZODB.POSException.InvalidObjectReference: 
>Can't refer to <Folder instance at 017C2AD0>, located in Connection at 
>015ba8bc>, from <ApeConnection at 0173d03c>

You have to use the "OFS.CopySupport.CopySource._getCopy(destination)"
method to copy objects across storage boundaries.

-- 
Dieter


More information about the Zope mailing list