<type 'exceptions.IndexError'>
Python 2.7.17: /usr/bin/python
Sun Dec 22 06:48:40 2024

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 = <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_HOST': 'storm.canonical.com', ...}, 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_HOST': 'storm.canonical.com', ...}, 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_HOST': 'storm.canonical.com', ...}, 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_HOST': 'storm.canonical.com', ...}, 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_HOST': 'storm.canonical.com', ...}, 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_HOST': 'storm.canonical.com', ...}, 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 run(context=<AllContext ['AllContext']>)
     87                 response = xmlrpc.xmlrpc2(XMLRPCContext(request))
     88             else:
=>   89                 response = dispatch(request, context, action_name)
     90             context.cfg.session_service.finalize(context, context.session)
     91             return response
response undefined, global dispatch = <function dispatch>, request = <AppRequest 6168 bytes [200 OK]>, context = <AllContext ['AllContext']>, action_name = 'show'
 /usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in dispatch(request=<AppRequest 6168 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'CategoryTemplate', action_name = 'show'
 /usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in handle_action(context=<AllContext ['AllContext']>, pagename=u'CategoryTemplate', action_name='show')
    201             context.page.send_page()
    202         else:
=>  203             handler(context.page.page_name, context)
    204 
    205     return context
handler = <function do_show>, context = <AllContext ['AllContext']>, context.page = <MoinMoin.Page.Page object>, context.page.page_name = u'CategoryTemplate'
 /usr/lib/python2.7/dist-packages/MoinMoin/action/__init__.py in do_show(pagename=u'CategoryTemplate', request=<AllContext ['AllContext']>, content_only=0, count_hit=1, cacheable=1, print_mode=0, mimetype=u'text/html')
    266             count_hit=count_hit,
    267             print_mode=print_mode,
=>  268             content_only=content_only,
    269         )
    270 
content_only = 0
 /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': 4}
 /usr/lib/python2.7/dist-packages/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page object>, request=<AllContext ['AllContext']>, body=u'\nDescribe the pages in this category... \n\nTo add...Cached(category:@PAGE@)>>\n\n----\nCategoryCategory\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 4})
   1529                     raise
   1530                 try:
=> 1531                     code = self.makeCache(request, parser)
   1532                     self.execute(request, parser, code)
   1533                 except Exception, e:
code = <code object <module> at 0x7fec3d22f8b0, file "CategoryTemplate", line 2>, self = <MoinMoin.Page.Page object>, self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page object>>, request = <AllContext ['AllContext']>, parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
 /usr/lib/python2.7/dist-packages/MoinMoin/Page.py in makeCache(self=<MoinMoin.Page.Page object>, request=<AllContext ['AllContext']>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>)
   1589         saved_current_lang = request.current_lang
   1590         try:
=> 1591             text = request.redirectedOutput(parser.format, formatter)
   1592         finally:
   1593             request.current_lang = saved_current_lang
text undefined, request = <AllContext ['AllContext']>, request.redirectedOutput = <bound method AllContext.redirectedOutput of <AllContext ['AllContext']>>, parser = <MoinMoin.parser.text_moin_wiki.Parser instance>, parser.format = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance>>, formatter = <MoinMoin.formatter.text_python.Formatter instance>
 /usr/lib/python2.7/dist-packages/MoinMoin/web/contexts.py in redirectedOutput(self=<AllContext ['AllContext']>, function=<bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance>>, *args=(<MoinMoin.formatter.text_python.Formatter instance>,), **kw={})
    294         self.redirect(buf)
    295         try:
=>  296             function(*args, **kw)
    297         finally:
    298             self.redirect()
function = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance>>, args = (<MoinMoin.formatter.text_python.Formatter instance>,), kw = {}
 /usr/lib/python2.7/dist-packages/MoinMoin/parser/text_moin_wiki.py in format(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, formatter=<MoinMoin.formatter.text_python.Formatter instance>, inhibit_p=False, **kw={})
   1552 
   1553             # Scan line, format and write
=> 1554             formatted_line = self.scan(line, inhibit_p=inhibit_p)
   1555             self.request.write(formatted_line)
   1556 
formatted_line = u'<p class="line867"><strong>List of pages in this category:</strong> ', self = <MoinMoin.parser.text_moin_wiki.Parser instance>, self.scan = <bound method Parser.scan of <MoinMoin.parser.text_moin_wiki.Parser instance>>, line = u'<<FullSearchCached(category:@PAGE@)>> ', inhibit_p = False
 /usr/lib/python2.7/dist-packages/MoinMoin/parser/text_moin_wiki.py in scan(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, line=u'<<FullSearchCached(category:@PAGE@)>> ', inhibit_p=False)
   1362                         self.in_table or self.in_list):
   1363                     result.append(self.formatter.paragraph(1, css_class="line867"))
=> 1364                 result.append(self.replace(match, inhibit_p))
   1365                 end = match.end()
   1366                 lastpos = end
result = ['<p class="line867">'], result.append = <built-in method append of list object>, self = <MoinMoin.parser.text_moin_wiki.Parser instance>, self.replace = <bound method Parser.replace of <MoinMoin.parser.text_moin_wiki.Parser instance>>, match = <_sre.SRE_Match object>, inhibit_p = False
 /usr/lib/python2.7/dist-packages/MoinMoin/parser/text_moin_wiki.py in replace(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, match=<_sre.SRE_Match object>, inhibit_p=False)
   1406                 # Get replace method and replace hit
   1407                 replace_func = getattr(self, '_%s_repl' % type)
=> 1408                 result.append(replace_func(hit, match.groupdict()))
   1409                 return ''.join(result)
   1410         else:
result = [], result.append = <built-in method append of list object>, replace_func = <bound method Parser._macro_repl of <MoinMoin.parser.text_moin_wiki.Parser instance>>, hit = u'category:@PAGE@', match = <_sre.SRE_Match object>, match.groupdict = <built-in method groupdict of _sre.SRE_Match object>
 /usr/lib/python2.7/dist-packages/MoinMoin/parser/text_moin_wiki.py in _macro_repl(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, word=u'category:@PAGE@', groups={u'big': None, u'big_off': None, u'big_on': None, u'comment': None, u'dl': None, u'email': None, u'emph': None, u'emph_ib_or_bi': None, u'emph_ibb': None, u'emph_ibi': None, ...})
   1329         if self.macro is None:
   1330             self.macro = macro.Macro(self)
=> 1331         return self.formatter.macro(self.macro, macro_name, macro_args, markup=groups.get('macro'))
   1332     _macro_name_repl = _macro_repl
   1333     _macro_args_repl = _macro_repl
self = <MoinMoin.parser.text_moin_wiki.Parser instance>, self.formatter = <MoinMoin.formatter.text_python.Formatter instance>, self.formatter.macro = <bound method Formatter.macro of <MoinMoin.formatter.text_python.Formatter instance>>, self.macro = <MoinMoin.macro.Macro instance>, macro_name = u'FullSearchCached', macro_args = u'category:@PAGE@', markup undefined, groups = {u'big': None, u'big_off': None, u'big_on': None, u'comment': None, u'dl': None, u'email': None, u'emph': None, u'emph_ib_or_bi': None, u'emph_ibb': None, u'emph_ibi': None, ...}, groups.get = <built-in method get of dict object>
 /usr/lib/python2.7/dist-packages/MoinMoin/formatter/text_python.py in macro(self=<MoinMoin.formatter.text_python.Formatter instance>, macro_obj=<MoinMoin.macro.Macro instance>, name=u'FullSearchCached', args=u'category:@PAGE@', markup=u'<<FullSearchCached(category:@PAGE@)>>')
    190             # XXX: why is this necessary??
    191             macro_obj.formatter = self
=>  192             return macro_obj.execute(name, args)
    193         else:
    194             return self.__insert_code(
macro_obj = <MoinMoin.macro.Macro instance>, macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance>>, name = u'FullSearchCached', args = u'category:@PAGE@'
 /usr/lib/python2.7/dist-packages/MoinMoin/macro/__init__.py in execute(self=<MoinMoin.macro.Macro instance>, macro_name=u'FullSearchCached', args=u'category:@PAGE@')
    141             return self.formatter.text(_('<<%(macro_name)s: execution failed [%(error_msg)s] (see also the log)>>') % {
    142                    'macro_name': self.name,
=>  143                    'error_msg': err.args[0], # note: str(err) or unicode(err) does not work for py2.4/5/6
    144                  })
    145             import traceback
err = <xapian.FeatureUnavailableError; proxy of <Swig ...::FeatureUnavailableError *' at 0x7fec3d248fc0> >, err.args = ()

<type 'exceptions.IndexError'>: tuple index out of range
      args = ('tuple index out of range',)
      message = 'tuple index out of range'