pylons==0.9.7rc4 mako==0.2.3 i got "Internal Server Error" and no traceback ! details:
in my controller : def test(self) c.profil = model.Session.query(model.User) return render('test.mak') in mako file test.mak: ... ${c.profil.count()} ... and it works fine, but when i send wrong query, i get ONLY (inappropriate traceback): File "build/bdist.linux-i686/egg/webob/__init__.py", line 1275, in call_application File "/usr/lib/python2.5/site-packages/WebError-0.9.1-py2.5.egg/ weberror/evalexception.py", line 235, in __call__ return self.respond(environ, start_response) File "/usr/lib/python2.5/site-packages/WebError-0.9.1-py2.5.egg/ weberror/evalexception.py", line 480, in respond return debug_info.content() File "/usr/lib/python2.5/site-packages/WebError-0.9.1-py2.5.egg/ weberror/evalexception.py", line 542, in content result = tmpl_formatter(self.exc_value) File "/usr/lib/python2.5/site-packages/Pylons-0.9.7rc4-py2.5.egg/ pylons/error.py", line 43, in mako_html_data css=False) File "/usr/lib/python2.5/site-packages/Mako-0.2.3-py2.5.egg/mako/ template.py", line 133, in render return runtime._render(self, self.callable_, args, data) File "/usr/lib/python2.5/site-packages/Mako-0.2.3-py2.5.egg/mako/ runtime.py", line 347, in _render _render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data)) File "/usr/lib/python2.5/site-packages/Mako-0.2.3-py2.5.egg/mako/ runtime.py", line 364, in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File "/usr/lib/python2.5/site-packages/Mako-0.2.3-py2.5.egg/mako/ runtime.py", line 397, in _exec_template callable_(context, *args, **kwargs) File "memory:0x906088c", line 66, in render_body UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 20: ordinal not in range(128) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en -~----------~----~----~----~------~----~------~--~---