Quote: This version of Apache is totally great.
-- Dan Add quote.
--> -->
<type 'exceptions.KeyError'> | Python 2.7.5: /usr/local/bin/python Tue Mar 2 13:29:56 2021 |
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/wattersm/public_html/viewtag.py in main() |
17
|
18 input = cgi.FieldStorage()
|
=> 19 tagname = input['tag'].value
|
20
|
21 print "<script type='text/javascript'>"
|
tagname undefined, input = FieldStorage(None, None, []), ].value = [] |
/usr/lib64/python2.7/cgi.py in __getitem__(self=FieldStorage(None, None, []), key='tag') |
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 = 'tag' |
<type 'exceptions.KeyError'>: 'tag'
args =
('tag',)
message =
'tag'