Re: [Zope] error with repozo.py
Guys, zope@zope.org is a *plain text* list, please stop posting html... Chris Martin Koekenberg wrote: 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 /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@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 ) ___ Zope maillist - Zope@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 ) -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@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 )
RE: [Zope] error with repozo.py
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 /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@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 ) ___ Zope maillist - Zope@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 )
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 FileStorageImportError: 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 correctyou have to set it to /lib/pythonjust startup the python interpreter and typeimport sys; sys.paththen it should print the path defined above, if not something is wrong What else can be wrong ? Regards, Martin Koekenberg ___Zope maillist - Zope@zope.orghttp://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 ) ___ Zope maillist - Zope@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 )