--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.3: /usr/bin/python
Tue Aug 14 09:26:44 2018

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/mti/public_html/projects/quiz/gift2json.py in ()
     33 form = cgi.FieldStorage()
     34 
=>   35 giftInput = form['giftin'].value
     36 quiz = GiftParser.parseGift(giftInput)
     37 
giftInput undefined, form = FieldStorage(None, None, []), ].value = []
 /usr/lib/python2.7/cgi.py in __getitem__(self=FieldStorage(None, None, []), key='giftin')
    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 = 'giftin'

<type 'exceptions.KeyError'>: 'giftin'
      args = ('giftin',)
      message = 'giftin'