| <type 'exceptions.KeyError'> | Python 2.5.2: /usr/bin/python Mon May 21 20:08:26 2012 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /usr/home/wattersm/public_html/view.py in |
| 10 |
| 11 input = cgi.FieldStorage() |
| 12 id = input['article_id'].value |
| 13 |
| 14 common.content_type() |
| builtin id = <built-in function id>, input = FieldStorage(None, None, []), ].value = [] |
| /usr/lib/python2.5/cgi.py in __getitem__(self=FieldStorage(None, None, []), key='article_id') |
| 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 = 'article_id' |
<type 'exceptions.KeyError'>: 'article_id'
args =
('article_id',)
message =
'article_id'