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 execute>
- self = <MoinMoin.request.RequestCGI object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'Wiki\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9'
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in execute (pagename=u'Wiki\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9', request=<MoinMoin.request.RequestCGI object>)
- 508 elif request.form['do'][0] == 'get':
- 509 if request.user.may.read(pagename):
- 510 get_file(pagename, request)
- 511 else:
- 512 msg = _('You are not allowed to get attachments from this page.')
- global get_file = <function get_file>
- pagename = u'Wiki\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9'
- request = <MoinMoin.request.RequestCGI object>
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in get_file (pagename=u'Wiki\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9', request=<MoinMoin.request.RequestCGI object>)
- 772 import shutil
- 773
- 774 filename, fpath = _access_file(pagename, request)
- 775 if not filename: return # error msg already sent in _access_file
- 776
- filename undefined
- fpath undefined
- global _access_file = <function _access_file>
- pagename = u'Wiki\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9'
- request = <MoinMoin.request.RequestCGI object>
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in _access_file (pagename=u'Wiki\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9', request=<MoinMoin.request.RequestCGI object>)
- 203 error = _("Attachment '%(filename)s' does not exist!") % {'filename': filename}
- 204
- 205 error_msg(pagename, request, error)
- 206 return (None, None)
- 207
- global error_msg = <function error_msg>
- pagename = u'Wiki\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9'
- request = <MoinMoin.request.RequestCGI object>
- error = u"\u6dfb\u4ed8\u3059\u308b\u30d5\u30a1\u30a4\u30eb'mytest.png'\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002"
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in error_msg (pagename=u'Wiki\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9', request=<MoinMoin.request.RequestCGI object>, msg=u"\u6dfb\u4ed8\u3059\u308b\u30d5\u30a1\u30a4\u30eb'mytest.png'\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002")
- 329
- 330 def error_msg(pagename, request, msg):
- 331 Page(request, pagename).send_page(request, msg=msg)
- 332
- 333
- global Page = <class MoinMoin.Page.Page>
- request = <MoinMoin.request.RequestCGI object>
- pagename = u'Wiki\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9'
- ).send_page undefined
- msg = u"\u6dfb\u4ed8\u3059\u308b\u30d5\u30a1\u30a4\u30eb'mytest.png'\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002"
/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=u"\u6dfb\u4ed8\u3059\u308b\u30d5\u30a1\u30a4\u30eb'mytest.png'\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002", **keywords={})
- 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 = 7
/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\u4e0b\u306e4\u3064\u306e\'-\'\u4ee5\u4e0b\u3067\u3001\u81ea\u7531\u306b\u7de8\u96c6\u3092\u8a66\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305f\u3060\u3057\u3001\u5358\u306b\u5b9f\u9a13\u306e\u305f\u3081\u306b\'\'\'\u65b0\u3057\u3044\u30da\u30fc\u30b8...as d\n(23:40) < jroes> yeah :/\n}}}\n\n\n["\u65b0\u30da\u30fc\u30b8"]\n', format_args=u'', do_cache=1, **kw={'start_line': 7})
- 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 0x803ba14b0, file "Wikiサンドボックス", 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 0x803ba14b0, file "Wikiサンドボックス", 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 0x803ba14b0, file "Wikiサンドボックス", line 2>
/home/osakichi/www/Wikiサンドボックス 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 03:57:54 +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)