[Show "Revision History"] [Show "General Page Infos"] [Show "Page hits and edits"] --> -->

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. /servers/wiki/moin-active/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object>)

    1. 1309 self.page.send_page()
    2. 1310 else:
    3. 1311 handler(self.page.page_name, self)
    4. 1312
    5. 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function execute>
    • self = <MoinMoin.request.request_wsgi.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'GCHECK'
  2. /servers/wiki/moin-active/MoinMoin/action/info.py in execute (pagename=u'GCHECK', request=<MoinMoin.request.request_wsgi.Request object>)

    1. 221 request.write(hitcounts.linkto(pagename, request, 'page=' + wikiutil.url_quote(pagename)))
    2. 222 elif show_general:
    3. 223 general(page, pagename, request)
    4. 224 else:
    5. 225 history(page, pagename, request)
    • general = <function general>
    • page = <MoinMoin.Page.Page object>
    • pagename = u'GCHECK'
    • request = <MoinMoin.request.request_wsgi.Request object>
  3. /servers/wiki/moin-active/MoinMoin/action/info.py in general (page=<MoinMoin.Page.Page object>, pagename=u'GCHECK', request=<MoinMoin.request.request_wsgi.Request object>)

    1. 25 f = request.formatter
    2. 26
    3. 27 request.write(f.heading(1, 1),
    4. 28 f.text(_('General Information')),
    5. 29 f.heading(0, 1))
    • request = <MoinMoin.request.request_wsgi.Request object>
    • request.write = <bound method Request.write of <MoinMoin.request.request_wsgi.Request object>>
    • f = <MoinMoin.formatter.text_html.Formatter instance>
    • f.heading = <bound method Formatter.heading of <MoinMoin.formatter.text_html.Formatter instance>>
    • f.text = <bound method Formatter.text of <MoinMoin.formatter.text_html.Formatter instance>>
    • _ = <function <lambda>>
  4. /servers/wiki/moin-active/MoinMoin/formatter/text_html.py in heading (self=<MoinMoin.formatter.text_html.Formatter instance>, on=1, depth=1, **kw={})

    1. 1195
    2. 1196 if self._allow_section_edit:
    3. 1197 if not self.request.user.may.write(self.page.page_name):
    4. 1198 self._allow_section_edit = 0
    5. 1199
    • self = <MoinMoin.formatter.text_html.Formatter instance>
    • self.request = <MoinMoin.request.request_wsgi.Request object>
    • self.request.user = <MoinMoin.user.User at 0x7f0d48625d88 name:'' valid:0>
    • self.request.user.may = <MoinMoin.security.Permissions instance>
    • self.request.user.may.write = <function <lambda>>
    • self.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: Sun, 17 Aug 2025 13:17:29 +0000
  • Platform: Linux mics 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64
  • Python: Python 2.7.3 (/usr/bin/python)
  • MoinMoin: Release 1.8.5 (release)