Hörnan   Kristendomen Logga in!
 
HelpContents Search Diffs Info Edit Subscribe Print View

>

 
 
IndexError: string index out of range
Python 2.2
/usr/bin/python2

A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are:
      __doc__ = 'Sequence index out of range.'
      __getitem__ = <bound method IndexError.__getitem__ of <exceptions.IndexError instance at 0x82af2f4>>
      __init__ = <bound method IndexError.__init__ of <exceptions.IndexError instance at 0x82af2f4>>
      __module__ = 'exceptions'
      __str__ = <bound method IndexError.__str__ of <exceptions.IndexError instance at 0x82af2f4>>
      args = ('string index out of range',)

/home/simon/local/moin-fippel/lib/python2.2/site-packages/MoinMoin/parser/wiki.py in _word_repl(self=<MoinMoin.parser.wiki.Parser instance>, word='', text='')
  309         self._check_p()
  310         if not text: text = word
  311         if config.allow_subpages and word[0] == '/':
       global config = <module 'MoinMoin.config' from '/home/simon/loca.../lib/python2.2/site-packages/MoinMoin/config.py'>, global allow_subpages = undefined, word = ''
  312             word = self.formatter.page.page_name + word
  313         text = self.highlight_text(text)

/home/simon/local/moin-fippel/lib/python2.2/site-packages/MoinMoin/parser/wiki.py in _wikiname_bracket_repl(self=<MoinMoin.parser.wiki.Parser instance>, word='[""]')
  343     def _wikiname_bracket_repl(self, word):
  344         """Handle special-char wikinames."""
  345         return self._word_repl(word[2:-2])
       self = <MoinMoin.parser.wiki.Parser instance>, global _word_repl = undefined, word = '[""]'
  346 
  347 

/home/simon/local/moin-fippel/lib/python2.2/site-packages/MoinMoin/parser/wiki.py in replace(self=<MoinMoin.parser.wiki.Parser instance>, match=<_sre.SRE_Match object>)
  746                     return self.highlight_text(hit)
  747                 else:
  748                     return apply(getattr(self, '_' + type + '_repl'), (hit,))
       global apply = undefined, global getattr = undefined, self = <MoinMoin.parser.wiki.Parser instance>, type = 'wikiname_bracket', hit = '[""]'
  749         else:
  750             import pprint

<file is None - probably inside eval or exec> in subn(pattern=<_sre.SRE_Pattern object>, repl=<bound method Parser.replace of <MoinMoin.parser.wiki.Parser instance at 0x81de3d4>>, string='En j\xe4ttestor []. Har sitt ursprung i [""], ... att man tror att JesusKristus var ["Messias"]. ', count=0)

/home/simon/local/moin-fippel/lib/python2.2/site-packages/MoinMoin/parser/wiki.py in format(self=<MoinMoin.parser.wiki.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>, form=FieldStorage(None, None, []))
  863                 sys.stdout.write(self.highlight_scan(scan_re, line + " "))
  864             else:
  865                 line, count = re.subn(scan_re, self.replace, line + " ")
       line = 'En j\xe4ttestor []. Har sitt ursprung i [""], ...r att man tror att JesusKristus var ["Messias"].', count = undefined, global re = <module 're' from '/usr/lib/python2.2/re.pyc'>, global subn = undefined, scan_re = <_sre.SRE_Pattern object>, self = <MoinMoin.parser.wiki.Parser instance>, global replace = undefined
  866                 ##if not count: self._check_p()
  867                 self._check_p()

/home/simon/local/moin-fippel/lib/python2.2/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.Request instance>, msg='', **keywords={'count_hit': 1})
  378         else:
  379             # parse the text and send the page content
  380             Parser(body, request).format(self.formatter, form)
       Parser = <class MoinMoin.parser.wiki.Parser>, body = 'En j\xe4ttestor []. Har sitt ursprung i [""], ...t man tror att JesusKristus var ["Messias"].\n\n', request = <MoinMoin.request.Request instance>, global format = undefined, self = <MoinMoin.Page.Page instance>, global formatter = undefined, form = FieldStorage(None, None, [])
  381 
  382             # check for pending footnotes

/home/simon/local/moin-fippel/lib/python2.2/site-packages/MoinMoin/cgimain.py in run(properties={})
  233         else:
  234             try:
  235                 cgitb.handler()
       cgitb = <module 'MoinMoin.support.cgitb' from '/home/sim...thon2.2/site-packages/MoinMoin/support/cgitb.py'>, handler = undefined
  236             except:
  237                 apply(cgi.print_exception, saved_exc)