[Zope] Re: error with repozo.py

Tres Seaver tseaver at palladion.com
Mon Mar 20 08:19:49 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Koekenberg wrote:

> What else can be wrong ?

Just guessing, but could it be that you have not "exported" the
PYTHONPATH variable?  E.g.:

Without exporting:

 $ PYTHONPATH="/foo"
 $ python -c "import sys; print sys.path"
 ['', '/usr/lib/python24.zip', '/usr/lib/python2.4',
  ...
  '/usr/lib/python2.4/site-packages/gtk-2.0']

Setting on the command line:

 $ PYTHONPATH="/bar" python -c "import sys; print sys.path"
 ['', '/bar', '/usr/lib/python24.zip', '/usr/lib/python2.4',
 ...
 '/usr/lib/python2.4/site-packages/gtk-2.0']

Exporting:

 $ export PYTHONPATH
 $ python -c "import sys; print sys.path"
 ['', '/foo', '/usr/lib/python24.zip', '/usr/lib/python2.4',
  ...
  '/usr/lib/python2.4/site-packages/gtk-2.0']



Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEHqv1+gerLs4ltQ4RAgP0AKCkLty9VOODcttERF7Dqtt9201vvgCfc6JZ
EDK+lMzz33NVr9p8HFc+81w=
=yvH+
-----END PGP SIGNATURE-----



More information about the Zope mailing list