Database of Permutation Pattern Avoidance

--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.18: /usr/bin/python2.7
Sun Sep 14 09:24:24 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.

 /condor/deptweb/bridget/public_html/cgi-bin/dppa.cgi in <module>()
     73 formFields = cgi.FieldStorage()
     74 
=>   75 choice = formFields["choice"].value
     76 if choice is "1":
     77         print "<h3>Entries including the pattern(s) '" + formFields["search"].value + "'</h3>"
choice undefined, formFields = FieldStorage(None, None, []), ].value = []
 /usr/lib64/python2.7/cgi.py in __getitem__(self=FieldStorage(None, None, []), key='choice')
    548             if item.name == key: found.append(item)
    549         if not found:
=>  550             raise KeyError, key
    551         if len(found) == 1:
    552             return found[0]
builtin KeyError = <type 'exceptions.KeyError'>, key = 'choice'

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