Re: How to investigate web script not running?

2012-09-30 Thread Gilles
On Sat, 29 Sep 2012 10:05:25 -0700 (PDT), Ramchandra Apte maniandra...@gmail.com wrote: Definitely not plug 'n play :-/ Well the plug and play standard is superseded by USB practically. Indeed ;-) Anyway, Support finally got back to me, and it turns out that they have Flup alreay installed on

Re: How to investigate web script not running?

2012-09-29 Thread Ramchandra Apte
On Friday, 28 September 2012 18:45:41 UTC+5:30, Gilles wrote: On Fri, 28 Sep 2012 14:16:22 +0200, Michael Ross g...@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

How to investigate web script not running?

2012-09-28 Thread Gilles
Hello I'm trying to run my very first FastCGI script on an Apache shared host that relies on mod_fcgid: == #!/usr/bin/python from fcgi import WSGIServer import cgitb # enable debugging cgitb.enable() def myapp(environ, start_response): start_response('200 OK',

Re: How to investigate web script not running?

2012-09-28 Thread Gilles
On Fri, 28 Sep 2012 13:37:36 +0200, Gilles nos...@nospam.com wrote: == Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. == Looks like fcgi.py doesn't support WSGI: Traceback (most recent call

Re: How to investigate web script not running?

2012-09-28 Thread Michael Ross
On Fri, 28 Sep 2012 13:37:36 +0200, Gilles nos...@nospam.com wrote: Hello I'm trying to run my very first FastCGI script on an Apache shared host that relies on mod_fcgid: == #!/usr/bin/python from fcgi import WSGIServer import cgitb # enable debugging cgitb.enable() def

Re: How to investigate web script not running?

2012-09-28 Thread Gilles
On Fri, 28 Sep 2012 14:16:22 +0200, Michael Ross g...@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