<type 'exceptions.TypeError'>
Python 2.7.17: /usr/bin/python
Sat Feb 22 20:09:34 2025

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>)
    556         """Runs the handler, flushes the streams, and ends the request."""
    557         try:
=>  558             protocolStatus, appStatus = self.server.handler(self)
    559         except:
    560             traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object>>
 /usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)
   1116         try:
   1117             try:
=> 1118                 result = self.application(environ, start_response)
   1119                 try:
   1120                     for data in result:
result = None, self = <flup.server.fcgi.WSGIServer object>, self.application = <function script_name_fixer>, environ = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/srv/help.ubuntu.com/moin.fcgi/', 'CONTEXT_PREFIX': '/community/', 'DOCUMENT_ROOT': '/srv/help.ubuntu.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;...,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', ...}, start_response = <function start_response>
 /srv/help.ubuntu.com/moin.fcgi in script_name_fixer(env={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/srv/help.ubuntu.com/moin.fcgi/', 'CONTEXT_PREFIX': '/community/', 'DOCUMENT_ROOT': '/srv/help.ubuntu.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;...,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', ...}, start=<function start_response>)
     64     def script_name_fixer(env, start):
     65         env['SCRIPT_NAME'] = fix_script_name
=>   66         return app(env, start)
     67     application = script_name_fixer
     68 
global app = <werkzeug.wsgi.SharedDataMiddleware object>, env = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/srv/help.ubuntu.com/moin.fcgi/', 'CONTEXT_PREFIX': '/community/', 'DOCUMENT_ROOT': '/srv/help.ubuntu.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;...,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', ...}, start = <function start_response>
 /usr/lib/python2.7/dist-packages/werkzeug/wsgi.py in __call__(self=<werkzeug.wsgi.SharedDataMiddleware object>, environ={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/srv/help.ubuntu.com/moin.fcgi/', 'CONTEXT_PREFIX': '/community/', 'DOCUMENT_ROOT': '/srv/help.ubuntu.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;...,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', ...}, start_response=<function start_response>)
    764                     break
    765         if file_loader is None or not self.is_allowed(real_filename):
=>  766             return self.app(environ, start_response)
    767 
    768         guessed_type = mimetypes.guess_type(real_filename)
self = <werkzeug.wsgi.SharedDataMiddleware object>, self.app = <MoinMoin.wsgiapp.Application object>, environ = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/srv/help.ubuntu.com/moin.fcgi/', 'CONTEXT_PREFIX': '/community/', 'DOCUMENT_ROOT': '/srv/help.ubuntu.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;...,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', ...}, start_response = <function start_response>
 /usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in __call__(self=<MoinMoin.wsgiapp.Application object>, environ={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/srv/help.ubuntu.com/moin.fcgi/', 'CONTEXT_PREFIX': '/community/', 'DOCUMENT_ROOT': '/srv/help.ubuntu.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;...,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', ...}, start_response=<function start_response>)
    262             context = init(request)
    263             try:
=>  264                 response = run(context)
    265             finally:
    266                 context.clock.stop('total')
response undefined, global run = <function run>, context = <AllContext ['AllContext']>
 /usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in run(context=<AllContext ['AllContext']>)
     87                 response = xmlrpc.xmlrpc2(XMLRPCContext(request))
     88             else:
=>   89                 response = dispatch(request, context, action_name)
     90             context.cfg.session_service.finalize(context, context.session)
     91             return response
response undefined, global dispatch = <function dispatch>, request = <AppRequest 5082 bytes [200 OK]>, context = <AllContext ['AllContext']>, action_name = u'edit'
 /usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in dispatch(request=<AppRequest 5082 bytes [200 OK]>, context=<AllContext ['AllContext']>, action_name=u'edit')
    135     # 2. handle action
    136     else:
=>  137         response = handle_action(context, pagename, action_name)
    138     if isinstance(response, Context):
    139         response = response.request
response undefined, global handle_action = <function handle_action>, context = <AllContext ['AllContext']>, pagename = u'WikiCourse/51 Applications', action_name = u'edit'
 /usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in handle_action(context=<AllContext ['AllContext']>, pagename=u'WikiCourse/51 Applications', action_name=u'edit')
    201             context.page.send_page()
    202         else:
=>  203             handler(context.page.page_name, context)
    204 
    205     return context
handler = <function execute>, context = <AllContext ['AllContext']>, context.page = <MoinMoin.Page.Page object>, context.page.page_name = u'WikiCourse/51 Applications'
 /usr/lib/python2.7/dist-packages/MoinMoin/action/edit.py in execute(pagename=u'WikiCourse/51 Applications', request=<AllContext ['AllContext']>)
     28         page.body = _('You are not allowed to edit this page.')
     29         page.page_name = pagename
=>   30         page.send_page(send_special=True)
     31         return
     32 
page = <MoinMoin.Page.Page object>, page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page object>>, send_special undefined, builtin True = True
 /usr/lib/python2.7/dist-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page object>, **keywords={'send_special': True})
   1430                                    format_args=pi['formatargs'],
   1431                                    do_cache=do_cache,
=> 1432                                    start_line=pi['lines'])
   1433 
   1434             # check for pending footnotes
start_line undefined, pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': 'wiki', 'formatargs': '', 'language': 'en', 'lines': 0}
 /usr/lib/python2.7/dist-packages/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page object>, request=<AllContext ['AllContext']>, body='You are not allowed to edit this page.', format='wiki', format_args='', do_cache=1, **kw={'start_line': 0})
   1524             try:
   1525                 code = self.loadCache(request)
=> 1526                 self.execute(request, parser, code)
   1527             except Exception, e:
   1528                 if not is_cache_exception(e):
self = <MoinMoin.Page.Page object>, self.execute = <bound method Page.execute of <MoinMoin.Page.Page object>>, request = <AllContext ['AllContext']>, parser = <MoinMoin.parser.text_moin_wiki.Parser instance>, code = <code object <module> at 0x7f4a235b6eb0, file "MissingPage", line 2>
 /usr/lib/python2.7/dist-packages/MoinMoin/Page.py in execute(self=<MoinMoin.Page.Page object>, request=<AllContext ['AllContext']>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>, code=<code object <module> at 0x7f4a235b6eb0, file "MissingPage", line 2>)
   1555                 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
   1556             try:
=> 1557                 exec code
   1558             except "CacheNeedsUpdate": # convert the exception
   1559                 raise Exception("CacheNeedsUpdate")
code = <code object <module> at 0x7f4a235b6eb0, file "MissingPage", line 2>
 /srv/help.ubuntu.com/MissingPage in <module>()

<type 'exceptions.TypeError'>: 'dict' object is not callable
      args = ("'dict' object is not callable",)
      message = "'dict' object is not callable"