<type 'exceptions.UnicodeEncodeError'> | Python 2.7.6: /usr/bin/python Mon Jan 12 03:46:40 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 (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)', '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 (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)', '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'/WikiKi\u015fiselSayfas\u0131', 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 character u'\u015f' in position 7: ordinal not in range(128)
args =
('ascii', u'/WikiKi\u015fiselSayfas\u0131', 7, 8, 'ordinal not in range(128)')
encoding =
'ascii'
end =
8
message =
''
object =
u'/WikiKi\u015fiselSayfas\u0131'
reason =
'ordinal not in range(128)'
start =
7