<type 'exceptions.KeyError'> | Python 2.7.5: /usr/bin/python Fri Sep 6 20:23:46 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.
/var/www/html/cancer/cgi-bin/submitcancer.cgi in |
42 hg38 = bool(HG38_KEY in HTMLForm) |
43 |
=> 44 queryStrings = str(HTMLForm['filename'].value.strip()) |
45 if len(queryStrings) > 0 : |
46 runType = VCF_TYPE |
queryStrings undefined, builtin str = <type 'str'>, HTMLForm = FieldStorage(None, None, []), ].value = [], ].value.strip undefined |
/usr/lib64/python2.7/cgi.py in __getitem__(self=FieldStorage(None, None, []), key='filename') |
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 = 'filename' |
<type 'exceptions.KeyError'>: 'filename'
args =
('filename',)
message =
'filename'