Attachment '9WFA-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.
/usr/local/lib/python2.4/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object>)
- 1281 self.page.send_page(msg=msg)
- 1282 else:
- 1283 handler(self.page.page_name, self)
- 1284
- 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'9thWFA'
/usr/local/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in execute (pagename=u'9thWFA', request=<MoinMoin.request.request_cgi.Request object>)
- 583 elif do == 'view':
- 584 if request.user.may.read(pagename):
- 585 view_file(pagename, request)
- 586 else:
- 587 msg = _('You are not allowed to view attachments of this page.', formatted=False)
- global view_file = <function view_file>
- pagename = u'9thWFA'
- request = <MoinMoin.request.request_cgi.Request object>
/usr/local/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in view_file (pagename=u'9thWFA', request=<MoinMoin.request.request_cgi.Request object>)
- 1103 # send body
- 1104 request.write(request.formatter.startContent())
- 1105 send_viewfile(pagename, request)
- 1106 send_uploadform(pagename, request)
- 1107 request.write(request.formatter.endContent())
- global send_viewfile = <function send_viewfile>
- pagename = u'9thWFA'
- request = <MoinMoin.request.request_cgi.Request object>
/usr/local/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in send_viewfile (pagename=u'9thWFA', request=<MoinMoin.request.request_cgi.Request object>)
- 1037 content = wikiutil.decodeUnknownInput(content)
- 1038 colorizer = Parser(content, request, filename=filename)
- 1039 colorizer.format(request.formatter)
- 1040 return
- 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>
/moin/KMAT/data/plugin/parser/latex.py in format (self=<wikiconfig.plugin.parser.latex.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>)
- 149
- 150 def format(self, formatter):
- 151 self.request.write(self._internal_format(formatter, self.raw))
- 152
- 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'
/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')
- 146 if callable(getattr(formatter, 'johill_sidecall_emit_latex', None)):
- 147 return formatter.johill_sidecall_emit_latex(tex)
- 148 return self.get(formatter, tex, prologue, True)
- 149
- 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
/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)
- 152
- 153 def get(self, formatter, inputtex, prologue, para=False):
- 154 if not self.request.latex_cleanup_done.has_key(formatter.page.page_name):
- 155 self.request.latex_cleanup_done[formatter.page.page_name] = True
- 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: Thu, 21 Nov 2024 10:51:27 +0000
- Platform: Linux euler 4.19.0-26-686-pae #1 SMP Debian 4.19.304-1 (2024-01-09) i686
- Python: Python 2.7.16 (/usr/bin/python)
- MoinMoin: Release 1.6.2 (release)