import gadfly causes 500 Server Error -- anyone know how to fix?
Hamish Lawson
hamish_lawson at yahoo.co.uk
Sun Mar 10 11:34:45 EST 2002
> I discovered that adding the "import gadfly" statement results
> in:
>
> 500 Server Error
If you are using Python 2.2, you can make use of the now-standard
cgitb module to get a traceback report of the problem sent to your
browser. Put the following lines as early in the program as you can:
import cgitb
cgitb.enable()
Once you can see a fuller report of the problem you will be that much
closer to a solution.
For earlier versions of Python see http://web.lfw.org/python/ to get
hold of cgitb and instructions on how to deploy it.
Hamish Lawson
More information about the Python-list
mailing list