--> -->
 
 
KeyError
Python 3.5.3: /usr/bin/python3
Thu Jun 24 20:37:57 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/apache/positioning_service.py in ()
     80     form = cgi.FieldStorage()
     81     # Get filename and other parameters here.
=>   82     fileitem = form['filename']
     83     emailitem = form['email']
     84     treatmentitem = form['treatmentMode']
fileitem undefined, form = FieldStorage(None, None, [])
 /usr/lib/python3.5/cgi.py in __getitem__(self=FieldStorage(None, None, []), key='filename')
    602             if item.name == key: found.append(item)
    603         if not found:
=>  604             raise KeyError(key)
    605         if len(found) == 1:
    606             return found[0]
builtin KeyError = <class 'KeyError'>, key = 'filename'

KeyError: 'filename'
      args = ('filename',)
      with_traceback = <built-in method with_traceback of KeyError object>