Attachment 'traceback.html'
DownloadAttributeError
MoinWriter instance has no attribute 'head_prefix'
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.
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object at 0x54ad0>)
- 1152 # Visit pagename
- 1153 self.page = Page(self, pagename)
- 1154 self.page.send_page(self, count_hit=1)
- 1155
- 1156 # generate page footer (actions that do not want this footer
- self = <MoinMoin.request.RequestCGI object at 0x54ad0>
- self.page = <MoinMoin.Page.Page instance at 0x223f80>
- self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance at 0x223f80>>
- count_hit undefined
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x223f80>, request=<MoinMoin.request.RequestCGI object at 0x54ad0>, msg='', **keywords={'count_hit': 1})
- 1234 format_args=pi_formatargs,
- 1235 do_cache=do_cache,
- 1236 start_line=pi_lines)
- 1237
- 1238 # check for pending footnotes
- start_line undefined
- pi_lines = 0
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x223f80>, request=<MoinMoin.request.RequestCGI object at 0x54ad0>, Parser=<class MoinMoin.parser.wiki.Parser at 0x44d630>, body=u'This is the starting page and I am going to test...\n\n{{{#!rst\nThis is a LinkToANonexistentPage_\n}}}\n', format_args='', do_cache=1, **kw={'start_line': 0})
- 1320 except 'CacheNeedsUpdate':
- 1321 try:
- 1322 code = self.makeCache(request, parser)
- 1323 self.execute(request, parser, code)
- 1324 except 'CacheNeedsUpdate':
- code undefined
- self = <MoinMoin.Page.Page instance at 0x223f80>
- self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page instance at 0x223f80>>
- request = <MoinMoin.request.RequestCGI object at 0x54ad0>
- parser = <MoinMoin.parser.wiki.Parser instance at 0x4484e0>
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page instance at 0x223f80>, request=<MoinMoin.request.RequestCGI object at 0x54ad0>, parser=<MoinMoin.parser.wiki.Parser instance at 0x4484e0>)
- 1371 saved_current_lang = request.current_lang
- 1372 try:
- 1373 text = request.redirectedOutput(parser.format, formatter)
- 1374 finally:
- 1375 request.current_lang = saved_current_lang
- text undefined
- request = <MoinMoin.request.RequestCGI object at 0x54ad0>
- request.redirectedOutput = <bound method RequestCGI.redirectedOutput of <MoinMoin.request.RequestCGI object at 0x54ad0>>
- parser = <MoinMoin.parser.wiki.Parser instance at 0x4484e0>
- parser.format = <bound method Parser.format of <MoinMoin.parser.wiki.Parser instance at 0x4484e0>>
- formatter = <MoinMoin.formatter.text_python.Formatter instance at 0x46a378>
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/MoinMoin/request.py in redirectedOutput (self=<MoinMoin.request.RequestCGI object at 0x54ad0>, function=<bound method Parser.format of <MoinMoin.parser.wiki.Parser instance at 0x4484e0>>, *args=(<MoinMoin.formatter.text_python.Formatter instance at 0x46a378>,), **kw={})
- 716 self.redirect(buffer)
- 717 try:
- 718 function(*args, **kw)
- 719 finally:
- 720 self.redirect()
- function = <bound method Parser.format of <MoinMoin.parser.wiki.Parser instance at 0x4484e0>>
- args = (<MoinMoin.formatter.text_python.Formatter instance at 0x46a378>,)
- kw = {}
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/MoinMoin/parser/wiki.py in format (self=<MoinMoin.parser.wiki.Parser instance at 0x4484e0>, formatter=<MoinMoin.formatter.text_python.Formatter instance at 0x46a378>)
- 1013 res = self.formatter.processor(self.processor_name,
- 1014 self.colorize_lines,
- 1015 self.processor_is_parser)
- 1016 self.request.write(res)
- 1017 del self.colorize_lines
- self = <MoinMoin.parser.wiki.Parser instance at 0x4484e0>
- self.processor_is_parser = 1
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/MoinMoin/formatter/text_python.py in processor (self=<MoinMoin.formatter.text_python.Formatter instance at 0x46a378>, processor_name=u'rst', lines=[u'#!rst ', u'This is a LinkToANonexistentPage_'], is_parser=1)
- 193 Dependencies = self.defaultDependencies
- 194 if self.__is_static(Dependencies):
- 195 return self.formatter.processor(processor_name, lines, is_parser)
- 196 else:
- 197 return self.__insert_code('%s%s.processor(%r, %r, %r)' %
- self = <MoinMoin.formatter.text_python.Formatter instance at 0x46a378>
- self.formatter = <MoinMoin.formatter.text_html.Formatter instance at 0x24ad00>
- self.formatter.processor = <bound method Formatter.processor of <MoinMoin.formatter.text_html.Formatter instance at 0x24ad00>>
- processor_name = u'rst'
- lines = [u'#!rst ', u'This is a LinkToANonexistentPage_']
- is_parser = 1
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/MoinMoin/formatter/base.py in processor (self=<MoinMoin.formatter.text_html.Formatter instance at 0x24ad00>, processor_name=u'rst', lines=[u'This is a LinkToANonexistentPage_'], is_parser=1)
- 315 lines = lines[1:]
- 316 p = parser('\n'.join(lines), self.request, format_args=args)
- 317 p.format(self)
- 318 del p
- 319 return ''
- p = <MoinMoin.parser.rst.Parser instance at 0xb3f80>
- p.format = <bound method Parser.format of <MoinMoin.parser.rst.Parser instance at 0xb3f80>>
- self = <MoinMoin.formatter.text_html.Formatter instance at 0x24ad00>
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/MoinMoin/parser/rst.py in format (self=<MoinMoin.parser.rst.Parser instance at 0xb3f80>, formatter=<MoinMoin.formatter.text_html.Formatter instance at 0x24ad00>)
- 184 source = self.raw,
- 185 writer = MoinWriter(formatter, self.request),
- 186 settings_overrides = {
- 187 'halt_level': 5,
- 188 'traceback': True,
- settings_overrides undefined
- builtin True = True
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/docutils/core.py in publish_parts (source=u'This is a LinkToANonexistentPage_', source_path=None, source_class=<class docutils.io.StringInput at 0x58d720>, destination_path=None, reader=None, reader_name='standalone', parser=None, parser_name='restructuredtext', writer=<MoinMoin.parser.rst.MoinWriter instance at 0xb7148>, writer_name='pseudoxml', settings=None, settings_spec=None, settings_overrides={'file_insertion_enabled': 0, 'halt_level': 5, 'raw_enabled': 0, 'stylesheet_path': '', '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
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/docutils/core.py in publish_programmatically (source_class=<class docutils.io.StringInput at 0x58d720>, source=u'This is a LinkToANonexistentPage_', source_path=None, destination_class=<class docutils.io.StringOutput at 0x58d750>, destination=None, destination_path=None, reader=None, reader_name='standalone', parser=None, parser_name='restructuredtext', writer=<MoinMoin.parser.rst.MoinWriter instance at 0xb7148>, writer_name='pseudoxml', settings=None, settings_spec=None, settings_overrides={'file_insertion_enabled': 0, 'halt_level': 5, 'raw_enabled': 0, 'stylesheet_path': '', '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 at 0xb7f80>
- pub.publish = <bound method Publisher.publish of <docutils.core.Publisher instance at 0xb7f80>>
- enable_exit_status = None
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/docutils/core.py in publish (self=<docutils.core.Publisher instance at 0xb7f80>, argv=None, usage=None, description=None, settings_spec=None, settings_overrides=None, config_section=None, enable_exit_status=None)
- 203 self.apply_transforms()
- 204 output = self.writer.write(self.document, self.destination)
- 205 self.writer.assemble_parts()
- 206 except SystemExit, error:
- 207 exit = 1
- self = <docutils.core.Publisher instance at 0xb7f80>
- self.writer = <MoinMoin.parser.rst.MoinWriter instance at 0xb7148>
- self.writer.assemble_parts = <bound method MoinWriter.assemble_parts of <MoinMoin.parser.rst.MoinWriter instance at 0xb7148>>
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/docutils/writers/html4css1/__init__.py in assemble_parts (self=<MoinMoin.parser.rst.MoinWriter instance at 0xb7148>)
- 176 writers.Writer.assemble_parts(self)
- 177 for part in self.visitor_attributes:
- 178 self.parts[part] = ''.join(getattr(self, part))
- 179
- 180
- self = <MoinMoin.parser.rst.MoinWriter instance at 0xb7148>
- self.parts = {'encoding': 'utf-8', 'version': '0.5', 'whole': u'<title></title>\n<div class="document">\n<p>This i...stentPage">LinkToANonexistentPage</a></p>\n</div>\n'}
- part = 'head_prefix'
- ''.join = <built-in method join of str object at 0x601a20>
- builtin getattr = <built-in function getattr>
AttributeError
MoinWriter instance has no attribute 'head_prefix'
- args = ("MoinWriter instance has no attribute 'head_prefix'",)
System Details
- Date: Wed, 31 May 2006 18:45:26 +0000
- Platform: Darwin braeburn.amath.unc.edu 8.6.0 Darwin Kernel Version 8.6.0: Tue Mar 7 16:58:48 PST 2006; root:xnu-792.6.70.obj~1/RELEASE_PPC Power Macintosh
- Python: Python 2.4.1 (/usr/local/bin/python)
- MoinMoin: Release 1.5.3 (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.