<type 'exceptions.KeyError'> | Python 2.7.6: /usr/bin/python Sun Apr 28 23:50:44 2024 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/afs/csail.mit.edu/u/j/jbabb/public_html/hello3.py in |
12 print "Content-Type: text/plain\n\n" |
13 |
=> 14 orderString = form['order'].value |
15 desc = form['desc'].value |
16 |
orderString undefined, form = FieldStorage(None, None, []), ].value = [] |
/usr/lib/python2.7/cgi.py in __getitem__(self=FieldStorage(None, None, []), key='order') |
538 if item.name == key: found.append(item) |
539 if not found: |
=> 540 raise KeyError, key |
541 if len(found) == 1: |
542 return found[0] |
builtin KeyError = <type 'exceptions.KeyError'>, key = 'order' |
<type 'exceptions.KeyError'>: 'order'
args =
('order',)
message =
'order'