| KeyError | Python 3.2.2: /usr/local/bin/python3.2 Thu May 2 16:51:33 2013 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /grp/websites/visits.stsci.edu/cgi-bin/<stdin> in |
| /usr/local/Python_32/lib/python3.2/cgi.py in __getitem__(self=FieldStorage(None, None, []), key='id') |
| 573 if item.name == key: found.append(item) |
| 574 if not found: |
| => 575 raise KeyError(key) |
| 576 if len(found) == 1: |
| 577 return found[0] |
| builtin KeyError = <class 'KeyError'>, key = 'id' |
KeyError: 'id'
args =
('id',)
with_traceback =
<built-in method with_traceback of KeyError object>