Hi, I want to transfer a Zope object by exporting it on the one Zopeserver and import it on another. Exporting worked fine but when I copied the resulting .zexp-File to the import-directory of the other Zopeinstallation and tried to import it I got the following error: Error Type: ImportError Error Value: No module named PerlMethod Any idea? Bye, Chris
On Tue, May 20, 2003 at 11:07:36AM +0200, Christian Schaefer wrote:
Hi,
I want to transfer a Zope object by exporting it on the one Zopeserver and import it on another. Exporting worked fine but when I copied the resulting .zexp-File to the import-directory of the other Zopeinstallation and tried to import it I got the following error:
Error Type: ImportError Error Value: No module named PerlMethod
Any idea?
That seems pretty obvious. You need to have the same Products installed on both Zopes. At least, you need any products that are used within the exported objects. In this case, you've apparently exported something that needs the PerlMethod module. I think the stuff you need is described here: http://www.zope.org/Wikis/zope-perl/FAQ -- Paul Winkler home: http://www.slinkp.com "Muppet Labs, where the future is made - today!"
Looks like you need to install PerlMethod on your importing server. Zope won't let you import objects that it doesn't have the Product code for. That's a bit of a hassle, but an entirely sane requirement. HTH, Dylan On Tue, 2003-05-20 at 02:07, Christian Schaefer wrote:
Hi,
I want to transfer a Zope object by exporting it on the one Zopeserver and import it on another. Exporting worked fine but when I copied the resulting .zexp-File to the import-directory of the other Zopeinstallation and tried to import it I got the following error:
Error Type: ImportError Error Value: No module named PerlMethod
Any idea?
Bye, Chris
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Christian Schaefer -
Dylan Reinhardt -
Paul Winkler