[Zope] Re: Re: MemoryError exception when importing a zexp file

Jens Vagelpohl jens at dataflake.org
Thu May 31 09:30:49 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 31 May 2007, at 13:56, Ben Lobo wrote:
> Someone in this thread asked why I'm doing this export in the first  
> place: I
> want to import it back into zope but into a separate storage file  
> so that I
> can back it up separately from the main storage. Someone suggested  
> that I
> might be able to do it by copying the entire Data.fs file to the  
> new strage
> location, restarting zope and then deleting the bits that I don't want
> instead of exporting then importing.
>
> I tried this but it didn't work unfortunately. The new mount point  
> just
> appeared in the zmi root with a broken icon and gave me an  
> 'unsubscriptable
> object type error when I tried to access it.

Good that I asked. That's not a valid reason to do import/export.

As the other person mentioned, you should copy the database and do it  
that way. If you run into problems that way you need to post useful  
error messages (meaning, something better than "didn't work") and  
paste the full error traceback and all symptoms.

jens



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGXs4JRAx5nvEhZLIRAloCAJ92O4GoSGMDeMek0qKk/vEkdwkwawCdFle+
n+jnt5XauqI/JxsyG52zxdg=
=gZuZ
-----END PGP SIGNATURE-----


More information about the Zope mailing list