On Mon, 11 Feb 2013 22:42:50 +1100, Chris Angelico
wrote:
>It's entirely possible you have a third Python, a 3.x, as well.
>Different Pythons coexist quite happily on a system.
Thank for the help. I'm on my way to figure out how mod_fcgid, Flup,
and Python scripts work together.
--
http://mail.p
On Mon, Feb 11, 2013 at 10:36 PM, Gilles wrote:
> On Mon, 11 Feb 2013 22:30:45 +1100, Chris Angelico
> wrote:
>>Try running python2.6 -V
>>
>>Your shebang line says that it's looking for a program named
>>"python2.6", which is quite probably not the same as the one named
>>just "python".
>
> Inde
On Mon, 11 Feb 2013 22:30:45 +1100, Chris Angelico
wrote:
>Try running python2.6 -V
>
>Your shebang line says that it's looking for a program named
>"python2.6", which is quite probably not the same as the one named
>just "python".
Indeed, they have two versions of Python installed:
# python2.6
On Mon, Feb 11, 2013 at 10:22 PM, Gilles wrote:
> On Mon, 11 Feb 2013 21:30:12 +1100, Chris Angelico
> wrote:
>>That'll catch some forms of error, but not everything. You may also
>>want to consider looking for your server's error log - that may be
>>getting the actual traceback. I don't know wha
On Mon, 11 Feb 2013 21:30:12 +1100, Chris Angelico
wrote:
>That'll catch some forms of error, but not everything. You may also
>want to consider looking for your server's error log - that may be
>getting the actual traceback. I don't know what your server setup is,
>but there's likely to be one so
On Mon, Feb 11, 2013 at 8:39 PM, Gilles wrote:
> On Mon, 11 Feb 2013 10:30:01 +0100, Gilles wrote:
>> I have a couple of newbie questions about using Python in a FastCGI
>>+ Flup context on a shared CentOS server:
>
> Please ignore the thread. I found the error, and a way to catch
> compile
On Mon, 11 Feb 2013 10:30:01 +0100, Gilles wrote:
> I have a couple of newbie questions about using Python in a FastCGI
>+ Flup context on a shared CentOS server:
Please ignore the thread. I found the error, and a way to catch
compile-time errors (log on through SSH, and run "python
./myscr
Hello
I have a couple of newbie questions about using Python in a FastCGI
+ Flup context on a shared CentOS server:
1. The following script runs fine...
=
#!/usr/bin/env python2.6
def myapp(environ, start_response):
start_response('200 OK', [('Content-Type