Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.unit0.net!news2.euro.net!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.018 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; "subject:' ": 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:type': 0.16; 'wrote:': 0.18; 'python?': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'denied': 0.24; 'url:moin': 0.24; 'script': 0.25; 'permission': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'subject:) ': 0.29; 'url:wiki': 0.31; 'file': 0.32; 'open': 0.33; 'url:python': 0.33; 'could': 0.34; 'url:org': 0.36; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'read': 0.60; "you're": 0.61; 'here': 0.66; 'webpage': 0.68; 'failure:': 0.84; 'premature': 0.84; 'skip:/ 30': 0.84; 'received:89': 0.85; 'browser:': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: TypeError: unsupported operand type(s) for %: 'NoneType' and 'tuple' Date: Sun, 26 May 2013 17:45:42 +0100 References: <7d1d3a51-6f83-4a4e-9083-c60c581af4f1@googlegroups.com> <6cb9f223-d114-40aa-bf13-314b65c327b7@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: host-89-240-174-199.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <6cb9f223-d114-40aa-bf13-314b65c327b7@googlegroups.com> X-Antivirus: avast! (VPS 130526-0, 26/05/2013), Outbound message X-Antivirus-Status: Clean 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369587005 news.xs4all.nl 15958 [2001:888:2000:d::a6]:45276 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46085 On 26/05/2013 17:10, Νίκος Γκρ33κ wrote: > Here is the live error log coming form apacher when i request the webpage form browser: > > ==> /usr/local/apache/logs/error_log <== > [Sun May 26 19:07:41 2013] [error] [client 46.12.46.11] suexec failure: could not open log file > [Sun May 26 19:07:41 2013] [error] [client 46.12.46.11] fopen: Permission denied > [Sun May 26 19:07:41 2013] [error] [client 46.12.46.11] fopen: Permission denied > [Sun May 26 19:07:41 2013] [error] [client 46.12.46.11] Premature end of script headers: koukos.py > [Sun May 26 19:07:41 2013] [error] [client 46.12.46.11] Premature end of script headers: koukos.py > > what is that suexec? > What has this got to do with Python? -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence