[ZODB-Dev] Error when running zeopack (zeopack.py) from command line ("ImportError: No module named ZEO.ClientStorage")

Ricardo Dias Marques lists at ricmarques.net
Fri Feb 17 11:20:42 UTC 2012


Hi all,

I'm getting an error when trying to run zeopack (zeopack.py) from the
command line. This is a Linux server running the following "Zope
Version": "Zope 2.10.9-final, python 2.4.6, linux2". The Plone version
is 3.3.1

The error message is "ImportError: No module named ZEO.ClientStorage".
Here's my attempt to run the command:

myhost:/soft/Plone/Zope-2.10.9-final-py2.4/lib/python/ZEO/scripts #
/soft/Plone/Python-2.4/bin/python
/soft/Plone/Zope-2.10.9-final-py2.4/lib/python/ZEO/scripts/zeopack.py
Traceback (most recent call last):
  File "/soft/Plone/Zope-2.10.9-final-py2.4/lib/python/ZEO/scripts/zeopack.py",
line 33, in ?
    from ZEO.ClientStorage import ClientStorage
ImportError: No module named ZEO.ClientStorage


I saw some threads about this error that suggested to set / expand the
PYTHONPATH environment variable. I did not have that PYTHONPATH
environment variable defined.  So, I tried to define that variable:

myhost:# export
PYTHONPATH=/soft/Plone/Zope-2.10.9-final-py2.4/lib/python/ZEO:/soft/Plone/Zope-2.10.9-final-py2.4/lib/python/ZEO/scripts

myhost:# env | grep -i pythonpath
PYTHONPATH=/soft/Plone/Zope-2.10.9-final-py2.4/lib/python/ZEO:/soft/Plone/Zope-2.10.9-final-py2.4/lib/python/ZEO/scripts


... but I still get the same "ImportError: No module named
ZEO.ClientStorage" error message when trying to run again the command,
event after having defined PYTHONPATH with the above values.  :(


Could anyone give me some tips / pointers to what I'm doing wrong /
should be doing instead, please?


Thanks in advance!  :)

Best wishes,
Ricardo Dias Marques
lists AT ricmarques DOT net
Identi.ca / Twitter: @ricmarques


More information about the ZODB-Dev mailing list