--> -->

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/logistics/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 execute>
    • self = <MoinMoin.request.RequestCGI object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'AtItSection/NiceEditor'
  2. /home/logistics/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in execute (pagename=u'AtItSection/NiceEditor', request=<MoinMoin.request.RequestCGI object>)

    1. 508 elif request.form['do'][0] == 'get':
    2. 509 if request.user.may.read(pagename):
    3. 510 get_file(pagename, request)
    4. 511 else:
    5. 512 msg = _('You are not allowed to get attachments from this page.')
    • global get_file = <function get_file>
    • pagename = u'AtItSection/NiceEditor'
    • request = <MoinMoin.request.RequestCGI object>
  3. /home/logistics/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in get_file (pagename=u'AtItSection/NiceEditor', request=<MoinMoin.request.RequestCGI object>)

    1. 772 import shutil
    2. 773
    3. 774 filename, fpath = _access_file(pagename, request)
    4. 775 if not filename: return # error msg already sent in _access_file
    5. 776
    • filename undefined
    • fpath undefined
    • global _access_file = <function _access_file>
    • pagename = u'AtItSection/NiceEditor'
    • request = <MoinMoin.request.RequestCGI object>
  4. /home/logistics/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in _access_file (pagename=u'AtItSection/NiceEditor', request=<MoinMoin.request.RequestCGI object>)

    1. 203 error = _("Attachment '%(filename)s' does not exist!") % {'filename': filename}
    2. 204
    3. 205 error_msg(pagename, request, error)
    4. 206 return (None, None)
    5. 207
    • global error_msg = <function error_msg>
    • pagename = u'AtItSection/NiceEditor'
    • request = <MoinMoin.request.RequestCGI object>
    • error = u"Attachment 'graphics.png' does not exist!"
  5. /home/logistics/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in error_msg (pagename=u'AtItSection/NiceEditor', request=<MoinMoin.request.RequestCGI object>, msg=u"Attachment 'graphics.png' does not exist!")

    1. 329
    2. 330 def error_msg(pagename, request, msg):
    3. 331 Page(request, pagename).send_page(request, msg=msg)
    4. 332
    5. 333
    • global Page = <class MoinMoin.Page.Page>
    • request = <MoinMoin.request.RequestCGI object>
    • pagename = u'AtItSection/NiceEditor'
    • ).send_page undefined
    • msg = u"Attachment 'graphics.png' does not exist!"
  6. /home/logistics/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg=u"Attachment 'graphics.png' does not exist!", **keywords={})

    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 = 2
  7. /home/logistics/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'= @\u30b7\u30b9\u30c6\u30e0\u90e8 =\n\u30b7\u30b9\u30c6\u30e0\u5c4b\u3055\u3093\u306e\u5099\u5fd8\u9332\n== 0x00\u3092\u6559\u3048\u3066\u304f\u308c\u308b\u30a8\u30c7\u30a3\u30bf ==\n . ...\u3044\u3082\u306e\u3067\u3059\u3002\u7121\u99c4\u306a\u6642\u9593\u3092\u8cbb\u3084\u3057\u3066\u3057\u307e\u308f\u306a\u3044\u305f\u3081\u306b\u30fb\u30fb\u30fb\n\nCategoryAtItSection\n', format_args='', do_cache=1, **kw={'start_line': 2})

    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 0x803b10730, file "AtItSection/NiceEditor", line 2>
  8. /home/logistics/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 0x803b10730, file "AtItSection/NiceEditor", 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 0x803b10730, file "AtItSection/NiceEditor", line 2>
  9. /home/logistics/www/wiki/AtItSection/NiceEditor in ()

TypeError

'dict' object is not callable

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

System Details

  • Date: Thu, 09 Jan 2025 08:21:18 +0000
  • Platform: FreeBSD www533.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)