<type 'exceptions.KeyError'> | Python 2.7.2: /home3/zenmagic/python/bin/python Tue Oct 15 18:18:22 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.
/home2/zenmagic/public_html/dropremy.py in |
32 |
33 # A nested FieldStorage instance holds the file |
=> 34 fileitem = form['file'] |
35 |
36 # Test if the file was uploaded |
fileitem = '', form = FieldStorage(None, None, []) |
/home3/zenmagic/python/lib/python2.7/cgi.py in __getitem__(self=FieldStorage(None, None, []), key='file') |
539 if item.name == key: found.append(item) |
540 if not found: |
=> 541 raise KeyError, key |
542 if len(found) == 1: |
543 return found[0] |
builtin KeyError = <type 'exceptions.KeyError'>, key = 'file' |
<type 'exceptions.KeyError'>: 'file'
args =
('file',)
message =
'file'