[Zope] error with repozo.py

Martin Koekenberg martin at digital-adventures.nl
Mon Mar 20 05:51:07 EST 2006


Hmm,

 

There could be something wrong.

 

I get this:

['', '/usr/lib/python23.zip', '/usr/lib/python2.3',
'/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk',
'/usr/lib/python2.3/lib-dynload', '/usr/lib/python2.3/site-packages',
'/usr/lib/python2.3/site-packages/PIL',
'/usr/lib/python2.3/site-packages/gtk-2.0']

 

How do I set the right path in Python ?

 

Regards,

 

Martin Koekenberg

  _____  

Van: zope-bounces at zope.org [mailto:zope-bounces at zope.org] Namens Bernd Dorn
Verzonden: maandag 20 maart 2006 8:49
Aan: [Zope] List Mailing
Onderwerp: Re: [Zope] error with repozo.py

 

 

On 20.03.2006, at 07:45, Martin Koekenberg wrote:





Hello,

 

I get an error when I want to create a backup with repozo.py. 

 

Traceback (most recent call last):

  File "./repozo.py", line 74, in ?

    from ZODB.FileStorage import FileStorage

ImportError: No module named ZODB.FileStorage

 

I already searched with google for a solution. I found that it could be a
problem with PYTHONPATH, but I've set this path already.

are you sure, looks as if the path is not correct

 

you have to set it to <your-zope-installation-directory>/lib/python

 

just startup the python interpreter and type

import sys; sys.path

 

then it should print the path defined above, if not something is wrong

 

 





 

What else can be wrong ?

 

Regards,

 

Martin Koekenberg

 

_______________________________________________

Zope maillist  -  Zope at zope.org

http://mail.zope.org/mailman/listinfo/zope

**   No cross posts or HTML encoding!  **

(Related lists - 

 http://mail.zope.org/mailman/listinfo/zope-announce

 http://mail.zope.org/mailman/listinfo/zope-dev )

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20060320/40880a70/attachment.htm


More information about the Zope mailing list