Hi,all sorry for my english.
When I visit an url of my web app, I've this error in the Apache log:
[Wed Jun 23 02:20:23 2010] [error] [client 85.17.222.10] mod_wsgi
(pid=7240): Exception occurred processing WSGI script '/home/francesco/
reg/wsgi/dispatch.wsgi'.
[Wed Jun 23 02:20:23 2010] [error] [client 85.17.222.10] TypeError:
sequence of string values expected, value of type literal found
The errors are present only in controllers that returns a mako
template, for example:
def index(environ,start_response):
start_response('200 OK', [('Content-type','text/html')])
c.contentTitle='Pagina di registrazione'
html=render('/registration.html')
return html
Its appears to be related with UTF encondig.
Anyone have an idea to fix this problem?
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.