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
TypeError: Note must be text (unicode)
__call__
response = self.wrapped_dispatch(controller, environ, context)
__call__
resp = self.next_handler(controller, environ, context)
__call__
reraise(*exc_info)
__call__
t.note(environ.get('PATH_INFO', ''))
note
raise TypeError("Note must be text (unicode)")
Thank you in advance for your help :-)
__call__
response = self.wrapped_dispatch(controller, environ, context)
__call__
resp = self.next_handler(controller, environ, context)
__call__
reraise(*exc_info)
__call__
t.note(environ.get('PATH_INFO', ''))
note
raise TypeError("Note must be text (unicode)")
TypeError: Note must be text (unicode)
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
--
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 turbogears+unsubscribe@googlegroups.com.
To post to this group, send email to turbo...@googlegroups.com.
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.
While I still need to investigate why the webserver provides PATH_INFO as bytes.The issue itself can be solved by downgrading "transaction" module to 2.0.2, this was a check introduced in 2.0.3 and practically the only change, so downgrading transaction module will fix the issue while retaining same features.
On Fri, Nov 25, 2016 at 8:15 AM, Raj <www.r...@gmail.com> wrote:
The same error is appearing in a newly quickstarted project also.Using Python 2.7 on Ununtu.
On Wednesday, November 23, 2016 at 8:54:45 AM UTC+5:30, Antonio Fregoso wrote:
Tanks Allessandro:
The server is virtual Ubuntu 16 on Amazon with Apache2. I tried on a virtual server siimilar on my laptop and had the same problem.
Reinstall the previous version of TurboGears and it worked without problems.
Regards
--
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 turbogears+...@googlegroups.com.
Thanks Alessandro :-)
Thanks Alessandro :-)
--
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 turbogears+unsubscribe@googlegroups.com.
Thank you very much Alessandro.
I already tested it and it works perfectly.
Greetings from Mexico