KeyError

rootshell at gazeta.pl rootshell at gazeta.pl
Wed Dec 15 14:33:41 CET 2004


Hello.
Maybe someone will help me with this KeyError:

............................
Traceback (most recent call last):
  File "C:\Python\tabla.py", line 929, in -toplevel-
    tablesDirectory = tablesDirectoryPrefix + os.environ['REMOTE_ADDR']
  File "C:\Python23\lib\os.py", line 417, in __getitem__
    return self.data[key.upper()]
KeyError: 'REMOTE_ADDR'
.......................... 


Thanks for reading this.
R.






More information about the Python-list mailing list