Error: The ZGadflyDA product must be installed
Hi guys, first ... I am really a newbie and this is the first time I am trying Zope seriously (and I think it is a great product!). I have installed Zope 2.6.1 from sources, together with Python 2.1.3 on my Linux RH 7.3 in the '/opt/zope/Zope-2.6.1-src' dir, and I am running it through this command: ./start -u zope -D -w 6666 -f 6621 -L 'it_IT' I am trying now to install a new Zope tutorial in the main folder, but once I put the tutorial Id, I get this error: Error Type: Bad Request Error Value: The ZGadflyDA product must be installed! Here is my sys.path, according to the debug information page: sys.path (consider that the directory /opt/zope/zope is a symbolic link to the original dir): /opt/zope/zope/lib/python /opt/zope/zope /opt/zope/zope /usr/local/lib/python2.1/lib-dynload /usr/local/lib/python2.1 /usr/local/lib/python2.1/plat-linux2 /usr/local/lib/python2.1/lib-tk /usr/local/lib/python2.1/site-packages I hope you can solve this problem. I am sure it is a simple thing ... it's just that it's hard to be discovered by a newbie. Ciao and thanks! -Gabriele -- Gabriele Bartolini - Web Programmer Comune di Prato - Prato - Tuscany - Italy g.bartol@comune.prato.it | http://www.comune.prato.it
find bin/laden -name osama -exec rm {} ;
I have installed Zope 2.6.1 from sources, together with Python 2.1.3 on my Linux RH 7.3 in the '/opt/zope/Zope-2.6.1-src' dir, and I am running it through this command:
I forgot to say that this problem appears only into 2.6.1 version. Indeed, by following the same steps I can make the 2.5.1 version's tutorial perfectly. Any hints? Ciao and thanks, -Gabriele -- Gabriele Bartolini - Web Programmer Comune di Prato - Prato - Tuscany - Italy g.bartol@comune.prato.it | http://www.comune.prato.it
find bin/laden -name osama -exec rm {} ;
I am trying now to install a new Zope tutorial in the main folder, but once I put the tutorial Id, I get this error:
Error Type: Bad Request Error Value: The ZGadflyDA product must be installed!
First things first: is Z Gadfly Database Connection available from the pulldown menu? is it in your Products folder (under the Control Panel)? And if it is notated as broken, what's the error? is there a ZGadlyDA directory under zope/lib/python/Products? do you get any errors on startup? --jcc
is Z Gadfly Database Connection available from the pulldown menu?
Yes
is it in your Products folder (under the Control Panel)?
Yes Here is the entry: ZGadflyDA (Installed product ZGadflyDA)
And if it is notated as broken, what's the error?
It is not notated as broken or at least I can't notice it.
is there a ZGadlyDA directory under zope/lib/python/Products?
Here the product of the 'ls' command in this directory: ExternalMethod MailHost PageTemplates Sessions StandardCacheManagers ZCatalog ZopeTutorial __init__.py MIMETools PluginIndexes SiteAccess TemporaryFolder ZCTextIndex ZSQLMethods __init__.pyc OFSP PythonScripts SiteErrorLog Transience ZGadflyDA Here is the content of the DABase.py DABase.pyc DA.py DA.pyc db.py db.pyc dtml gadfly icons __init__.py __init__.pyc README.txt Setup I gave a look at the README.txt file and it says: <snip> It automatically creates a 'gadfly' directory in your Zope var directory with a 'demo' subdirectory, which provides a demo database. <snip> I gave a look at the var/gadfly dir but it is empty (a problem of permissions? var has got the sticky bit on and it is owned by root). Any hints? Also, again, this problem does not occur with version 2.5.1. I follow the *same* steps and it work really well (the gadfly dir has got a demo dir with these two files: demo.gfd ELVIS_SIGHTINGS.grl). Well ... thanks a lot, -Gabriele -- Gabriele Bartolini - Web Programmer Comune di Prato - Prato - Tuscany - Italy g.bartol@comune.prato.it | http://www.comune.prato.it
find bin/laden -name osama -exec rm {} ;
I gave a look at the var/gadfly dir but it is empty (a problem of permissions? var has got the sticky bit on and it is owned by root).
Any hints?
Also, again, this problem does not occur with version 2.5.1. I follow the *same* steps and it work really well (the gadfly dir has got a demo dir with these two files: demo.gfd ELVIS_SIGHTINGS.grl).
May indeed be permissions. (Perhaps sticky bit not applied recursively?) Try var/gadfly owned by your Zope user. --jcc
May indeed be permissions. (Perhaps sticky bit not applied recursively?) Try var/gadfly owned by your Zope user.
I have tried this too. I lost any hope! :'-( I switched back to 2.5.1 for now and try to learn zope better. Are you sure it is not a bug in the 2.6.1 version for ZGadflyDA? Thanks. -Gabriele -- Gabriele Bartolini - Web Programmer Comune di Prato - Prato - Tuscany - Italy g.bartol@comune.prato.it | http://www.comune.prato.it
find bin/laden -name osama -exec rm {} ;
May indeed be permissions. (Perhaps sticky bit not applied recursively?) Try var/gadfly owned by your Zope user.
I have tried this too. I lost any hope! :'-( I switched back to 2.5.1 for now and try to learn zope better.
Are you sure it is not a bug in the 2.6.1 version for ZGadflyDA?
Could be, but It Works For Me. There may be something amiss with regards to how it was installed from source. Have you tried one of the precompiled binary distributions? Otherwise, I guess you can file an issue at the Collector. --jcc
Could be, but It Works For Me. There may be something amiss with regards to how it was installed from source. Have you tried one of the precompiled binary distributions?
I tried the binary distribution too. Just typed ./install
Otherwise, I guess you can file an issue at the Collector.
How can I do this? Sorry ... but I am new to Zope. :-) Thanks a lot JCC, -Gabriele -- Gabriele Bartolini - Web Programmer Comune di Prato - Prato - Tuscany - Italy g.bartol@comune.prato.it | http://www.comune.prato.it
find bin/laden -name osama -exec rm {} ;
Otherwise, I guess you can file an issue at the Collector.
How can I do this? Sorry ... but I am new to Zope. :-)
participants (2)
-
Gabriele Bartolini -
J Cameron Cooper