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 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 = <function script_name_fixer>, environ = {'CONTEXT_DOCUMENT_ROOT': '/srv/wiki.ubuntu-women.org/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/wiki.ubuntu-women.org/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'br,gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_HOST': 'wiki.ubuntu-women.org', ...}, start_response = <function start_response> |
/srv/wiki.ubuntu-women.org/moin.fcgi in script_name_fixer(env={'CONTEXT_DOCUMENT_ROOT': '/srv/wiki.ubuntu-women.org/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/wiki.ubuntu-women.org/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'br,gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_HOST': 'wiki.ubuntu-women.org', ...}, start=<function start_response>) |
67 def script_name_fixer(env, start):
|
68 env['SCRIPT_NAME'] = fix_script_name
|
=> 69 return app(env, start)
|
70 application = script_name_fixer
|
71
|
global app = <werkzeug.wsgi.SharedDataMiddleware object>, env = {'CONTEXT_DOCUMENT_ROOT': '/srv/wiki.ubuntu-women.org/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/wiki.ubuntu-women.org/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'br,gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_HOST': 'wiki.ubuntu-women.org', ...}, start = <function start_response> |
/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py in __call__(self=<werkzeug.wsgi.SharedDataMiddleware object>, environ={'CONTEXT_DOCUMENT_ROOT': '/srv/wiki.ubuntu-women.org/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/wiki.ubuntu-women.org/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'br,gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_HOST': 'wiki.ubuntu-women.org', ...}, 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'/Anic\xe9eGourgues', cleaned_path.encode = <built-in method encode of unicode object>, global sys = <module 'sys' (built-in)>, sys.getfilesystemencoding = <built-in function getfilesystemencoding> |