Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'url:pypi': 0.03; 'output': 0.04; 'python': 0.09; 'supported.': 0.09; 'subject:error': 0.11; 'subject:python': 0.11; '2.7': 0.13; 'received:your-server.de': 0.16; 'subject:when': 0.16; 'wrote:': 0.17; 'thu,': 0.17; 'please?': 0.22; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'supported': 0.26; 'correct': 0.28; '+0100,': 0.29; 'maybe': 0.29; 'error': 0.30; 'url:python': 0.32; 'to:addr :python-list': 0.33; 'url:org': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'help': 0.40; 'your': 0.60; 'back': 0.62; 'url:0': 0.67; '8bit%:100': 0.70; '8bit%:92': 0.70; '2013': 0.84 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: python-list@python.org Subject: Re: An error when i switched from python v2.6.6 => v3.2.3 References: <8e17232e-5b24-4040-9215-c4bd89f34fa2@googlegroups.com> <7bfe7117-d39d-48dc-9a6f-3d57484610a8@googlegroups.com> <213cf076-4163-44fd-a8b6-b25970da1bfa@googlegroups.com> Date: Thu, 07 Mar 2013 12:51:42 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Michael Ross" In-Reply-To: <213cf076-4163-44fd-a8b6-b25970da1bfa@googlegroups.com> User-Agent: Opera Mail/12.14 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.97.6/16797/Thu Mar 7 06:41:42 2013) 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: 37 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1362657111 news.xs4all.nl 6881 [2001:888:2000:d::a6]:53547 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40751 On Thu, 07 Mar 2013 12:27:03 +0100, =CE=9D=CE=AF=CE=BA=CE=BF=CF=82 =CE=93= =CE=BA=CF=8133=CE=BA = wrote: > =CE=A4=CE=B7 =CE=A0=CE=AD=CE=BC=CF=80=CF=84=CE=B7, 7 =CE=9C=CE=B1=CF=81= =CF=84=CE=AF=CE=BF=CF=85 2013 11:06:27 =CF=80.=CE=BC. UTC+2, =CE=BF =CF=87= =CF=81=CE=AE=CF=83=CF=84=CE=B7=CF=82 =CE=9D=CE=AF=CE=BA=CE=BF=CF=82 =CE=93= =CE=BA=CF=8133=CE=BA = > =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: >> Any ideas about the error please? >> >> >> >> I can assure you all the statemnt are correct ebcause they work in = >> python v2.6.6 > > can someone help this issue so my webiste will get back on working plz= ? MySQLdb is python 2 only. "MySQL-3.23 through 5.0 and Python-2.3 through 2.7 are currently = supported. Python-3.0 will be supported in a future release." Maybe try this one: https://pypi.python.org/pypi/mysql-connector-python/1.0.9 Alternatively, forget about subprocess.check_output, call your metrites.py with os.system('python metrites.py some-temp-file'= ) and have it write its output to some-temp-file, and read some-temp-file back into your template?