Encodign issue in Python 3.3.1 (once again)
nagia.retsina at gmail.com
nagia.retsina at gmail.com
Tue May 28 15:03:48 EDT 2013
Τη Τρίτη, 28 Μαΐου 2013 9:19:21 μ.μ. UTC+3, ο χρήστης Michael Torrie έγραψε:
> On 05/28/2013 12:08 PM, nagia.retsina at 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.
Yes, it does create issues.
i just tried to add it to metrites.py for testing and it breaks too.
https://github.com/petehunt/PyMySQL/issues/38
Switching back to MySQLdb.
More information about the Python-list
mailing list