--> -->

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. /afs/cc.monash.edu.au/users/s/a/sangus/moin158libs/lib/python2.3/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)

    1. 1205 self.page.send_page(self, msg=msg)
    2. 1206 else:
    3. 1207 handler(self.page.page_name, self)
    4. 1208
    5. 1209 # generate page footer (actions that do not want this footer use
    • handler = <function do_show>
    • self = <MoinMoin.request.RequestCGI object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'WikiCourse/BasicIntroductionHandOut'
  2. /afs/cc.monash.edu.au/users/s/a/sangus/moin158libs/lib/python2.3/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'WikiCourse/BasicIntroductionHandOut', request=<MoinMoin.request.RequestCGI object>)

    1. 466 else:
    2. 467 request.cacheable = 1
    3. 468 Page(request, pagename).send_page(request, count_hit=1)
    4. 469
    5. 470
    • global Page = <class MoinMoin.Page.Page>
    • request = <MoinMoin.request.RequestCGI object>
    • pagename = u'WikiCourse/BasicIntroductionHandOut'
    • ).send_page undefined
    • count_hit undefined
  3. /afs/cc.monash.edu.au/users/s/a/sangus/moin158libs/lib/python2.3/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'count_hit': 1})

    1. 1254 format_args=pi_formatargs,
    2. 1255 do_cache=do_cache,
    3. 1256 start_line=pi_lines)
    4. 1257
    5. 1258 # check for pending footnotes
    • start_line undefined
    • pi_lines = 11
  4. /afs/cc.monash.edu.au/users/s/a/sangus/moin158libs/lib/python2.3/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'\n[[Include(WikiCourse/BasicIntroduction/000 What...de(WikiCourse/BasicIntroduction/900 Exercises)]]\n', format_args=u'', do_cache=1, **kw={'start_line': 11})

    1. 1345 try:
    2. 1346 code = self.loadCache(request)
    3. 1347 self.execute(request, parser, code)
    4. 1348 except Exception, e:
    5. 1349 if not is_cache_exception(e):
    • self = <MoinMoin.Page.Page instance>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestCGI object>
    • parser = <MoinMoin.parser.wiki.Parser instance>
    • code = <code object <module> at 0x7fe1b0125d30, file "WikiCourse/BasicIntroductionHandOut", line 2>
  5. /afs/cc.monash.edu.au/users/s/a/sangus/moin158libs/lib/python2.3/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object <module> at 0x7fe1b0125d30, file "WikiCourse/BasicIntroductionHandOut", line 2>)

    1. 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1375 try:
    3. 1376 exec code
    4. 1377 except 'CacheNeedsUpdate':
    5. 1378 raise Exception('CacheNeedsUpdate')
    • code = <code object <module> at 0x7fe1b0125d30, file "WikiCourse/BasicIntroductionHandOut", line 2>
  6. /afs/cc.monash.edu.au/users/s/a/sangus/WWW/cgi-bin/WikiCourse/BasicIntroductionHandOut in ()

  7. /afs/cc.monash.edu.au/users/s/a/sangus/moin158libs/lib/python2.3/site-packages/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'Include', args=u'WikiCourse/BasicIntroduction/000 What is a Wiki?')

    1. 288 def macro(self, macro_obj, name, args):
    2. 289 # call the macro
    3. 290 return macro_obj.execute(name, args)
    4. 291
    5. 292 def _get_bang_args(self, line):
    • macro_obj = <MoinMoin.wikimacro.Macro instance>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>
    • name = u'Include'
    • args = u'WikiCourse/BasicIntroduction/000 What is a Wiki?'
  8. /afs/cc.monash.edu.au/users/s/a/sangus/moin158libs/lib/python2.3/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'Include', args=u'WikiCourse/BasicIntroduction/000 What is a Wiki?')

    1. 118 else:
    2. 119 raise ImportError("Cannot load macro %s" % macro_name)
    3. 120 return execute(self, args)
    4. 121
    5. 122 def _m_lang(self, text):
    • execute = <function execute>
    • self = <MoinMoin.wikimacro.Macro instance>
    • args = u'WikiCourse/BasicIntroduction/000 What is a Wiki?'
  9. /afs/cc.monash.edu.au/users/s/a/sangus/moin158libs/lib/python2.3/site-packages/MoinMoin/macro/Include.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, text=u'WikiCourse/BasicIntroduction/000 What is a Wiki?', args_re=<_sre.SRE_Pattern object>, title_re=<_sre.SRE_Pattern object>, called_by_toc=0)

    1. 220 cid = request.makeUniqueID("Include_%s" % wikiutil.quoteWikinameURL(inc_page.page_name))
    2. 221 inc_page.send_page(request, content_only=1, content_id=cid,
    3. 222 omit_footnotes=True)
    4. 223 result.append(strfile.getvalue())
    5. 224 finally:
    • omit_footnotes undefined
    • builtin True = True
  10. /afs/cc.monash.edu.au/users/s/a/sangus/moin158libs/lib/python2.3/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'content_id': u'Include_WikiCourse/BasicIntroduction/000_What_is_a_Wiki%3F', 'content_only': 1, 'omit_footnotes': True})

    1. 1254 format_args=pi_formatargs,
    2. 1255 do_cache=do_cache,
    3. 1256 start_line=pi_lines)
    4. 1257
    5. 1258 # check for pending footnotes
    • start_line undefined
    • pi_lines = 8
  11. /afs/cc.monash.edu.au/users/s/a/sangus/moin158libs/lib/python2.3/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'[[Navigation(slides)]]\n\n= What is a Wiki? =\n\n * ...* etc...\n\n----\nFor details see HelpForBeginners.\n', format_args=u'', do_cache=1, **kw={'start_line': 8})

    1. 1345 try:
    2. 1346 code = self.loadCache(request)
    3. 1347 self.execute(request, parser, code)
    4. 1348 except Exception, e:
    5. 1349 if not is_cache_exception(e):
    • self = <MoinMoin.Page.Page instance>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestCGI object>
    • parser = <MoinMoin.parser.wiki.Parser instance>
    • code = <code object ? at 0x7fe1affd6030, file "WikiCourse/BasicIntroduction/000 What is a Wiki?", line 2>
  12. /afs/cc.monash.edu.au/users/s/a/sangus/moin158libs/lib/python2.3/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object ? at 0x7fe1affd6030, file "WikiCourse/BasicIntroduction/000 What is a Wiki?", line 2>)

    1. 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1375 try:
    3. 1376 exec code
    4. 1377 except 'CacheNeedsUpdate':
    5. 1378 raise Exception('CacheNeedsUpdate')
    • code = <code object ? at 0x7fe1affd6030, file "WikiCourse/BasicIntroduction/000 What is a Wiki?", line 2>
  13. /afs/cc.monash.edu.au/users/s/a/sangus/WWW/cgi-bin/WikiCourse/BasicIntroduction/000 What is a Wiki? in ?

TypeError

'dict' object is not callable

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

System Details

  • Date: Mon, 20 May 2024 04:24:49 +0000
  • Platform: Linux is-web09-v02.its.monash.edu 3.10.0-1160.114.2.el7.x86_64 #1 SMP Sun Mar 3 08:18:39 EST 2024 x86_64
  • Python: Python 2.7.5 (/usr/bin/python)
  • MoinMoin: Release 1.5.8 (release)