How to investigate web script not running?

Gilles nospam at nospam.com
Fri Sep 28 09:15:40 EDT 2012


On Fri, 28 Sep 2012 14:16:22 +0200, "Michael Ross" <gmx at ross.cx>
wrote:
>Do it the other way around:
>
># cgitb before anything else
>import cgitb
>cgitb.enable()
>
># so this error will be caught
> from fcgi import WSGIServer

Thanks much for the tip. The error isn't displayed when calling the
script from a web browser but it is when running the script on a shell
account.

It looks like that newer version of fcgi.py doesn't include support
for WSGI, and I need some extra (Flup?) software to sit between
mod_fcgid and a WSGI Python application.

Definitely not plug 'n play :-/



More information about the Python-list mailing list