--> -->

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. /usr/lib/python2.6/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_show>
    • self = <MoinMoin.request.RequestCGI object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'\u9996\u9875'
  2. /usr/lib/python2.6/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'\u9996\u9875', 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'\u9996\u9875'
    • ).send_page undefined
    • count_hit undefined
  3. /usr/lib/python2.6/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 = 7
  4. /usr/lib/python2.6/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= \u7ef4\u57fa\u94fe\u63a5\u540d \u7ef4\u57fa =\n\n\u8fd9\u4e2a\u7ef4\u57fa\u662f\u6709\u5173\u4ec0\u4e48\u7684?\n\n\u60a8\u4e5f\u8bb8\u53ef\u4ee5\u4ece\u8fd9\u4e9b\u8fde\u63a5\u5f00\u59cb:\n * ["\u6700...\u4e2d\u6587MoinMoin"]\u662fMoinMoin\u7684\u7b80\u4f53\u4e2d\u6587\u7248\u672c\u3002\n\n\u6b64\u9875\u7684\u82f1\u6587\u7248\u672c\uff1aFrontPage\n', format_args=u'', do_cache=1, **kw={'start_line': 7})

    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 0x993f890, file "首页", line 2>
  5. /usr/lib/python2.6/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 0x993f890, 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 0x993f890, file "首页", line 2>
  6. /home/aduret-lutz/web-spot/首页 in ()

TypeError

'dict' object is not callable

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

System Details

  • Date: Sat, 16 Dec 2017 20:44:02 +0000
  • Platform: Linux www-systeme.lip6.fr 2.6.38.8-desktop-8.mga #1 SMP Fri Nov 4 00:27:44 UTC 2011 i686
  • Python: Python 2.7.1 (/usr/bin/python)
  • MoinMoin: Release 1.5.7 (release)