| <type 'exceptions.KeyError'> | Python 2.7.18: /usr/bin/python2.7 Wed Dec 31 17:47:19 2025 |
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/cgi-bin/geneDetail_get_sequence.py in <module>() |
| 42 |
| 43 DbPath = '/var/www/html/getfasta/blastdb/' |
| => 44 genome_db = DbPath + form["genome_db"].value |
| 45 gene_id = form["gene_id"].value |
| 46 gene_db = DbPath + form["gene_db"].value |
| genome_db undefined, DbPath = '/var/www/html/getfasta/blastdb/', form = FieldStorage(None, None, []), ].value = [] |
| /usr/lib/python2.7/cgi.py in __getitem__(self=FieldStorage(None, None, []), key='genome_db') |
| 544 if item.name == key: found.append(item) |
| 545 if not found: |
| => 546 raise KeyError, key |
| 547 if len(found) == 1: |
| 548 return found[0] |
| builtin KeyError = <type 'exceptions.KeyError'>, key = 'genome_db' |
<type 'exceptions.KeyError'>: 'genome_db'
args =
('genome_db',)
message =
'genome_db'