A problem occurred in a Python script. Here is the
sequence of function calls leading up to the error, in the
order they occurred.
/srv/moin/code/1.8/MoinMoin/request/__init__.py
in run
(self=<MoinMoin.request.request_wsgi.Request object>)
- 1309 self.page.send_page()
- 1310 else:
- 1311 handler(self.page.page_name, self)
- 1312
- 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler
= <function do_show>
- self
= <MoinMoin.request.request_wsgi.Request object>
- self.page
= <MoinMoin.Page.Page object>
- self.page.page_name
= u'MarcelH\xe4fner/Testpage'
/srv/moin/code/1.8/MoinMoin/action/__init__.py
in do_show
(pagename=u'MarcelH\xe4fner/Testpage', request=<MoinMoin.request.request_wsgi.Request object>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 251 count_hit=count_hit,
- 252 print_mode=print_mode,
- 253 content_only=content_only,
- 254 )
- 255
/srv/moin/code/1.8/MoinMoin/Page.py
in send_page
(self=<MoinMoin.Page.Page object>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1195 format_args=pi['formatargs'],
- 1196 do_cache=do_cache,
- 1197 start_line=pi['lines'])
- 1198
- 1199 # check for pending footnotes
- start_line undefined
- pi
= {'acl': <MoinMoin.security.AccessControlList instance>, 'format': 'wiki', 'formatargs': '', 'language': 'en', 'lines': 0}
/srv/moin/code/1.8/MoinMoin/Page.py
in send_page_content
(self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_wsgi.Request object>, body=u'<<TableOfContents>>\n\n= Testpage =\n\n<<Include(^MarcelH\xe4fner/.*)>>\n', format='wiki', format_args='', do_cache=1, **kw={'start_line': 0})
- 1279
- 1280 if not (do_cache and self.canUseCache(Parser)):
- 1281 self.format(parser)
- 1282 else:
- 1283 try:
- self
= <MoinMoin.Page.Page object>
- self.format
= <bound method Page.format of <MoinMoin.Page.Page object>>
- parser
= <MoinMoin.parser.text_moin_wiki.Parser instance>
/srv/moin/code/1.8/MoinMoin/Page.py
in format
(self=<MoinMoin.Page.Page object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>)
- 1300 def format(self, parser):
- 1301 """ Format and write page content without caching """
- 1302 parser.format(self.formatter)
- 1303
- 1304 def execute(self, request, parser, code):
- parser
= <MoinMoin.parser.text_moin_wiki.Parser instance>
- parser.format
= <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance>>
- self
= <MoinMoin.Page.Page object>
- self.formatter
= <MoinMoin.formatter.text_docbook.Formatter instance>
/srv/moin/code/1.8/MoinMoin/parser/text_moin_wiki.py
in format
(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, formatter=<MoinMoin.formatter.text_docbook.Formatter instance>, inhibit_p=False)
- 1550
- 1551 # Scan line, format and write
- 1552 formatted_line = self.scan(line, inhibit_p=inhibit_p)
- 1553 self.request.write(formatted_line)
- 1554
- formatted_line
= u''
- self
= <MoinMoin.parser.text_moin_wiki.Parser instance>
- self.scan
= <bound method Parser.scan of <MoinMoin.parser.text_moin_wiki.Parser instance>>
- line
= u'<<Include(^MarcelH\xe4fner/.*)>> '
- inhibit_p
= False
/srv/moin/code/1.8/MoinMoin/parser/text_moin_wiki.py
in scan
(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, line=u'<<Include(^MarcelH\xe4fner/.*)>> ', inhibit_p=False)
- 1364 self.in_table or self.in_list):
- 1365 result.append(self.formatter.paragraph(1, css_class="line867"))
- 1366 result.append(self.replace(match, inhibit_p))
- 1367 end = match.end()
- 1368 lastpos = end
- result
= ['']
- 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
/srv/moin/code/1.8/MoinMoin/parser/text_moin_wiki.py
in replace
(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, match=<_sre.SRE_Match object>, inhibit_p=False)
- 1408 # Get replace method and replace hit
- 1409 replace_func = getattr(self, '_%s_repl' % type)
- 1410 result.append(replace_func(hit, match.groupdict()))
- 1411 return ''.join(result)
- 1412 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'^MarcelH\xe4fner/.*'
- match
= <_sre.SRE_Match object>
- match.groupdict
= <built-in method groupdict of _sre.SRE_Match object>
/srv/moin/code/1.8/MoinMoin/parser/text_moin_wiki.py
in _macro_repl
(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, word=u'^MarcelH\xe4fner/.*', 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, ...})
- 1331 if self.macro is None:
- 1332 self.macro = macro.Macro(self)
- 1333 return self.formatter.macro(self.macro, macro_name, macro_args, markup=groups.get('macro'))
- 1334 _macro_name_repl = _macro_repl
- 1335 _macro_args_repl = _macro_repl
- self
= <MoinMoin.parser.text_moin_wiki.Parser instance>
- self.formatter
= <MoinMoin.formatter.text_docbook.Formatter instance>
- self.formatter.macro
= <bound method Formatter.macro of <MoinMoin.formatter.text_docbook.Formatter instance>>
- self.macro
= <MoinMoin.macro.Macro instance>
- macro_name
= u'Include'
- macro_args
= u'^MarcelH\xe4fner/.*'
- 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>
/srv/moin/code/1.8/MoinMoin/formatter/text_docbook.py
in macro
(self=<MoinMoin.formatter.text_docbook.Formatter instance>, macro_obj=<MoinMoin.macro.Macro instance>, name=u'Include', args=u'^MarcelH\xe4fner/.*', markup=u'<<Include(^MarcelH\xe4fner/.*)>>')
- 613 if was_in_para:
- 614 self.paragraph(0)
- 615 text = FormatterBase.macro(self, macro_obj, name, args)
- 616 if text.strip():
- 617 self._copyExternalNodes(Sax.FromXml(text).documentElement.childNodes, exclude=excludes)
- text undefined
- global
FormatterBase
= <class MoinMoin.formatter.FormatterBase>
- FormatterBase.macro
= <unbound method FormatterBase.macro>
- self
= <MoinMoin.formatter.text_docbook.Formatter instance>
- macro_obj
= <MoinMoin.macro.Macro instance>
- name
= u'Include'
- args
= u'^MarcelH\xe4fner/.*'
/srv/moin/code/1.8/MoinMoin/formatter/__init__.py
in macro
(self=<MoinMoin.formatter.text_docbook.Formatter instance>, macro_obj=<MoinMoin.macro.Macro instance>, name=u'Include', args=u'^MarcelH\xe4fner/.*', markup=None)
- 312 # call the macro
- 313 try:
- 314 return macro_obj.execute(name, args)
- 315 except ImportError, err:
- 316 errmsg = unicode(err)
- macro_obj
= <MoinMoin.macro.Macro instance>
- macro_obj.execute
= <bound method Macro.execute of <MoinMoin.macro.Macro instance>>
- name
= u'Include'
- args
= u'^MarcelH\xe4fner/.*'
/srv/moin/code/1.8/MoinMoin/macro/__init__.py
in execute
(self=<MoinMoin.macro.Macro instance>, macro_name=u'Include', args=u'^MarcelH\xe4fner/.*')
- 126 else:
- 127 raise ImportError("Cannot load macro %s" % macro_name)
- 128 return execute(self, args)
- 129
- 130 def _m_lang(self, text):
- execute
= <function execute>
- self
= <MoinMoin.macro.Macro instance>
- args
= u'^MarcelH\xe4fner/.*'
/srv/moin/code/1.8/MoinMoin/macro/Include.py
in execute
(macro=<MoinMoin.macro.Macro instance>, text=u'^MarcelH\xe4fner/.*', args_re=<_sre.SRE_Pattern object>, title_re=<_sre.SRE_Pattern object>)
- 207 inc_page.send_page(content_only=True,
- 208 omit_footnotes=True,
- 209 count_hit=False)
- 210 result.append(strfile.getvalue())
- 211 finally:
- count_hit undefined
- builtin
False
= False
/srv/moin/code/1.8/MoinMoin/Page.py
in send_page
(self=<MoinMoin.Page.Page object>, **keywords={'content_only': True, 'count_hit': False, 'omit_footnotes': True})
- 1195 format_args=pi['formatargs'],
- 1196 do_cache=do_cache,
- 1197 start_line=pi['lines'])
- 1198
- 1199 # check for pending footnotes
- start_line undefined
- pi
= {'acl': <MoinMoin.security.AccessControlList instance>, 'format': 'wiki', 'formatargs': '', 'language': 'en', 'lines': 0}
/srv/moin/code/1.8/MoinMoin/Page.py
in send_page_content
(self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_wsgi.Request object>, body=u'<<TableOfContents>>\n\n= Testpage =\n\n<<Include(^MarcelH\xe4fner/.*)>>\n', format='wiki', format_args='', do_cache=1, **kw={'start_line': 0})
- 1279
- 1280 if not (do_cache and self.canUseCache(Parser)):
- 1281 self.format(parser)
- 1282 else:
- 1283 try:
- self
= <MoinMoin.Page.Page object>
- self.format
= <bound method Page.format of <MoinMoin.Page.Page object>>
- parser
= <MoinMoin.parser.text_moin_wiki.Parser instance>
/srv/moin/code/1.8/MoinMoin/Page.py
in format
(self=<MoinMoin.Page.Page object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>)
- 1300 def format(self, parser):
- 1301 """ Format and write page content without caching """
- 1302 parser.format(self.formatter)
- 1303
- 1304 def execute(self, request, parser, code):
- parser
= <MoinMoin.parser.text_moin_wiki.Parser instance>
- parser.format
= <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance>>
- self
= <MoinMoin.Page.Page object>
- self.formatter
= <MoinMoin.formatter.text_docbook.Formatter instance>
/srv/moin/code/1.8/MoinMoin/parser/text_moin_wiki.py
in format
(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, formatter=<MoinMoin.formatter.text_docbook.Formatter instance>, inhibit_p=False)
- 1550
- 1551 # Scan line, format and write
- 1552 formatted_line = self.scan(line, inhibit_p=inhibit_p)
- 1553 self.request.write(formatted_line)
- 1554
- formatted_line
= u''
- self
= <MoinMoin.parser.text_moin_wiki.Parser instance>
- self.scan
= <bound method Parser.scan of <MoinMoin.parser.text_moin_wiki.Parser instance>>
- line
= u'<<Include(^MarcelH\xe4fner/.*)>> '
- inhibit_p
= False
/srv/moin/code/1.8/MoinMoin/parser/text_moin_wiki.py
in scan
(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, line=u'<<Include(^MarcelH\xe4fner/.*)>> ', inhibit_p=False)
- 1364 self.in_table or self.in_list):
- 1365 result.append(self.formatter.paragraph(1, css_class="line867"))
- 1366 result.append(self.replace(match, inhibit_p))
- 1367 end = match.end()
- 1368 lastpos = end
- result
= ['']
- 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
/srv/moin/code/1.8/MoinMoin/parser/text_moin_wiki.py
in replace
(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, match=<_sre.SRE_Match object>, inhibit_p=False)
- 1408 # Get replace method and replace hit
- 1409 replace_func = getattr(self, '_%s_repl' % type)
- 1410 result.append(replace_func(hit, match.groupdict()))
- 1411 return ''.join(result)
- 1412 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'^MarcelH\xe4fner/.*'
- match
= <_sre.SRE_Match object>
- match.groupdict
= <built-in method groupdict of _sre.SRE_Match object>
/srv/moin/code/1.8/MoinMoin/parser/text_moin_wiki.py
in _macro_repl
(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, word=u'^MarcelH\xe4fner/.*', 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, ...})
- 1331 if self.macro is None:
- 1332 self.macro = macro.Macro(self)
- 1333 return self.formatter.macro(self.macro, macro_name, macro_args, markup=groups.get('macro'))
- 1334 _macro_name_repl = _macro_repl
- 1335 _macro_args_repl = _macro_repl
- self
= <MoinMoin.parser.text_moin_wiki.Parser instance>
- self.formatter
= <MoinMoin.formatter.text_docbook.Formatter instance>
- self.formatter.macro
= <bound method Formatter.macro of <MoinMoin.formatter.text_docbook.Formatter instance>>
- self.macro
= <MoinMoin.macro.Macro instance>
- macro_name
= u'Include'
- macro_args
= u'^MarcelH\xe4fner/.*'
- 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>
/srv/moin/code/1.8/MoinMoin/formatter/text_docbook.py
in macro
(self=<MoinMoin.formatter.text_docbook.Formatter instance>, macro_obj=<MoinMoin.macro.Macro instance>, name=u'Include', args=u'^MarcelH\xe4fner/.*', markup=u'<<Include(^MarcelH\xe4fner/.*)>>')
- 613 if was_in_para:
- 614 self.paragraph(0)
- 615 text = FormatterBase.macro(self, macro_obj, name, args)
- 616 if text.strip():
- 617 self._copyExternalNodes(Sax.FromXml(text).documentElement.childNodes, exclude=excludes)
- text undefined
- global
FormatterBase
= <class MoinMoin.formatter.FormatterBase>
- FormatterBase.macro
= <unbound method FormatterBase.macro>
- self
= <MoinMoin.formatter.text_docbook.Formatter instance>
- macro_obj
= <MoinMoin.macro.Macro instance>
- name
= u'Include'
- args
= u'^MarcelH\xe4fner/.*'
/srv/moin/code/1.8/MoinMoin/formatter/__init__.py
in macro
(self=<MoinMoin.formatter.text_docbook.Formatter instance>, macro_obj=<MoinMoin.macro.Macro instance>, name=u'Include', args=u'^MarcelH\xe4fner/.*', markup=None)
- 312 # call the macro
- 313 try:
- 314 return macro_obj.execute(name, args)
- 315 except ImportError, err:
- 316 errmsg = unicode(err)
- macro_obj
= <MoinMoin.macro.Macro instance>
- macro_obj.execute
= <bound method Macro.execute of <MoinMoin.macro.Macro instance>>
- name
= u'Include'
- args
= u'^MarcelH\xe4fner/.*'
/srv/moin/code/1.8/MoinMoin/macro/__init__.py
in execute
(self=<MoinMoin.macro.Macro instance>, macro_name=u'Include', args=u'^MarcelH\xe4fner/.*')
- 126 else:
- 127 raise ImportError("Cannot load macro %s" % macro_name)
- 128 return execute(self, args)
- 129
- 130 def _m_lang(self, text):
- execute
= <function execute>
- self
= <MoinMoin.macro.Macro instance>
- args
= u'^MarcelH\xe4fner/.*'
/srv/moin/code/1.8/MoinMoin/macro/Include.py
in execute
(macro=<MoinMoin.macro.Macro instance>, text=u'^MarcelH\xe4fner/.*', args_re=<_sre.SRE_Pattern object>, title_re=<_sre.SRE_Pattern object>)
- 230
- 231 # return include text
- 232 return ''.join(result)
- 233
- 234 # vim:ts=4:sw=4:et
- result
= ["<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE ...tem></itemizedlist></section></section></article>", "<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE ... not applicable to DocBook--></section></article>", "<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE ...cable to DocBook--></section></section></article>", "<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE ...es</ulink>. </para></section></section></article>", u'<p><strong class="error">Recursive include of "MarcelH\xe4fner/Testpage" forbidden</strong></p>', "<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE ...cable to DocBook--></section></section></article>"]