[ZODB-Dev] can't undo with FileStorage and ZEO

greg landrum drgergl@mindspring.com
Thu, 20 Dec 2001 06:45:56 -0800


It looks like either your PYTHONPATH is wrong or Zope is installed in the 
wrong directories.  ;-)

At 07:42 AM 12/20/2001 -0500, Andrew Sydelko wrote:
>Here's the traceback from when I added Zope/lib/python to
>the PYTHONPATH:
>
> >>> import sys
> >>> print sys.path
>['', '/data/www/Zope.6/lib/python2.1',
>'/data/www/Zope.6/lib/python2.1/plat-sunos5',
>'/data/www/Zope.6/lib/python2.1/lib-tk',
>'/data/www/Zope.6/lib/python2.1/lib-dynload',
>'/data/www/Zope.6/lib/python2.1/site-packages']

this path expects to find the Zope lib in /data/www/Zope.6/lib/python2.1

> >>> sys.path.append('.')
> >>> from App.Undo import Prefix
>Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/data/www/Zope.6/src/Zope-2.4.3-src/lib/python/App/Undo.py",
>line 90, in ?

This traceback indicates that Undo.py is coming from 
/data/www/Zope.6/src/Zope-2.4.3-src/lib/python, which is not in your path.

-greg

----
greg Landrum (greglandrum@earthlink.net)
Software Carpenter/Computational Chemist