There was an error on the page
Notes:
exception handling is your friend cgitb only works with current versions (>=2.3 ?) of Python
not even an except block can recover from a print without a closing quote - you'll get an error 500 from the server