-----Original Message----- From: Pavlos Christoforou [mailto:pavlos@gaaros.msrc.sunysb.edu] Sent: Friday, March 05, 1999 5:47 AM To: zope@zope.org Subject: [Zope] Plenty of problems. Please Help
Zopistas
I have encountered problems mainly associated with ZServer and ZAP:
I am using Zope-1.9.0 and the preconfigured Apache server to run my Zope site. Last night (a couple of hours ago!) I installed ZServer. It wouldn't run and I had to add the following to start.py to fix it:
I would suggest, first off, to use 1.10.2. ZServer is being developed against 1.10.2, and the latest Zap was tested and confirmed to work with it.
import sys,os sys.path.insert(0,os.path.join('..','lib','python'))
Yes, there were discussions on this in the list about this problem. Someone needs to go back, rassle up the discussion and submit it to the ZDP. Looks like you found the fix.
Later on upon entering the management screens I noticed that the id of the top level folder dissappeared which caused the paths to my objects to change. With ZAP (the preconfigured apache) I would visit: http://www.gaaros.com:8080/Gaaros/ to get to the top level directory but with ZServer is: http://www.gaaros.com:8080/ which spoils all kind of links that people have on my site.
Hm. Is your Zap .pcgi file named Garros or does your RewriteRule look for Garros and then call PCGI? If so that is why you need to use Garros to reach the server. ZServer can server right out of Zope and doesn't have this problem. Your description makes this sould like it is a production site, I would not suggest running ZServer on a production machine as it is alpha and still buggy.
Switching back to ZAP I got the following error:
<FONT SIZE="+2">Temporarily Unavailable</FONT> <P> The resource you requested is temporarily unavailable - please try again later. </TD> </TR> </TABLE> (102) failure during connect <!-- No such file or directory pcgi-wrapper-version 2.0a5 --> </BODY></HTML>
Seems like ZServer changed my root id from "Gaaros" to nothing.
This error comes from PCGI. It can't find your .cgi file so Zope isn't even being launched. Did your zap.conf file change (specificly the RewriteRule)?
I called PickleDictionary on Data.bbb directly from python but I could not even see the subobjects. BTW can the Zope Data.bbb be accessed directly from PickleDictionary??
You can open a Data.bbb file into a PickleDictionary, but you won't see anything useful unless you really know what your doing. The Database itself is not a Pickle, it is a database of Pickles. I have attached a small 5K script that will be released with 1.10.3 which paruses the database and generates reports. In the future we are intending it to translate the entire database into XML for transport. (Note, we do not intend to use XML as the db format)
Also trying to shut ZServer from the control-panel results in a core dump.
I suspect this is because you are using 1.9.0
Ok enough for now, its very late and I cannot think anymore.
If anybody has any clues about the root object id problem please let me know.
Thanks
Pavlos
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope