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.
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)
- 1170 self.page.send_page(self, msg=msg)
- 1171 else:
- 1172 handler(self.page.page_name, self)
- 1173
- 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'\u540d\u8a00\u8b66\u53e5'
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'\u540d\u8a00\u8b66\u53e5', request=<MoinMoin.request.RequestCGI object>)
- 466 else:
- 467 request.cacheable = 1
- 468 Page(request, pagename).send_page(request, count_hit=1)
- 469
- 470
- global Page = <class MoinMoin.Page.Page>
- request = <MoinMoin.request.RequestCGI object>
- pagename = u'\u540d\u8a00\u8b66\u53e5'
- ).send_page undefined
- count_hit undefined
/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})
- 1254 format_args=pi_formatargs,
- 1255 do_cache=do_cache,
- 1256 start_line=pi_lines)
- 1257
- 1258 # check for pending footnotes
- start_line undefined
- pi_lines = 9
/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'\n`RandomQuote`\u5b8f\u968f\u673a\u5730\u4eceFortuneCookies\u7f51\u9875\u4e2d\u7684\u5217\u8868\u4e2d\u9009\u53d6\u4e00\u9879\u3002\u5728\u4e2d\u6587...\u4ee5\u4fbf\u66f4\u597d\u5730\u5904\u7406\u7b80\u4f53\u4e2d\u6587\u3002\u53c2\u9605["\u5e2e\u52a9-\u8bed\u8a00"]\u3002\n\n\u6b64\u9875\u7684\u82f1\u6587\u7248\u672c\uff1aFortuneCookies\n', format_args=u'', do_cache=1, **kw={'start_line': 9})
- 1345 try:
- 1346 code = self.loadCache(request)
- 1347 self.execute(request, parser, code)
- 1348 except Exception, e:
- 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 0x803b929b0, file "名言警句", line 2>
/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 0x803b929b0, file "名言警句", line 2>)
- 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1375 try:
- 1376 exec code
- 1377 except 'CacheNeedsUpdate':
- 1378 raise Exception('CacheNeedsUpdate')
- code = <code object <module> at 0x803b929b0, file "名言警句", line 2>
/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, 10 Nov 2024 07:02:00 +0000
- Platform: FreeBSD www612.sakura.ne.jp 11.2-RELEASE-p15 FreeBSD 11.2-RELEASE-p15 #0: Fri Aug 19 12:13:37 JST 2022 root@www3666.sakura.ne.jp:/usr/obj/home/pkg/src/sys/GENERIC amd64
- Python: Python 2.7.18 (/usr/local/bin/python)
- MoinMoin: Release 1.5.7 (release)