--> -->

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. /home3/e2kplra0/lib/python2.4/site-packages-181/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.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 do_show>
    • self = <MoinMoin.request.request_cgi.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'EnergyCrisis'
  2. /home3/e2kplra0/lib/python2.4/site-packages-181/MoinMoin/action/__init__.py in do_show (pagename=u'EnergyCrisis', request=<MoinMoin.request.request_cgi.Request object>, content_only=0, count_hit=1, cacheable=1, print_mode=0)

    1. 251 count_hit=count_hit,
    2. 252 print_mode=print_mode,
    3. 253 content_only=content_only,
    4. 254 )
    5. 255
    • content_only = 0
  3. /home3/e2kplra0/lib/python2.4/site-packages-181/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})

    1. 1195 format_args=pi['formatargs'],
    2. 1196 do_cache=do_cache,
    3. 1197 start_line=pi['lines'])
    4. 1198
    5. 1199 # check for pending footnotes
    • start_line undefined
    • pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': 'wiki', 'formatargs': '', 'language': 'en', 'lines': 1}
  4. /home3/e2kplra0/lib/python2.4/site-packages-181/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_cgi.Request object>, body=u'= The Energy Crisis: A Summary for Meteorologist...from photosynthesis.\n\n{{attachment:biomass.png}}\n', format='wiki', format_args='', do_cache=1, **kw={'start_line': 1})

    1. 1283 try:
    2. 1284 code = self.loadCache(request)
    3. 1285 self.execute(request, parser, code)
    4. 1286 except Exception, e:
    5. 1287 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_cgi.Request object>
    • parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
    • code = <code object <module> at 0x7f461332c330, file "EnergyCrisis", line 2>
  5. /home3/e2kplra0/lib/python2.4/site-packages-181/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_cgi.Request object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>, code=<code object <module> at 0x7f461332c330, file "EnergyCrisis", line 2>)

    1. 1314 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1315 try:
    3. 1316 exec code
    4. 1317 except "CacheNeedsUpdate": # convert the exception
    5. 1318 raise Exception("CacheNeedsUpdate")
    • code = <code object <module> at 0x7f461332c330, file "EnergyCrisis", line 2>
  6. /home3/e2kplra0/public_html/thoughts/EnergyCrisis in ()

TypeError

'dict' object is not callable

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

System Details

  • Date: Thu, 28 Mar 2024 15:14:09 +0000
  • Platform: Linux cloud199.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
  • Python: Python 2.7.5 (/usr/bin/python)
  • MoinMoin: Release 1.8.1 (release)