[Zope] problem importing .zexp file

Dan Jacobs dan@danjacobs.com
Wed, 24 Jul 2002 00:03:09 +0100 (BST)


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