<type 'exceptions.UnicodeEncodeError'> | Python 2.7.6: /usr/bin/python Thu Jul 9 08:26:39 2015 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>) |
556 """Runs the handler, flushes the streams, and ends the request.""" |
557 try: |
=> 558 protocolStatus, appStatus = self.server.handler(self) |
559 except: |
560 traceback.print_exc(file=self.stderr) |
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object>> |
/usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>) |
1116 try: |
1117 try: |
=> 1118 result = self.application(environ, start_response) |
1119 try: |
1120 for data in result: |
result = None, self = <flup.server.fcgi.WSGIServer object>, self.application = <werkzeug.wsgi.SharedDataMiddleware object>, environ = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/usr/share/moin/server/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/webspace/wiki.libsdl.org', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_CONNECTION': 'close', 'HTTP_FROM': 'crawler@alexa.com', 'HTTP_HOST': 'wiki.libsdl.org', 'HTTP_USER_AGENT': 'ia_archiver', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', ...}, start_response = <function start_response> |
/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py in __call__(self=<werkzeug.wsgi.SharedDataMiddleware object>, environ={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/usr/share/moin/server/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/webspace/wiki.libsdl.org', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_CONNECTION': 'close', 'HTTP_FROM': 'crawler@alexa.com', 'HTTP_HOST': 'wiki.libsdl.org', 'HTTP_USER_AGENT': 'ia_archiver', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', ...}, start_response=<function start_response>) |
556 cleaned_path = get_path_info(environ) |
557 if PY2: |
=> 558 cleaned_path = cleaned_path.encode(sys.getfilesystemencoding()) |
559 # sanitize the path for non unix systems |
560 cleaned_path = cleaned_path.strip('/') |
cleaned_path = u'/\u05ea\u05d1\u05e0\u05d9\u05ea \u05d3\u05e3 \u05e8\u05d9\u05e7', cleaned_path.encode = <built-in method encode of unicode object>, global sys = <module 'sys' (built-in)>, sys.getfilesystemencoding = <built-in function getfilesystemencoding> |
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode characters in position 1-5: ordinal not in range(128)
args =
('ascii', u'/\u05ea\u05d1\u05e0\u05d9\u05ea \u05d3\u05e3 \u05e8\u05d9\u05e7', 1, 6, 'ordinal not in range(128)')
encoding =
'ascii'
end =
6
message =
''
object =
u'/\u05ea\u05d1\u05e0\u05d9\u05ea \u05d3\u05e3 \u05e8\u05d9\u05e7'
reason =
'ordinal not in range(128)'
start =
1