| <type 'exceptions.KeyError'> | Python 2.5.2: /usr/bin/python Wed Sep 8 17:45:25 2010 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/jeff_allen/nella.org/jra/geek/captionate/caption.cgi in |
| 10 |
| 11 form = cgi.FieldStorage() |
| 12 img = form["i"].value |
| 13 |
| 14 if not img.startswith("http:"): |
| img undefined, form = FieldStorage(None, None, []), ].value = [] |
| /usr/lib/python2.5/cgi.py in __getitem__(self=FieldStorage(None, None, []), key='i') |
| 565 if item.name == key: found.append(item) |
| 566 if not found: |
| 567 raise KeyError, key |
| 568 if len(found) == 1: |
| 569 return found[0] |
| builtin KeyError = <type 'exceptions.KeyError'>, key = 'i' |
<type 'exceptions.KeyError'>: 'i'
args =
('i',)
message =
'i'