Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38657
| Path | csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'context': 0.05; 'newbie': 0.05; 'compile-time': 0.07; 'python': 0.09; 'confuse': 0.09; 'server:': 0.09; 'subject:script': 0.09; 'ignore': 0.13; '"python': 0.16; '(named': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'gilles': 0.16; 'least,': 0.16; 'somewhere.': 0.16; 'ssh,': 0.16; 'subject:run': 0.16; 'test".': 0.16; 'thread.': 0.16; 'traceback.': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'subject:] ': 0.19; 'feb': 0.19; "i'd": 0.22; 'errors': 0.23; 'script': 0.24; 'header:In-Reply-To:1': 0.25; '(which': 0.26; 'guess': 0.27; 'question': 0.27; 'message-id:@mail.gmail.com': 0.27; 'subject:/': 0.28; 'actual': 0.28; 'run': 0.28; '+0100,': 0.29; 'cgi': 0.29; 'though.': 0.29; 'error': 0.30; 'getting': 0.33; 'says': 0.33; '11,': 0.33; 'to:addr:python-list': 0.33; 'likely': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'server': 0.35; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'uses': 0.37; 'quite': 0.37; 'received:209': 0.37; 'some': 0.38; 'to:addr:python.org': 0.39; 'your': 0.60; "you'll": 0.62; 'between': 0.63; 'subject': 0.66; 'yourself': 0.77; '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=elzyelrz9m/MLlrClFUVUNYWAg7s5+NA0Ii4kZNjXjE=; b=spd7TChtKfLYI8fv1dE1/mZSa+gHnv+tT9+6YE8ZCY4vVabazW6ftlSaOt595neJji U2IjS5kCfrrzVnDQ/U7Xf58ZHehDffA/rWijexaja97wRMC9Cpa8/Z1BO6UqB+DkD4je 4LytCmOHqBfm2xMoCShFCKLI0Kj2O/LcmW9B4aocEVp4p3rNnxN/aojcUc4O9QhprWwF NE6cyd8OS/Ea/lSyIxS1xQjjGCoAcABqfJJo/+VX08k7szH248bXXwHeNzOIWkHd9eUR uT8F6ODoEMQ1mcXKcfRkplO1wS2q+OiuNR0dK8LoY/hZkoaKgE2YLyneRNeGBXA2oMmo Yh5g== |
| MIME-Version | 1.0 |
| X-Received | by 10.52.22.194 with SMTP id g2mr15788930vdf.91.1360578612457; Mon, 11 Feb 2013 02:30:12 -0800 (PST) |
| In-Reply-To | <a0fhh89f0u2rj24jtauneeddh246dhu576@4ax.com> |
| References | <67ehh8t2nkf0eiqge34fnc0q6r31g648qo@4ax.com> <a0fhh89f0u2rj24jtauneeddh246dhu576@4ax.com> |
| Date | Mon, 11 Feb 2013 21:30:12 +1100 |
| Subject | Re: [2.4.3/Newbie] Web script doesn't run |
| From | Chris Angelico <rosuav@gmail.com> |
| 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 <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1633.1360578621.2939.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1360578621 news.xs4all.nl 6888 [2001:888:2000:d::a6]:35841 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:38657 |
Show key headers only | View raw
On Mon, Feb 11, 2013 at 8:39 PM, Gilles <nospam@nospam.com> wrote: > On Mon, 11 Feb 2013 10:30:01 +0100, Gilles <nospam@nospam.com> 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 > ./myscript.py"). 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. A question though. You say "2.4.3" in your subject line, but your shebang says python2.6 - which version are you actually running? At very least, I'd recommend using python2.6 to run your script from the shell; if there's any incompatibility between the system Python (which quite plausibly would be the 2.4.3 you named) and the one your CGI script uses (named python2.6 and my guess would be that it's 2.6.6), you'll confuse yourself when you do your "shell test". ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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