--> -->

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/osakichi/moin/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)

    1. 1170 self.page.send_page(self, msg=msg)
    2. 1171 else:
    3. 1172 handler(self.page.page_name, self)
    4. 1173
    5. 1174 # generate page footer (actions that do not want this footer use
    • handler = <function do_print>
    • self = <MoinMoin.request.RequestCGI object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'\u5c0b\u627e\u9801\u9762'
  2. /home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_print (pagename=u'\u5c0b\u627e\u9801\u9762', request=<MoinMoin.request.RequestCGI object>)

    1. 486
    2. 487 def do_print(pagename, request):
    3. 488 do_show(pagename, request)
    4. 489
    5. 490
    • global do_show = <function do_show>
    • pagename = u'\u5c0b\u627e\u9801\u9762'
    • request = <MoinMoin.request.RequestCGI object>
  3. /home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'\u5c0b\u627e\u9801\u9762', 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'\u5c0b\u627e\u9801\u9762'
    • ).send_page undefined
    • count_hit undefined
  4. /home/osakichi/moin/lib/python2.4/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 = 8
  5. /home/osakichi/moin/lib/python2.4/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'\u4f60\u53ef\u4ee5\u5728\u9019\u88e1\u6aa2\u7d22\u9019\u500b["\u4e2d\u6587\u7684WikiWikiWeb"]\u7684\u6240\u6709\u9801\u9762. \u641c\u5c0b\u4e0d\u5206\u5927\u5c0f\u5beb.\n\n\u63d0\u4f9b\u5e7e...\u4e0b\u9762\u8f38\u5165\u9801\u9762\u6a19\u984c, \u76f4\u63a5\u9023\u53bb\u90a3\u4e00\u9801, \u5982\u679c\u8a72\u9801\u4e0d\u5b58\u5728, \u5c31\u53ef\u4ee5\u65b0\u589e\u4e00\u9801:\n\n [[GoTo]]\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 <module> at 0x803b56230, file "尋找頁面", line 2>
  6. /home/osakichi/moin/lib/python2.4/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 0x803b56230, file "尋找頁面", 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 0x803b56230, file "尋找頁面", line 2>
  7. /home/osakichi/www/尋找頁面 in ()

TypeError

'dict' object is not callable

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

System Details

  • Date: Sun, 22 Dec 2024 18:02:53 +0000
  • Platform: FreeBSD www612.sakura.ne.jp 11.2-RELEASE-p16 FreeBSD 11.2-RELEASE-p16 #2: Mon Dec 9 13:33:15 JST 2024 root@www4400.sakura.ne.jp:/home/obj/usr/src/sys/GENERIC amd64
  • Python: Python 2.7.18 (/usr/local/bin/python)
  • MoinMoin: Release 1.5.7 (release)