Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:: [': 0.03; 'subject:script': 0.09; '"python': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'gilles': 0.16; 'somewhere.': 0.16; 'ssh': 0.16; 'subject:run': 0.16; 'traceback.': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'subject:] ': 0.19; 'feb': 0.19; 'header:In-Reply-To:1': 0.25; 'question': 0.27; 'message- id:@mail.gmail.com': 0.27; 'subject:/': 0.28; 'actual': 0.28; 'chris': 0.28; 'though.': 0.29; 'probably': 0.29; 'this.': 0.29; 'error': 0.30; 'running': 0.32; 'says': 0.33; '11,': 0.33; 'to:addr:python-list': 0.33; 'know.': 0.33; 'likely': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'server': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'but': 0.36; "didn't": 0.36; "i'll": 0.36; 'should': 0.36; 'quite': 0.37; 'received:209': 0.37; 'some': 0.38; 'to:addr:python.org': 0.39; 'your': 0.60; 'subject': 0.66; 'attention': 0.75; '2013': 0.84; 'everything.': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=GlN5lrCwvL0GG8Ahl3Ix/rSbgMshd9BLJ0CiPWd/fP8=; b=VVIthwc5vJXedT8QfXSmUbIr1zx2jnP4Z/uYz+0/zR/Td3wvOzZjamuwqY1Xbi6nEk 7VS31p1rSpzJVK549buG6E3UmiCK+H/r/fOkIE63ajpSRL1fVnVA0TEfvPDHdDXMUP6j BApKfgnw/uCzXJvR4RgNowpTO1qMf6tXi6mpeHCtrfzWlaobUBiE+Xq2Ul2HrTf/XQkW CkaPSDpri28rpwHjM0FekVW1/k6nmBETBpDrRGF3CTgwoSVQ7VBIu7Af58ue2c8yyabm WkdN/RM+eet+EiuEb5+iIqQzBhBQ0zJpZzlReLb2yFi+uVmIkTQNYHYRuXeaOsJQFdTv W1tg== MIME-Version: 1.0 X-Received: by 10.220.150.136 with SMTP id y8mr18159193vcv.34.1360582245525; Mon, 11 Feb 2013 03:30:45 -0800 (PST) In-Reply-To: References: <67ehh8t2nkf0eiqge34fnc0q6r31g648qo@4ax.com> Date: Mon, 11 Feb 2013 22:30:45 +1100 Subject: Re: [2.4.3/Newbie] Web script doesn't run From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360582248 news.xs4all.nl 6861 [2001:888:2000:d::a6]:32995 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38660 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 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