| <type 'exceptions.KeyError'> | Python 2.5.2: /usr/bin/python Wed Sep 8 17:52:55 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/conv.cgi in |
| 75 mc.attributes["url"].value = url.encode('utf-8') |
| 76 doc.writexml(sys.stdout, encoding = 'utf-8') |
| 77 |
| 78 if __name__ == '__main__': |
| 79 main() |
| main = <function main at 0x97a320> |
| /home/jeff_allen/nella.org/jra/geek/captionate/conv.cgi in main() |
| 53 else: |
| 54 form = cgi.FieldStorage() |
| 55 feed = form["f"].value |
| 56 |
| 57 doc = parse(feed) |
| feed undefined, form = FieldStorage(None, None, []), ].value = [] |
| /usr/lib/python2.5/cgi.py in __getitem__(self=FieldStorage(None, None, []), key='f') |
| 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 = 'f' |
<type 'exceptions.KeyError'>: 'f'
args =
('f',)
message =
'f'