6と7のリビジョン間の差分
削除された箇所はこのように表示されます。 | 追加された箇所はこのように表示されます。 |
行 1: | 行 1: |
##acl @USERNAME@:read,write,delete,revert,admin All: | ##acl Known:read,write,delete,revert,admin All: |
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_diff>
- self = <MoinMoin.request.RequestCGI object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8'
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_diff (pagename=u'\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8', request=<MoinMoin.request.RequestCGI object>)
- 170 from MoinMoin.util.diff import diff
- 171 request.write(diff(request, oldpage.get_raw_body(), newpage.get_raw_body()))
- 172 newpage.send_page(request, count_hit=0, content_only=1, content_id="content-below-diff")
- 173 else:
- 174 lines = wikiutil.linediff(oldpage.getlines(), newpage.getlines())
- newpage = <MoinMoin.Page.Page instance>
- newpage.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestCGI object>
- count_hit undefined
- content_only undefined
- content_id 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={'content_id': 'content-below-diff', 'content_only': 1, 'count_hit': 0})
- 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 = 1
/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= \u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044 =\n', format_args='', do_cache=1, **kw={'start_line': 1})
- 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 0x803b8b630, 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 0x803b8b630, 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 0x803b8b630, 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: Mon, 23 Dec 2024 04:07:59 +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)