Attachment '10WFA-contribution.tex'

Download

--> -->

AttributeError

Formatter instance has no attribute 'page'

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.

  1. /usr/local/lib/python2.4/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object>)

    1. 1281 self.page.send_page(msg=msg)
    2. 1282 else:
    3. 1283 handler(self.page.page_name, self)
    4. 1284
    5. 1285 # every action that didn't use to raise MoinMoinNoFooter must call this now:
    • handler = <function execute>
    • self = <MoinMoin.request.request_cgi.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'10thWFA'
  2. /usr/local/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in execute (pagename=u'10thWFA', request=<MoinMoin.request.request_cgi.Request object>)

    1. 583 elif do == 'view':
    2. 584 if request.user.may.read(pagename):
    3. 585 view_file(pagename, request)
    4. 586 else:
    5. 587 msg = _('You are not allowed to view attachments of this page.', formatted=False)
    • global view_file = <function view_file>
    • pagename = u'10thWFA'
    • request = <MoinMoin.request.request_cgi.Request object>
  3. /usr/local/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in view_file (pagename=u'10thWFA', request=<MoinMoin.request.request_cgi.Request object>)

    1. 1103 # send body
    2. 1104 request.write(request.formatter.startContent())
    3. 1105 send_viewfile(pagename, request)
    4. 1106 send_uploadform(pagename, request)
    5. 1107 request.write(request.formatter.endContent())
    • global send_viewfile = <function send_viewfile>
    • pagename = u'10thWFA'
    • request = <MoinMoin.request.request_cgi.Request object>
  4. /usr/local/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in send_viewfile (pagename=u'10thWFA', request=<MoinMoin.request.request_cgi.Request object>)

    1. 1037 content = wikiutil.decodeUnknownInput(content)
    2. 1038 colorizer = Parser(content, request, filename=filename)
    3. 1039 colorizer.format(request.formatter)
    4. 1040 return
    5. 1041 except IOError:
    • colorizer = <wikiconfig.plugin.parser.latex.Parser instance>
    • colorizer.format = <bound method Parser.format of <wikiconfig.plugin.parser.latex.Parser instance>>
    • request = <MoinMoin.request.request_cgi.Request object>
    • request.formatter = <MoinMoin.formatter.text_html.Formatter instance>
  5. /moin/KMAT/data/plugin/parser/latex.py in format (self=<wikiconfig.plugin.parser.latex.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>)

    1. 149
    2. 150 def format(self, formatter):
    3. 151 self.request.write(self._internal_format(formatter, self.raw))
    4. 152
    5. 153 def get(self, formatter, inputtex, prologue, para=False):
    • self = <wikiconfig.plugin.parser.latex.Parser instance>
    • self.request = <MoinMoin.request.request_cgi.Request object>
    • self.request.write = <bound method Request.write of <MoinMoin.request.request_cgi.Request object>>
    • self._internal_format = <bound method Parser._internal_format of <wikiconfig.plugin.parser.latex.Parser instance>>
    • formatter = <MoinMoin.formatter.text_html.Formatter instance>
    • self.raw = u'\\documentclass[11pt,a4paper]{amsart}\r\n\r\n%*******...nd{thebibliography}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\\end{document}\r\n'
  6. /moin/KMAT/data/plugin/parser/latex.py in _internal_format (self=<wikiconfig.plugin.parser.latex.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>, text=u'\\documentclass[11pt,a4paper]{amsart}\r\n\r\n%*******...nd{thebibliography}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\\end{document}\r\n')

    1. 146 if callable(getattr(formatter, 'johill_sidecall_emit_latex', None)):
    2. 147 return formatter.johill_sidecall_emit_latex(tex)
    3. 148 return self.get(formatter, tex, prologue, True)
    4. 149
    5. 150 def format(self, formatter):
    • self = <wikiconfig.plugin.parser.latex.Parser instance>
    • self.get = <bound method Parser.get of <wikiconfig.plugin.parser.latex.Parser instance>>
    • formatter = <MoinMoin.formatter.text_html.Formatter instance>
    • tex = u'\\documentclass[11pt,a4paper]{amsart}\r\n\r\n%*******...nd{thebibliography}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\\end{document}\r\n'
    • prologue = ''
    • builtin True = True
  7. /moin/KMAT/data/plugin/parser/latex.py in get (self=<wikiconfig.plugin.parser.latex.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>, inputtex=u'\\documentclass[11pt,a4paper]{amsart}\r\n\r\n%*******...nd{thebibliography}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\\end{document}\r\n', prologue='', para=True)

    1. 152
    2. 153 def get(self, formatter, inputtex, prologue, para=False):
    3. 154 if not self.request.latex_cleanup_done.has_key(formatter.page.page_name):
    4. 155 self.request.latex_cleanup_done[formatter.page.page_name] = True
    5. 156 self.cleanup(formatter.page.page_name)
    • self = <wikiconfig.plugin.parser.latex.Parser instance>
    • self.request = <MoinMoin.request.request_cgi.Request object>
    • self.request.latex_cleanup_done = {}
    • self.request.latex_cleanup_done.has_key = <built-in method has_key of dict object>
    • formatter = <MoinMoin.formatter.text_html.Formatter instance>
    • formatter.page undefined

AttributeError

Formatter instance has no attribute 'page'

  • args = ("Formatter instance has no attribute 'page'",)
  • message = "Formatter instance has no attribute 'page'"

System Details

  • Date: Tue, 22 May 2018 15:37:41 +0000
  • Platform: Linux euler 2.6.32-5-686 #1 SMP Sun Dec 6 22:32:17 UTC 2015 i686
  • Python: Python 2.6.6 (/usr/bin/python)
  • MoinMoin: Release 1.6.2 (release)