[Twisted-web] twisted-web2 demo.py 'GATEWAY_INTERFACE' error
Lenny G Arbage
alengarbage at yahoo.com
Tue May 2 16:44:03 CDT 2006
I just downloaded the latest web2 (0.1.0) and tried to
run the demo:
> python demo.py
Traceback (most recent call last):
File "demo.py", line 156, in ?
line 272, in startCGI
line 231, in __init__
File "/usr/lib/python2.4/UserDict.py", line 17, in
def __getitem__(self, key): return self.data[key]
I don't see others reporting the same problem, so I
must be doing something silly. After looking through
cgichannel.py, it appears that I'm supposed to have a
"GATEWAY_INTERFACE" defined in my environment.
Looking at parseVersion in http.py, it is apparent
that this env variable needs to be of the format
"something/somethingelse," but I have no idea what...
(I can't seem to get demo.py to run through twistd,
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Twisted-web