--> -->

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. /opt/wbo/site/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object>)

    1. 1372 self.page.send_page()
    2. 1373 else:
    3. 1374 handler(self.page.page_name, self)
    4. 1375
    5. 1376 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function do_show>
    • self = <MoinMoin.request.request_wsgi.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'WordIndex'
  2. /opt/wbo/site/MoinMoin/action/__init__.py in do_show (pagename=u'WordIndex', request=<MoinMoin.request.request_wsgi.Request object>, content_only=0, count_hit=1, cacheable=1, print_mode=0)

    1. 250 count_hit=count_hit,
    2. 251 print_mode=print_mode,
    3. 252 content_only=content_only,
    4. 253 )
    5. 254
    • content_only = 0
  3. /opt/wbo/site/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})

    1. 1204 format_args=pi['formatargs'],
    2. 1205 do_cache=do_cache,
    3. 1206 start_line=pi['lines'])
    4. 1207
    5. 1208 # check for pending footnotes
    • start_line undefined
    • pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 7}
  4. /opt/wbo/site/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_wsgi.Request object>, body=u'This is an index of all words occuring in page t...on -- other indexing schemes\n\n----\n<<WordIndex>>\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 7})

    1. 1292 try:
    2. 1293 code = self.loadCache(request)
    3. 1294 self.execute(request, parser, code)
    4. 1295 except Exception, e:
    5. 1296 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_wsgi.Request object>
    • parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
    • code = <code object <module> at 0x7f502fce3930, file "WordIndex", line 2>
  5. /opt/wbo/site/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_wsgi.Request object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>, code=<code object <module> at 0x7f502fce3930, file "WordIndex", line 2>)

    1. 1323 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1324 try:
    3. 1325 exec code
    4. 1326 except "CacheNeedsUpdate": # convert the exception
    5. 1327 raise Exception("CacheNeedsUpdate")
    • code = <code object <module> at 0x7f502fce3930, file "WordIndex", line 2>
  6. /opt/wbo/site/WordIndex in ()

TypeError

'dict' object is not callable

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

System Details

  • Date: Tue, 27 Sep 2016 10:22:46 +0000
  • Platform: Linux cat 3.13.0-76-generic #120-Ubuntu SMP Mon Jan 18 15:59:10 UTC 2016 x86_64
  • Python: Python 2.7.6 (/opt/wbo/env/bin/uwsgi)
  • MoinMoin: Release 1.8.3 (release)