Attachment 'traceback.html'
DownloadNameError
global name 'MoinMoin' is not defined
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
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/de.thinkmo.hg/repos/moin/1.6-docbook-mvirkkil/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.CGI.Request object>)
- 1108 from MoinMoin import action
- 1109 handler = action.getHandler(self, action_name)
- 1110 handler(self.page.page_name, self)
- 1111
- 1112 # every action that didn't use to raise MoinMoinNoFooter must call this now:
- handler = <function do_edit>
- self = <MoinMoin.request.CGI.Request object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'rst'
/srv/de.thinkmo.hg/repos/moin/1.6-docbook-mvirkkil/MoinMoin/action/__init__.py in do_edit (pagename=u'rst', request=<MoinMoin.request.CGI.Request object>)
- 452 pg = Page(request, backto)
- 453
- 454 pg.send_page(request, msg=savemsg)
- 455
- 456 def do_goto(pagename, request):
- pg = <MoinMoin.PageEditor.PageEditor instance>
- pg.send_page = <bound method PageEditor.send_page of <MoinMoin.PageEditor.PageEditor instance>>
- request = <MoinMoin.request.CGI.Request object>
- msg undefined
- savemsg = u'Thank you for your changes. Your attention to detail is appreciated.'
/srv/de.thinkmo.hg/repos/moin/1.6-docbook-mvirkkil/MoinMoin/Page.py in send_page (self=<MoinMoin.PageEditor.PageEditor instance>, request=<MoinMoin.request.CGI.Request object>, msg=u'Thank you for your changes. Your attention to detail is appreciated.', **keywords={})
- 1273 format_args=pi_formatargs,
- 1274 do_cache=do_cache,
- 1275 start_line=pi_lines)
- 1276
- 1277 # check for pending footnotes
- start_line undefined
- pi_lines = 0
/srv/de.thinkmo.hg/repos/moin/1.6-docbook-mvirkkil/MoinMoin/Page.py in send_page_content (self=<MoinMoin.PageEditor.PageEditor instance>, request=<MoinMoin.request.CGI.Request object>, Parser=<class MoinMoin.parser.text_moin_wiki.Parser>, body=u'{{{#!rst\n\nThe text below contains links that loo...urceforge.net/docs/user/rst/quickref.html\n\n\n\n}}}\n', format_args='', do_cache=1, **kw={'start_line': 0})
- 1364 except 'CacheNeedsUpdate':
- 1365 try:
- 1366 code = self.makeCache(request, parser)
- 1367 self.execute(request, parser, code)
- 1368 except 'CacheNeedsUpdate':
- code undefined
- self = <MoinMoin.PageEditor.PageEditor instance>
- self.makeCache = <bound method PageEditor.makeCache of <MoinMoin.PageEditor.PageEditor instance>>
- request = <MoinMoin.request.CGI.Request object>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
/srv/de.thinkmo.hg/repos/moin/1.6-docbook-mvirkkil/MoinMoin/Page.py in makeCache (self=<MoinMoin.PageEditor.PageEditor instance>, request=<MoinMoin.request.CGI.Request object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>)
- 1415 saved_current_lang = request.current_lang
- 1416 try:
- 1417 text = request.redirectedOutput(parser.format, formatter)
- 1418 finally:
- 1419 request.current_lang = saved_current_lang
- text undefined
- request = <MoinMoin.request.CGI.Request object>
- request.redirectedOutput = <bound method Request.redirectedOutput of <MoinMoin.request.CGI.Request object>>
- 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>
/srv/de.thinkmo.hg/repos/moin/1.6-docbook-mvirkkil/MoinMoin/request/__init__.py in redirectedOutput (self=<MoinMoin.request.CGI.Request object>, function=<bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance>>, *args=(<MoinMoin.formatter.text_python.Formatter instance>,), **kw={})
- 709 self.redirect(buffer)
- 710 try:
- 711 function(*args, **kw)
- 712 finally:
- 713 self.redirect()
- function = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance>>
- args = (<MoinMoin.formatter.text_python.Formatter instance>,)
- kw = {}
/srv/de.thinkmo.hg/repos/moin/1.6-docbook-mvirkkil/MoinMoin/parser/text_moin_wiki.py in format (self=<MoinMoin.parser.text_moin_wiki.Parser instance>, formatter=<MoinMoin.formatter.text_python.Formatter instance>)
- 998 # TODO: do we really need this?
- 999 self.request.write(self._closeP())
- 1000 res = self.formatter.parser(self.parser_name, self.parser_lines)
- 1001 self.request.write(res)
- 1002 del self.parser_lines
- res undefined
- self = <MoinMoin.parser.text_moin_wiki.Parser instance>
- self.formatter = <MoinMoin.formatter.text_python.Formatter instance>
- self.formatter.parser = <bound method Formatter.parser of <MoinMoin.formatter.text_python.Formatter instance>>
- self.parser_name = u'rst'
- self.parser_lines = [u'#!rst ', u'', u'The text below contains links that look like "(quickref__)". These', u'are relative links that point to the `Quick reStructuredText`_ user', u"reference. If these links don't work, please refer to the `master", u'quick reference`_ document.', u'', u'__', u'.. _Quick reStructuredText: quickref.html', u'.. _master quick reference:', u' http://docutils.sourceforge.net/docs/user/rst/quickref.html', u'', u'', u'']
/srv/de.thinkmo.hg/repos/moin/1.6-docbook-mvirkkil/MoinMoin/formatter/text_python.py in parser (self=<MoinMoin.formatter.text_python.Formatter instance>, parser_name=u'rst', lines=[u'#!rst ', u'', u'The text below contains links that look like "(quickref__)". These', u'are relative links that point to the `Quick reStructuredText`_ user', u"reference. If these links don't work, please refer to the `master", u'quick reference`_ document.', u'', u'__', u'.. _Quick reStructuredText: quickref.html', u'.. _master quick reference:', u' http://docutils.sourceforge.net/docs/user/rst/quickref.html', u'', u'', u''])
- 197 Dependencies = self.defaultDependencies
- 198 if self.__is_static(Dependencies):
- 199 return self.formatter.parser(parser_name, lines)
- 200 else:
- 201 return self.__insert_code('%s%s.parser(%r, %r)' %
- self = <MoinMoin.formatter.text_python.Formatter instance>
- self.formatter = <MoinMoin.formatter.text_html.Formatter instance>
- self.formatter.parser = <bound method Formatter.parser of <MoinMoin.formatter.text_html.Formatter instance>>
- parser_name = u'rst'
- lines = [u'#!rst ', u'', u'The text below contains links that look like "(quickref__)". These', u'are relative links that point to the `Quick reStructuredText`_ user', u"reference. If these links don't work, please refer to the `master", u'quick reference`_ document.', u'', u'__', u'.. _Quick reStructuredText: quickref.html', u'.. _master quick reference:', u' http://docutils.sourceforge.net/docs/user/rst/quickref.html', u'', u'', u'']
/srv/de.thinkmo.hg/repos/moin/1.6-docbook-mvirkkil/MoinMoin/formatter/__init__.py in parser (self=<MoinMoin.formatter.text_html.Formatter instance>, parser_name=u'rst', lines=[u'', u'The text below contains links that look like "(quickref__)". These', u'are relative links that point to the `Quick reStructuredText`_ user', u"reference. If these links don't work, please refer to the `master", u'quick reference`_ document.', u'', u'__', u'.. _Quick reStructuredText: quickref.html', u'.. _master quick reference:', u' http://docutils.sourceforge.net/docs/user/rst/quickref.html', u'', u'', u''])
- 322 lines = lines[1:]
- 323 p = parser('\n'.join(lines), self.request, format_args=args)
- 324 p.format(self)
- 325 del p
- 326 return ''
- p = <MoinMoin.parser.text_rst.Parser instance>
- p.format = <bound method Parser.format of <MoinMoin.parser.text_rst.Parser instance>>
- self = <MoinMoin.formatter.text_html.Formatter instance>
/srv/de.thinkmo.hg/repos/moin/1.6-docbook-mvirkkil/MoinMoin/parser/text_rst.py in format (self=<MoinMoin.parser.text_rst.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>)
- 189 source = self.raw,
- 190 writer = MoinWriter(formatter, self.request),
- 191 settings_overrides = {
- 192 'halt_level': 5,
- 193 'traceback': True,
- settings_overrides undefined
- builtin True = True
/usr/local/lib/python2.4/site-packages/docutils/core.py in publish_parts (source=u'\nThe text below contains links that look like "(...ls.sourceforge.net/docs/user/rst/quickref.html\n\n\n', source_path=None, source_class=<class docutils.io.StringInput>, destination_path=None, reader=None, reader_name='standalone', parser=None, parser_name='restructuredtext', writer=<MoinMoin.parser.text_rst.MoinWriter instance>, writer_name='pseudoxml', settings=None, settings_spec=None, settings_overrides={'file_insertion_enabled': 0, 'halt_level': 5, 'raw_enabled': 0, 'stylesheet_path': '', 'template': '', 'traceback': True}, config_section=None, enable_exit_status=None)
- 429 settings_overrides=settings_overrides,
- 430 config_section=config_section,
- 431 enable_exit_status=enable_exit_status)
- 432 return pub.writer.parts
- 433
- enable_exit_status = None
/usr/local/lib/python2.4/site-packages/docutils/core.py in publish_programmatically (source_class=<class docutils.io.StringInput>, source=u'\nThe text below contains links that look like "(...ls.sourceforge.net/docs/user/rst/quickref.html\n\n\n', source_path=None, destination_class=<class docutils.io.StringOutput>, destination=None, destination_path=None, reader=None, reader_name='standalone', parser=None, parser_name='restructuredtext', writer=<MoinMoin.parser.text_rst.MoinWriter instance>, writer_name='pseudoxml', settings=None, settings_spec=None, settings_overrides={'file_insertion_enabled': 0, 'halt_level': 5, 'raw_enabled': 0, 'stylesheet_path': '', 'template': '', 'traceback': True}, config_section=None, enable_exit_status=None)
- 609 settings_spec, settings_overrides, config_section)
- 610 pub.set_source(source, source_path)
- 611 pub.set_destination(destination, destination_path)
- 612 output = pub.publish(enable_exit_status=enable_exit_status)
- 613 return output, pub
- output undefined
- pub = <docutils.core.Publisher instance>
- pub.publish = <bound method Publisher.publish of <docutils.core.Publisher instance>>
- enable_exit_status = None
/usr/local/lib/python2.4/site-packages/docutils/core.py in publish (self=<docutils.core.Publisher instance>, argv=None, usage=None, description=None, settings_spec=None, settings_overrides=None, config_section=None, enable_exit_status=None)
- 204 self.settings)
- 205 self.apply_transforms()
- 206 output = self.writer.write(self.document, self.destination)
- 207 self.writer.assemble_parts()
- 208 except SystemExit, error:
- output undefined
- self = <docutils.core.Publisher instance>
- self.writer = <MoinMoin.parser.text_rst.MoinWriter instance>
- self.writer.write = <bound method MoinWriter.write of <MoinMoin.parser.text_rst.MoinWriter instance>>
- self.document = <document: <paragraph...><target...><target "quick restructuredtext ...>
- self.destination = docutils.io.StringOutput: destination=None, destination_path='<string>'
/usr/local/lib/python2.4/site-packages/docutils/writers/__init__.py in write (self=<MoinMoin.parser.text_rst.MoinWriter instance>, document=<document: <paragraph...><target...><target "quick restructuredtext ...>, destination=docutils.io.StringOutput: destination=None, destination_path='<string>')
- 76 document.settings.language_code)
- 77 self.destination = destination
- 78 self.translate()
- 79 output = self.destination.write(self.output)
- 80 return output
- self = <MoinMoin.parser.text_rst.MoinWriter instance>
- self.translate = <bound method MoinWriter.translate of <MoinMoin.parser.text_rst.MoinWriter instance>>
/srv/de.thinkmo.hg/repos/moin/1.6-docbook-mvirkkil/MoinMoin/parser/text_rst.py in translate (self=<MoinMoin.parser.text_rst.MoinWriter instance>)
- 164 self.wikiparser,
- 165 self)
- 166 self.document.walkabout(visitor)
- 167 self.visitor = visitor
- 168 # Docutils 0.5.0 and later require the writer to have the visitor
- self = <MoinMoin.parser.text_rst.MoinWriter instance>
- self.document = <document: <paragraph...><target...><target "quick restructuredtext ...>
- self.document.walkabout = <bound method document.walkabout of <document: <...><target...><target "quick restructuredtext ...>>
- visitor = <MoinMoin.parser.text_rst.MoinTranslator instance>
/usr/local/lib/python2.4/site-packages/docutils/nodes.py in walkabout (self=<document: <paragraph...><target...><target "quick restructuredtext ...>, visitor=<MoinMoin.parser.text_rst.MoinTranslator instance>)
- 157 try:
- 158 for child in children[:]:
- 159 child.walkabout(visitor)
- 160 except SkipSiblings:
- 161 pass
- child = <paragraph: <#text: u'The text below c ...'><reference...><#text: u' ...>
- child.walkabout = <bound method paragraph.walkabout of <paragraph:... text below c ...'><reference...><#text: u' ...>>
- visitor = <MoinMoin.parser.text_rst.MoinTranslator instance>
/usr/local/lib/python2.4/site-packages/docutils/nodes.py in walkabout (self=<paragraph: <#text: u'The text below c ...'><reference...><#text: u' ...>, visitor=<MoinMoin.parser.text_rst.MoinTranslator instance>)
- 157 try:
- 158 for child in children[:]:
- 159 child.walkabout(visitor)
- 160 except SkipSiblings:
- 161 pass
- child = <reference: <#text: u'quickref'>>
- child.walkabout = <bound method reference.walkabout of <reference: <#text: u'quickref'>>>
- visitor = <MoinMoin.parser.text_rst.MoinTranslator instance>
/usr/local/lib/python2.4/site-packages/docutils/nodes.py in walkabout (self=<reference: <#text: u'quickref'>>, visitor=<MoinMoin.parser.text_rst.MoinTranslator instance>)
- 149 try:
- 150 try:
- 151 visitor.dispatch_visit(self)
- 152 except SkipNode:
- 153 return
- visitor = <MoinMoin.parser.text_rst.MoinTranslator instance>
- visitor.dispatch_visit = <bound method MoinTranslator.dispatch_visit of <MoinMoin.parser.text_rst.MoinTranslator instance>>
- self = <reference: <#text: u'quickref'>>
/usr/local/lib/python2.4/site-packages/docutils/nodes.py in dispatch_visit (self=<MoinMoin.parser.text_rst.MoinTranslator instance>, node=<reference: <#text: u'quickref'>>)
- 1500 'docutils.nodes.NodeVisitor.dispatch_visit calling %s for %s'
- 1501 % (method.__name__, node_name))
- 1502 return method(node)
- 1503
- 1504 def dispatch_departure(self, node):
- method = <bound method MoinTranslator.visit_reference of <MoinMoin.parser.text_rst.MoinTranslator instance>>
- node = <reference: <#text: u'quickref'>>
/srv/de.thinkmo.hg/repos/moin/1.6-docbook-mvirkkil/MoinMoin/parser/text_rst.py in visit_reference (self=<MoinMoin.parser.text_rst.MoinTranslator instance>, node=<reference: <#text: u'quickref'>>)
- 380 else:
- 381 # Default case - make a link to a wiki page.
- 382 page = MoinMoin.Page.Page(self.request, refuri)
- 383 node['refuri'] = page.url(self.request)
- 384 if not page.exists():
- page undefined
- MoinMoin undefined
- self = <MoinMoin.parser.text_rst.MoinTranslator instance>
- self.request = <MoinMoin.request.CGI.Request object>
- refuri = u'quickref.html'
NameError
global name 'MoinMoin' is not defined
- args = ("global name 'MoinMoin' is not defined",)
System Details
- Date: Tue, 04 Jul 2006 06:40:12 +0000
- Platform: Linux thinkmo 2.6.14-thinkmo-1 #1 SMP Wed Nov 9 17:33:56 CET 2005 x86_64
- Python: Python 2.4.3 (/usr/local/bin/python)
- MoinMoin: Release 1.6.0alpha (release)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.