Hi, I have got a traceback in Pylons app. The strange thing is it is not displayed as other tracebacks in a pretty way, just ugly plain text http response. And the traceback itself gives little clue about what actually happened.
I am using Pylons 0.9.5 + Mako. Exception happened during processing of request from ('127.0.0.1', 40788) Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/httpserver.py", line 592, in process_request_in_thread self.finish_request(request, client_address) File "SocketServer.py", line 254, in finish_request self.RequestHandlerClass(request, client_address, self) File "SocketServer.py", line 521, in __init__ self.handle() File "/usr/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/httpserver.py", line 400, in handle BaseHTTPRequestHandler.handle(self) File "BaseHTTPServer.py", line 316, in handle self.handle_one_request() File "/usr/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/httpserver.py", line 395, in handle_one_request self.wsgi_execute() File "/usr/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/httpserver.py", line 266, in wsgi_execute self.wsgi_start_response) File "/usr/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/urlmap.py", line 202, in __call__ return app(environ, start_response) File "/usr/lib/python2.4/site-packages/PasteDeploy-1.3-py2.4.egg/paste/deploy/config.py", line 276, in __call__ return self.app(environ, start_response) File "/usr/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/debug/prints.py", line 97, in __call__ status, headers, body = wsgilib.intercept_output( File "/usr/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/wsgilib.py", line 539, in intercept_output app_iter = application(environ, replacement_start_response) File "/usr/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/cascade.py", line 92, in __call__ return self.apps[-1](environ, start_response) File "/usr/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/registry.py", line 327, in __call__ app_iter = self.application(environ, start_response) File "/usr/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/recursive.py", line 80, in __call__ return self.application(environ, start_response) File "/usr/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/errordocument.py", line 185, in __call__ app_iter = self.application(environ, change_response) File "/usr/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/evalexception/middleware.py", line 186, in __call__ return self.respond(environ, start_response) File "/usr/lib/python2.4/site-packages/Pylons-0.9.5-py2.4.egg/pylons/error.py", line 269, in respond return debug_info.content() File "/usr/lib/python2.4/site-packages/Pylons-0.9.5-py2.4.egg/pylons/error.py", line 308, in content result = formatter_(self.exc_value) File "/usr/lib/python2.4/site-packages/Pylons-0.9.5-py2.4.egg/pylons/error.py", line 288, in mako_html_data return mako.exceptions.html_error_template().render()[610:-16] File "/usr/lib/python2.4/site-packages/Mako-0.1.5-py2.4.egg/mako/template.py", line 109, in render return runtime._render(self, self.callable_, args, data) File "/usr/lib/python2.4/site-packages/Mako-0.1.5-py2.4.egg/mako/runtime.py", line 286, in _render _render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data)) File "/usr/lib/python2.4/site-packages/Mako-0.1.5-py2.4.egg/mako/runtime.py", line 303, in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File "/usr/lib/python2.4/site-packages/Mako-0.1.5-py2.4.egg/mako/runtime.py", line 336, in _exec_template callable_(context, *args, **kwargs) File "memory:-0x4ea1cd14", line 61, in render_body UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 41: ordinal not in range(128) ---------------------------------------- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---