FindPage

--> -->

TypeError

'dict' object is not callable

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. /home/moin/moin/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_fcgi.Request object>)

    1. 1302 self.page.send_page(msg=msg)
    2. 1303 else:
    3. 1304 handler(self.page.page_name, self)
    4. 1305
    5. 1306 # every action that didn't use to raise MoinMoinNoFooter must call this now:
    • handler = <function do_show>
    • self = <MoinMoin.request.request_fcgi.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'FindPage'
  2. /home/moin/moin/MoinMoin/action/__init__.py in do_show (pagename=u'FindPage', request=<MoinMoin.request.request_fcgi.Request object>, content_only=0, count_hit=1, cacheable=1, print_mode=0)

    1. 239 count_hit=count_hit,
    2. 240 print_mode=print_mode,
    3. 241 content_only=content_only,
    4. 242 )
    5. 243
    • content_only = 0
  3. /home/moin/moin/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, msg='', **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})

    1. 1186 format_args=pi['formatargs'],
    2. 1187 do_cache=do_cache,
    3. 1188 start_line=pi['lines'])
    4. 1189
    5. 1190 # check for pending footnotes
    • start_line undefined
    • pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 7}
  4. /home/moin/moin/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_fcgi.Request object>, body=u'\n<<AdvancedSearch>>\n\nYou can use regular express...* SiteNavigation: a longer list of things to try\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 7})

    1. 1274 try:
    2. 1275 code = self.loadCache(request)
    3. 1276 self.execute(request, parser, code)
    4. 1277 except Exception, e:
    5. 1278 if not is_cache_exception(e):
    • self = <MoinMoin.Page.Page object>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page object>>
    • request = <MoinMoin.request.request_fcgi.Request object>
    • parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
    • code = <code object <module> at 0x7efe4e2d3eb0, file "FindPage", line 2>
  5. /home/moin/moin/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_fcgi.Request object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>, code=<code object <module> at 0x7efe4e2d3eb0, file "FindPage", line 2>)

    1. 1305 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1306 try:
    3. 1307 exec code
    4. 1308 except "CacheNeedsUpdate": # convert the exception
    5. 1309 raise Exception("CacheNeedsUpdate")
    • code = <code object <module> at 0x7efe4e2d3eb0, file "FindPage", line 2>
  6. /home/moin/moin.labix.org/moin/FindPage in ()

TypeError

'dict' object is not callable

  • args = ("'dict' object is not callable",)
  • message = "'dict' object is not callable"

System Details

  • Date: Tue, 19 Mar 2024 08:08:30 +0000
  • Platform: Linux pdx1-shared-a1-30 5.15.86-grsec-bnxt-focal+ #1 SMP Wed Oct 11 22:07:10 UTC 2023 x86_64
  • Python: Python 2.7.18 (/usr/bin/python)
  • MoinMoin: Release 1.6.4 (release)