No errors displayed but i blank scren nstead.
rosuav at gmail.com
Thu Mar 28 15:58:15 CET 2013
On Fri, Mar 29, 2013 at 1:46 AM, Νίκος Γκρ33κ <nikos.gr33k at gmail.com> wrote:
> <!-- The above is a description of an error in a Python program, formatted
> for a Web browser because the 'cgitb' module was enabled. In case you
> are not reading this in a Web browser, here is the original traceback:
> Traceback (most recent call last):
> File "metrites.py", line 28, in <module>
> host = socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )
> File "/opt/python3/lib/python3.2/os.py", line 450, in __getitem__
> value = self._data[self.encodekey(key)]
> KeyError: b'REMOTE_ADDR'
Oh look, an exception traceback! In all this time of using Python,
Nikos, have you learned how to read these?
Very courteous of it to provide.
More information about the Python-list