From: haaserd <ha...@ya...> - 2001-06-13 02:33:07
|
Hi, I am trying to get my first (old) application running under CGIWrapper. I am running Windows ME with Apache as a server. I have the 5.1 Webware download. I have copied the Hello.py program from the /Webware/CGIWrapper/Examples directory into my application script directory. When I run it, it says "Hello" correctly. After modifying Hello.py by adding the line a = 1 + 'a' to make it crash, I get the following output: ERROR Traceback (most recent call last): File "c:\PYTHON20\WEBWARE\CGIWRA~1\CGIWrapper.py", line 537, in main wrapper.serve() File "c:\PYTHON20\WEBWARE\CGIWRA~1\CGIWrapper.py", line 433, in serve self.handleException(sys.exc_info()) File "c:\PYTHON20\WEBWARE\CGIWRA~1\CGIWrapper.py", line 211, in handleException print self.htmlErrorPage(showDebugInfo=self.setting('ShowDebugInfoOnErrors')) File "c:\PYTHON20\WEBWARE\CGIWRA~1\CGIWrapper.py", line 251, in htmlErrorPage html.append(self.htmlDebugInfo()) File "c:\PYTHON20\WEBWARE\CGIWRA~1\CGIWrapper.py", line 265, in htmlDebugInfo html.extend([ File "c:\PYTHON20\WEBWARE\CGIWRA~1\CGIWrapper.py", line 496, in osIdTable funcs = [os.getegid, os.geteuid, os.getgid, os.getpgrp, os.getpid, os.getppid, os.getuid] AttributeError: 'os' module has no attribute 'getegid' I think os.getegid is a Unix only method. Is this a bug or have I missed an installation option somewhere? TIA, Roger Haase _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |