* paulc@passtheaardvark.com at '8/14/02 9:10 PM -0400' * * * I had a similar problem running under MacOSX 10.1.5 & tracked the problem * down to the FCGI test in the _startup function (fcgi.py:373) - this * checks whether stdin is actually a socket by attempting to call * getpeername() on the fd however for some reason the call appears to * behave strangely on OSX when running via CGI. The same problem occurs on Jaguar (build 6C106). Applying the patch works. * * PaulC * * **** fcgi.py.orig Wed Aug 14 21:03:03 2002 * --- fcgi.py Wed Aug 14 21:03:21 2002 **************** **** 376,381 **** * --- 376,387 ---- * if sys.platform[:3] == 'win': * _isFCGI = 0 * return * + # MacOSX returns ENOTCONN under CGI which prevents * + # the FCGI socket test working correctly so we * + # explicitly disable FCGI here * + if sys.platform == 'darwin': * + _isFCGI = 0 * + return * * _init = 1 * try: * -- richard offer @ home DSS 3072/1024 0x8AFBBFA3 84 FE 48 E4 74 D0 26 D4 31 8E B6 86 98 74 E2 7C 8A FB BF A3 _____________________________http://www.whitequeen.com/users/richard/