--> -->

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/moin164libs/lib/python2.4/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.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_cgi.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'WikiCourseHandOut'
  2. /afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'WikiCourseHandOut', request=<MoinMoin.request.request_cgi.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. /afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, msg='', **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})

    1. 1179 format_args=pi['formatargs'],
    2. 1180 do_cache=do_cache,
    3. 1181 start_line=pi['lines'])
    4. 1182
    5. 1183 # check for pending footnotes
    • start_line undefined
    • pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 8}
  4. /afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_cgi.Request object>, body=u'\n<<Include(^WikiCourse/.*)>>\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 8})

    1. 1267 try:
    2. 1268 code = self.loadCache(request)
    3. 1269 self.execute(request, parser, code)
    4. 1270 except Exception, e:
    5. 1271 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 0x7f30ced223b0, file "WikiCourseHandOut", line 2>
  5. /afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/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 0x7f30ced223b0, file "WikiCourseHandOut", line 2>)

    1. 1298 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1299 try:
    3. 1300 exec code
    4. 1301 except "CacheNeedsUpdate": # convert the exception
    5. 1302 raise Exception("CacheNeedsUpdate")
    • code = <code object <module> at 0x7f30ced223b0, file "WikiCourseHandOut", line 2>
  6. /afs/cc.monash.edu.au/users/s/a/sangus/WWW/cgi-bin/WikiCourseHandOut in ()

  7. /afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.macro.Macro instance>, name=u'Include', args=u'^WikiCourse/.*', markup=u'<<Include(^WikiCourse/.*)>>')

    1. 306 # call the macro
    2. 307 try:
    3. 308 return macro_obj.execute(name, args)
    4. 309 except ImportError, err:
    5. 310 errmsg = unicode(err)
    • macro_obj = <MoinMoin.macro.Macro instance>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance>>
    • name = u'Include'
    • args = u'^WikiCourse/.*'
  8. /afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance>, macro_name=u'Include', args=u'^WikiCourse/.*')

    1. 114 else:
    2. 115 raise ImportError("Cannot load macro %s" % macro_name)
    3. 116 return execute(self, args)
    4. 117
    5. 118 def _m_lang(self, text):
    • execute = <function execute>
    • self = <MoinMoin.macro.Macro instance>
    • args = u'^WikiCourse/.*'
  9. /afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/macro/Include.py in execute (macro=<MoinMoin.macro.Macro instance>, text=u'^WikiCourse/.*', args_re=<_sre.SRE_Pattern object>, title_re=<_sre.SRE_Pattern object>, called_by_toc=0)

    1. 216 cid = request.makeUniqueID("Include_%s" % wikiutil.quoteWikinameURL(inc_page.page_name))
    2. 217 inc_page.send_page(content_only=1, content_id=cid,
    3. 218 omit_footnotes=True)
    4. 219 result.append(strfile.getvalue())
    5. 220 finally:
    • omit_footnotes undefined
    • builtin True = True
  10. /afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, msg='', **keywords={'content_id': u'Include_WikiCourse/01%20What%20is%20a%20MoinMoin%20wiki%3F', 'content_only': 1, 'omit_footnotes': True})

    1. 1179 format_args=pi['formatargs'],
    2. 1180 do_cache=do_cache,
    3. 1181 start_line=pi['lines'])
    4. 1182
    5. 1183 # check for pending footnotes
    • start_line undefined
    • pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 8}
  11. /afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_cgi.Request object>, body=u'<<Navigation(slides)>>\n= What is a wiki? =\nA wik...ns can be made by also using the GPL and Python.\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 8})

    1. 1267 try:
    2. 1268 code = self.loadCache(request)
    3. 1269 self.execute(request, parser, code)
    4. 1270 except Exception, e:
    5. 1271 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 ? at 0x7f30ced22530, file "WikiCourse/01 What is a MoinMoin wiki?", line 2>
  12. /afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/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 ? at 0x7f30ced22530, file "WikiCourse/01 What is a MoinMoin wiki?", line 2>)

    1. 1298 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1299 try:
    3. 1300 exec code
    4. 1301 except "CacheNeedsUpdate": # convert the exception
    5. 1302 raise Exception("CacheNeedsUpdate")
    • code = <code object ? at 0x7f30ced22530, file "WikiCourse/01 What is a MoinMoin wiki?", line 2>
  13. /afs/cc.monash.edu.au/users/s/a/sangus/WWW/cgi-bin/WikiCourse/01 What is a MoinMoin wiki? in ?

TypeError

'dict' object is not callable

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

System Details

  • Date: Thu, 09 May 2024 01:03:04 +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.6.4 (release)