[Zope] problem importing .zexp file
Jens Vagelpohl
jens@zope.com
Tue, 23 Jul 2002 19:41:51 -0400
you are missing the PythonMethod product.
successful imports rely on having all those python/zclas products present
in the target site that were installed on the source zope instance.
jens
On Tuesday, July 23, 2002, at 07:03 , Dan Jacobs wrote:
> Hi All,
>
> I am trying to import a .zexp file onto a zope install (2.5.1) from an old
> install which was running 2.3.2.
>
> When I try an import I get the following error
>
> Error Type: ImportError
> Error Value: No module named PythonMethod.PythonMethod
>
> with this traceback...
>
> Traceback (innermost last):
> File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 150, in
> publish_module
> File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 114, in
> publish
> File /usr/local/zope/lib/python/Zope/__init__.py, line 159, in
> zpublisher_exception_hook
> (Object: Zope)
> File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 98, in
> publish
> File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
> (Object: manage_importObject)
> File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 39, in
> call_object
> (Object: manage_importObject)
> File /usr/local/zope/lib/python/OFS/ObjectManager.py, line 526, in
> manage_importObject
> (Object: Zope)
> File /usr/local/zope/lib/python/OFS/ObjectManager.py, line 542, in
> _importObjectFromFile
> (Object: Zope)
> File /usr/local/zope/lib/python/ZODB/ExportImport.py, line 79, in
> importFile
> File /usr/local/zope/lib/python/ZODB/Transaction.py, line 234, in commit
> File /usr/local/zope/lib/python/ZODB/Connection.py, line 235, in commit
> File /usr/local/zope/lib/python/ZODB/ExportImport.py, line 148, in
> _importDuringCommit
> ImportError: (see above)
>
>
> any ideas?
>
>
> - Dan Jacobs
> - 07956 246 659
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )