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 = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/srv/storm.canonical.com/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/storm.canonical.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': 'handl_original_ref=https%3A%2F%2Fmicrochipusa.co...ndl_ip=13.59.129.141; organic_source_str=Internal', ...}, start_response = <function start_response> |
/srv/storm.canonical.com/moin.fcgi in script_name_fixer(env={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/srv/storm.canonical.com/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/storm.canonical.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': 'handl_original_ref=https%3A%2F%2Fmicrochipusa.co...ndl_ip=13.59.129.141; organic_source_str=Internal', ...}, start=<function start_response>) |
66 def script_name_fixer(env, start):
|
67 env['SCRIPT_NAME'] = fix_script_name
|
=> 68 return app(env, start)
|
69 application = script_name_fixer
|
70
|
global app = <werkzeug.wsgi.SharedDataMiddleware object>, env = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/srv/storm.canonical.com/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/storm.canonical.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': 'handl_original_ref=https%3A%2F%2Fmicrochipusa.co...ndl_ip=13.59.129.141; organic_source_str=Internal', ...}, start = <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': '/srv/storm.canonical.com/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/storm.canonical.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': 'handl_original_ref=https%3A%2F%2Fmicrochipusa.co...ndl_ip=13.59.129.141; organic_source_str=Internal', ...}, start_response=<function start_response>) |
764 break
|
765 if file_loader is None or not self.is_allowed(real_filename):
|
=> 766 return self.app(environ, start_response)
|
767
|
768 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': '/srv/storm.canonical.com/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/storm.canonical.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': 'handl_original_ref=https%3A%2F%2Fmicrochipusa.co...ndl_ip=13.59.129.141; organic_source_str=Internal', ...}, 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': '/srv/storm.canonical.com/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/storm.canonical.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': 'handl_original_ref=https%3A%2F%2Fmicrochipusa.co...ndl_ip=13.59.129.141; organic_source_str=Internal', ...}, 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 6498 bytes [200 OK]>, context=<AllContext ['AllContext']>, action_name='show') |
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'HelpIndex', action_name = 'show' |
/usr/lib/python2.7/dist-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page object>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0}) |
1430 format_args=pi['formatargs'],
|
1431 do_cache=do_cache,
|
=> 1432 start_line=pi['lines'])
|
1433
|
1434 # check for pending footnotes
|
start_line undefined, pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 5} |
/usr/lib/python2.7/dist-packages/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page object>, request=<AllContext ['AllContext']>, body=u'The following is a list of all available help pa...se see HelpContents.\n<<PageList(regex:^Help.*)>>\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 5}) |
1524 try:
|
1525 code = self.loadCache(request)
|
=> 1526 self.execute(request, parser, code)
|
1527 except Exception, e:
|
1528 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 0x7fcfacf64230, file "HelpIndex", 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 0x7fcfacf64230, file "HelpIndex", line 2>) |
1555 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
|
1556 try:
|
=> 1557 exec code
|
1558 except "CacheNeedsUpdate": # convert the exception
|
1559 raise Exception("CacheNeedsUpdate")
|
code = <code object <module> at 0x7fcfacf64230, file "HelpIndex", line 2> |
/usr/lib/python2.7/dist-packages/MoinMoin/formatter/__init__.py in macro(self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.macro.Macro instance>, name=u'PageList', args=u'regex:^Help.*', markup=u'<<PageList(regex:^Help.*)>>') |
308 # call the macro
|
309 try:
|
=> 310 return macro_obj.execute(name, args)
|
311 except ImportError, err:
|
312 errmsg = unicode(err)
|
macro_obj = <MoinMoin.macro.Macro instance>, macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance>>, name = u'PageList', args = u'regex:^Help.*' |