On 05/28/2013 12:08 PM, nagia.rets...@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. -- http://mail.python.org/mailman/listinfo/python-list