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 = <werkzeug.wsgi.SharedDataMiddleware object>, environ = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/usr/share/moin/server/moin.fcgi', 'CONTEXT_PREFIX': '/wiki', 'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': '1c2c.cz', ...}, 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': '/wiki', 'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': '1c2c.cz', ...}, start_response=<function start_response>) |
586 break
|
587 if file_loader is None or not self.is_allowed(real_filename):
|
=> 588 return self.app(environ, start_response)
|
589
|
590 guessed_type = mimetypes.guess_type(real_filename)
|
self = <werkzeug.wsgi.SharedDataMiddleware object>, self.app = <MoinMoin.wsgiapp.Application object>, environ = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/usr/share/moin/server/moin.fcgi', 'CONTEXT_PREFIX': '/wiki', 'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': '1c2c.cz', ...}, start_response = <function start_response> |
/usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in __call__(self=<MoinMoin.wsgiapp.Application object>, environ={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/usr/share/moin/server/moin.fcgi', 'CONTEXT_PREFIX': '/wiki', 'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': '1c2c.cz', ...}, start_response=<function start_response>) |
262 context = init(request)
|
263 try:
|
=> 264 response = run(context)
|
265 finally:
|
266 context.clock.stop('total')
|
response undefined, global run = <function run>, context = <AllContext ['AllContext']> |
/usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in dispatch(request=<AppRequest 3387 bytes [200 OK]>, context=<AllContext ['AllContext']>, action_name=u'edit') |
135 # 2. handle action
|
136 else:
|
=> 137 response = handle_action(context, pagename, action_name)
|
138 if isinstance(response, Context):
|
139 response = response.request
|
response undefined, global handle_action = <function handle_action>, context = <AllContext ['AllContext']>, pagename = u'ChybejiciStranka', action_name = u'edit' |
/usr/lib/python2.7/dist-packages/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page object>, request=<AllContext ['AllContext']>, body=u'Nem\xe1te dovoleno editovat tuto str\xe1nku.', format='wiki', format_args='', do_cache=1, **kw={'start_line': 0}) |
1424 try:
|
1425 code = self.loadCache(request)
|
=> 1426 self.execute(request, parser, code)
|
1427 except Exception, e:
|
1428 if not is_cache_exception(e):
|
self = <MoinMoin.Page.Page object>, self.execute = <bound method Page.execute of <MoinMoin.Page.Page object>>, request = <AllContext ['AllContext']>, parser = <MoinMoin.parser.text_moin_wiki.Parser instance>, code = <code object <module> at 0x7fa084b117b0, file "ChybejiciStranka", line 2> |
/usr/lib/python2.7/dist-packages/MoinMoin/Page.py in execute(self=<MoinMoin.Page.Page object>, request=<AllContext ['AllContext']>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>, code=<code object <module> at 0x7fa084b117b0, file "ChybejiciStranka", line 2>) |
1455 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
|
1456 try:
|
=> 1457 exec code
|
1458 except "CacheNeedsUpdate": # convert the exception
|
1459 raise Exception("CacheNeedsUpdate")
|
code = <code object <module> at 0x7fa084b117b0, file "ChybejiciStranka", line 2> |