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

Paul Winkler pw_lists at slinkp.com
Thu May 31 11:07:39 EDT 2007


On Thu, May 31, 2007 at 09:55:26AM +0200, Sascha Welter wrote:
> ... Did you verify with plohn people (e.g. on a Plone
> mailing list) that current plone versions can be imported/exported?
> (Because the last time I made the mistake to do a project with
> plone you couldn't import/export a plone site -- or rename it, move it
> to another instance or anything similar for that matter -- without major
> pain. It's been a while though, so things could have changed.)

I spent several hours recently to import a .zexp of a Plone 2.0 site.
Got nowhere.

One suggestion I got (which I wasn't able to follow) was the
following.  If you have access to the original server, try this:

1) Make a full backup of the entire ZODB, eg. using repozo.py.
2) Set up a new Zope instance with all the same products installed,
using your new backup copy of the ZODB.
3) Go into the ZMI for this new instance, and delete everythign EXCEPT this
plone site.
4) Pack the database to get rid of all the other stuff.  Or make a new
clean backup.

There. You now have a Data.fs that contains only your Plone site.
Instead of importing the .zexp, just mount the database at the
appropriate path.

Disclaimer: I haven't tried this yet.

> Summary: Go and ask the plone people, if you can't import anyway, the
> whole exercise is in vain.

+1

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list