On Fri, Nov 18, 2016 at 12:40 AM, Antonio Fregoso < [email protected]> wrote:
> > I installed turbogears in python3.5 whith mako templates and when I try to > run it under apache Turbogears it sends me the following error > > Thanks for reporting, how are you running it? Is it through mod_wsgi? Which version of apache and mod_wsgi? It seems the PATH is provided as bytes in violation with WSGI 3333 where it's stated it should be a "native string", so an unicode on Python 3.X: - "Native strings (which are always implemented using the type named str ) that are used for request/response headers and metadata" - "that CGI-defined variables must be native strings, if they are present at all. It is a violation of this specification for *any *CGI variable's value to be of any type other than str ." I wouldn't expect mod_wsgi doing something wrong as the WSGI proposal it's pretty much based on it, but it might be some old version. Are you doing anything particular to reproduce the issue or just starting the App and doing any request is enough? -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.

