durusmail: quixote-users: missing SCRIPT_NAME
missing SCRIPT_NAME
2004-05-22
missing SCRIPT_NAME
Ksenia Marasanova
2004-05-21
I see this error in SCGI and Quixote logfiles a lot of times:

[2004-05-21 10:36:31] exception caught
Traceback (most recent call last):
   File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/quixote/publish.py", line 522, in
process_request    output = self.try_publish(request,
env.get('PATH_INFO', ''))
   File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/quixote/publish.py", line 444, in try_publish
     self.namespace_stack)
   File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/quixote/publish.py", line 674, in _traverse_url
     request.redirect(request.environ['SCRIPT_NAME'] + '/' ,
   File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/UserDict.py", line 19, in __getitem__
     def __getitem__(self, key): return self.data[key]
KeyError: 'SCRIPT_NAME'

What can be wrong?


Thanks,

Ksenia.



reply