[Zope] OK, I think I have a workaround to the pcgi problem....

2000-07-26 Thread Bill Anderson

I now have it working again.
 Steps I took
--

o Use the pcgi directory from 2.1.6 
o Put "PCGI_CLOSE_FDS=0" in Zope.pcgi 
o rerun w_pcgi.py

This seems to be working, though I haven't rebooted the machine


The real solution is that DC should fix the new pcgi 

I would like to know why all of a sudden, I need the PCGI_CLOSE_FDS=0 bit, especially.



--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] OK, I think I have a workaround to the pcgi problem....

2000-07-26 Thread Nick Garcia

Bill Anderson wrote:
 
 o Use the pcgi directory from 2.1.6
 o Put "PCGI_CLOSE_FDS=0" in Zope.pcgi
 o rerun w_pcgi.py
 
 This seems to be working, though I haven't rebooted the machine

Hmmm... I was just trying to get 2.2.0 working with PCGI yesterday and
couldn't get it working either.  These instructions got it up and
running, but now I'm seeing something a bit strange and I was wondering
if you were seeing the same thing.  If I go to a page that doesn't
exist, I get this error:

Error Type: NameError
Error Value: URL

!--
Traceback (innermost last):
  File /usr/local/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File /usr/local/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/local/Zope-2.2.0-src/lib/python/Zope/__init__.py, line 221,
in zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File /usr/local/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line
162, in publish
  File /usr/local/Zope-2.2.0-src/lib/python/ZPublisher/BaseRequest.py,
line 451, in traverse
NameError: (see above)

--

Is it just me?

-- 
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] OK, I think I have a workaround to the pcgi problem....

2000-07-26 Thread Nick Garcia

Nick Garcia wrote:
 
 Hmmm... I was just trying to get 2.2.0 working with PCGI yesterday and
 couldn't get it working either.  These instructions got it up and
 running, but now I'm seeing something a bit strange and I was wondering
 if you were seeing the same thing.  If I go to a page that doesn't
 exist, I get this error:
 
 Is it just me?

[Answering my own post]

It's not just me, and it only happens when you don't have an index_html
at the root and you try to access just the domain (try it, it's fun!).

I'll put this in the Collector.

-- 
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] OK, I think I have a workaround to the pcgi problem....

2000-07-26 Thread Bill Anderson

Nick Garcia wrote:
 
 Nick Garcia wrote:
 
  Hmmm... I was just trying to get 2.2.0 working with PCGI yesterday and
  couldn't get it working either.  These instructions got it up and
  running, but now I'm seeing something a bit strange and I was wondering
  if you were seeing the same thing.  If I go to a page that doesn't
  exist, I get this error:
 
  Is it just me?
 
 [Answering my own post]
 
 It's not just me, and it only happens when you don't have an index_html
 at the root and you try to access just the domain (try it, it's fun!).
 
 I'll put this in the Collector.


Yes. I had it and I figured it out this am too...
;^)

--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )