Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38660

Re: [2.4.3/Newbie] Web script doesn't run

References <67ehh8t2nkf0eiqge34fnc0q6r31g648qo@4ax.com> <a0fhh89f0u2rj24jtauneeddh246dhu576@4ax.com> <mailman.1633.1360578621.2939.python-list@python.org> <pmkhh8hva74m5h3571q2qk48p9eubh7v74@4ax.com>
Date 2013-02-11 22:30 +1100
Subject Re: [2.4.3/Newbie] Web script doesn't run
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1635.1360582248.2939.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, Feb 11, 2013 at 10:22 PM, Gilles <nospam@nospam.com> wrote:
> On Mon, 11 Feb 2013 21:30:12 +1100, Chris Angelico <rosuav@gmail.com>
> 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 somewhere.
>
> Good to know.
>
>>A question though. You say "2.4.3" in your subject line, but your
>>shebang says python2.6 - which version are you actually running?
>
> I didn't pay attention to this. Support says that I should use 2.6,
> but running "python -V" through SSH says 2.4.3. I'll ask support which
> to use.

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".

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[2.4.3/Newbie] Web script doesn't run Gilles <nospam@nospam.com> - 2013-02-11 10:30 +0100
  Re: [2.4.3/Newbie] Web script doesn't run Gilles <nospam@nospam.com> - 2013-02-11 10:39 +0100
    Re: [2.4.3/Newbie] Web script doesn't run Chris Angelico <rosuav@gmail.com> - 2013-02-11 21:30 +1100
      Re: [2.4.3/Newbie] Web script doesn't run Gilles <nospam@nospam.com> - 2013-02-11 12:22 +0100
        Re: [2.4.3/Newbie] Web script doesn't run Chris Angelico <rosuav@gmail.com> - 2013-02-11 22:30 +1100
          Re: [2.4.3/Newbie] Web script doesn't run Gilles <nospam@nospam.com> - 2013-02-11 12:36 +0100
            Re: [2.4.3/Newbie] Web script doesn't run Chris Angelico <rosuav@gmail.com> - 2013-02-11 22:42 +1100
              Re: [2.4.3/Newbie] Web script doesn't run Gilles <nospam@nospam.com> - 2013-02-11 13:04 +0100

csiph-web