defnull/bottle — Issue #297: Error 500 if special non-ascii characters (i.e. "ä") are in the path to grademan
Author: polarwinkel
Created: 2012-03-07 19:16:15+00:00
State: open

Example output:

[..]
Exception:
UnicodeDecodeError(\'ascii\', \'/home/dirk/MeeGo/Daten/Gr\\xc3\\xa4deMan\', 25, 26, \'ordinal not in range(128)\')
Traceback:
[..]
Traceback (most recent call last):
File "/home/dirk/MeeGo/Daten/GrädeMan/bottle.py", line 663, in wsgi
out = self._cast(out, request, response)
File "/home/dirk/MeeGo/Daten/GrädeMan/bottle.py", line 618, in _cast
return self._cast(self.error_handler.get(out.status, repr)(out), request, response)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 951: ordinal not in range(128)