--> --> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Sat Nov 18 14:57:52 2017

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /var/www/lighttpd/dwcexcel/index.cgi in ()
     19 cgitb.enable()
     20 
=>   21 cookie = Cookie.SimpleCookie(os.environ["HTTP_COOKIE"])
     22 
     23 class Term:
cookie undefined, Cookie = <module 'Cookie' from '/usr/lib64/python2.7/Cookie.pyc'>, Cookie.SimpleCookie = <class 'Cookie.SimpleCookie'>, os = <module 'os' from '/usr/lib64/python2.7/os.pyc'>, os.environ = {'REDIRECT_STATUS': '200', 'SERVER_SOFTWARE': 'l... 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate'}
 /usr/lib64/python2.7/UserDict.py in __getitem__(self={'REDIRECT_STATUS': '200', 'SERVER_SOFTWARE': 'l... 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate'}, key='HTTP_COOKIE')
     21         if hasattr(self.__class__, "__missing__"):
     22             return self.__class__.__missing__(self, key)
=>   23         raise KeyError(key)
     24     def __setitem__(self, key, item): self.data[key] = item
     25     def __delitem__(self, key): del self.data[key]
builtin KeyError = <type 'exceptions.KeyError'>, key = 'HTTP_COOKIE'

<type 'exceptions.KeyError'>: 'HTTP_COOKIE'
      args = ('HTTP_COOKIE',)
      message = 'HTTP_COOKIE'