<type 'exceptions.IndexError'>
Python 2.7.13: /usr/bin/python
Mon Jul 24 11:34:02 2017

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': '/usr/share/moin/server/moin.fcgi', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wiki.complete.org', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}, 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': '/usr/share/moin/server/moin.fcgi', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wiki.complete.org', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}, start_response=<function start_response>)
    597                     break
    598         if file_loader is None or not self.is_allowed(real_filename):
=>  599             return self.app(environ, start_response)
    600 
    601         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': '', 'DOCUMENT_ROOT': '/usr/share/moin/server/moin.fcgi', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wiki.complete.org', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}, 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': '', 'DOCUMENT_ROOT': '/usr/share/moin/server/moin.fcgi', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wiki.complete.org', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}, 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 5795 bytes [200 OK]>, context = <AllContext ['AllContext']>, action_name = 'show'
 /usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in dispatch(request=<AppRequest 5795 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'CategoryAmateurRadio', action_name = 'show'
 /usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in handle_action(context=<AllContext ['AllContext']>, pagename=u'CategoryAmateurRadio', 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'CategoryAmateurRadio'
 /usr/lib/python2.7/dist-packages/MoinMoin/action/__init__.py in do_show(pagename=u'CategoryAmateurRadio', request=<AllContext ['AllContext']>, content_only=0, count_hit=1, cacheable=1, print_mode=0, mimetype=u'text/html')
    265             count_hit=count_hit,
    266             print_mode=print_mode,
=>  267             content_only=content_only,
    268         )
    269 
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})
   1330                                    format_args=pi['formatargs'],
   1331                                    do_cache=do_cache,
=> 1332                                    start_line=pi['lines'])
   1333 
   1334             # 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'\nThings relating to amateur radio.\n\nTo add a pag...y:CategoryAmateurRadio)>>\n\n----\nCategoryCategory\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 4})
   1429                     raise
   1430                 try:
=> 1431                     code = self.makeCache(request, parser)
   1432                     self.execute(request, parser, code)
   1433                 except Exception, e:
code undefined, 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>)
   1489         saved_current_lang = request.current_lang
   1490         try:
=> 1491             text = request.redirectedOutput(parser.format, formatter)
   1492         finally:
   1493             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={})
   1551 
   1552             # Scan line, format and write
=> 1553             formatted_line = self.scan(line, inhibit_p=inhibit_p)
   1554             self.request.write(formatted_line)
   1555 
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:CategoryAmateurRadio)>> ', 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:CategoryAmateurRadio)>> ', inhibit_p=False)
   1361                         self.in_table or self.in_list):
   1362                     result.append(self.formatter.paragraph(1, css_class="line867"))
=> 1363                 result.append(self.replace(match, inhibit_p))
   1364                 end = match.end()
   1365                 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)
   1405                 # Get replace method and replace hit
   1406                 replace_func = getattr(self, '_%s_repl' % type)
=> 1407                 result.append(replace_func(hit, match.groupdict()))
   1408                 return ''.join(result)
   1409         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:CategoryAmateurRadio', 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:CategoryAmateurRadio', 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, ...})
   1328         if self.macro is None:
   1329             self.macro = macro.Macro(self)
=> 1330         return self.formatter.macro(self.macro, macro_name, macro_args, markup=groups.get('macro'))
   1331     _macro_name_repl = _macro_repl
   1332     _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:CategoryAmateurRadio', 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:CategoryAmateurRadio', markup=u'<<FullSearchCached(category:CategoryAmateurRadio)>>')
    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:CategoryAmateurRadio'
 /usr/lib/python2.7/dist-packages/MoinMoin/macro/__init__.py in execute(self=<MoinMoin.macro.Macro instance>, macro_name=u'FullSearchCached', args=u'category:CategoryAmateurRadio')
    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 ...pian::FeatureUnavailableError *' at 0xf1f7f5a8> >, err.args = ()

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