Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'output': 0.05; 'subject:Python': 0.06; 'attribute': 0.07; 'correct.': 0.07; 'append': 0.09; 'charset': 0.16; 'directive': 0.16; 'earlier.': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'subject:issue': 0.16; 'template,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'basically': 0.19; 'appears': 0.22; 'header:User- Agent:1': 0.23; 'error': 0.23; 'header:In-Reply-To:1': 0.27; 'michael': 0.29; 'thus': 0.29; 'have,': 0.30; 'code': 0.31; 'file': 0.32; 'there.': 0.32; 'run': 0.32; 'problem': 0.35; 'subject: (': 0.35; 'no,': 0.35; 'test': 0.35; 'there': 0.35; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'remove': 0.60; 'subject: ': 0.61; 'email addr:gmail.com': 0.63; '8bit%:92': 0.71; '8bit%:100': 0.72; '2013': 0.98 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Tue, 28 May 2013 12:19:21 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130105 Thunderbird/10.0.12 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Encodign issue in Python 3.3.1 (once again) References: <7823093c-2c07-4fa0-ae97-960c62f8ff9d@googlegroups.com> <69f5q8hkra42rvpfmbng4f0airgikqf5js@4ax.com> <9560d43f-8100-4914-9a71-c30ab479ec35@googlegroups.com> <0e3ef4e1-800f-40fc-8cdb-f9d1467266b0@googlegroups.com> In-Reply-To: <0e3ef4e1-800f-40fc-8cdb-f9d1467266b0@googlegroups.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369765168 news.xs4all.nl 15982 [2001:888:2000:d::a6]:53002 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46321 On 05/28/2013 12:08 PM, nagia.retsina@gmail.com wrote: > Τη Τρίτη, 28 Μαΐου 2013 8:17:05 μ.μ. UTC+3, ο χρήστης Michael Torrie > έγραψε: > >> Basically you want pelatologio.py to run and then you process the >> output through a template, correct? > > That is correct. > >> Inside pelatologio.py there is some object that you are trying to >> reference the "id" attribute on it does not contain id. So the >> problem is in pelatologio.py. Double check your code there. Try >> to make a standalone test file you can run locally. > > I have, i see no error, the error appears only when i append the > charset directive into the connector, if i remove it the error > dissapears. No, when you remove the charset directive your database call fails and thus things fail even earlier.