<type 'exceptions.TypeError'>
Python 2.7.9: /usr/bin/python
Sat Nov 23 06:14:33 2024

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 = <werkzeug.wsgi.SharedDataMiddleware object>, environ = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/usr/share/moin/server/moin.fcgi', 'CONTEXT_PREFIX': '/wiki', 'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': '1c2c.cz', ...}, start_response = <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': '/usr/share/moin/server/moin.fcgi', 'CONTEXT_PREFIX': '/wiki', 'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': '1c2c.cz', ...}, start_response=<function start_response>)
    586                     break
    587         if file_loader is None or not self.is_allowed(real_filename):
=>  588             return self.app(environ, start_response)
    589 
    590         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': '/usr/share/moin/server/moin.fcgi', 'CONTEXT_PREFIX': '/wiki', 'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': '1c2c.cz', ...}, 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': '/usr/share/moin/server/moin.fcgi', 'CONTEXT_PREFIX': '/wiki', 'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': '1c2c.cz', ...}, 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 3443 bytes [200 OK]>, context = <AllContext ['AllContext']>, action_name = u'edit'
 /usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in dispatch(request=<AppRequest 3443 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'ChybejiciDomovskaStranka', action_name = u'edit'
 /usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in handle_action(context=<AllContext ['AllContext']>, pagename=u'ChybejiciDomovskaStranka', 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'ChybejiciDomovskaStranka'
 /usr/lib/python2.7/dist-packages/MoinMoin/action/edit.py in execute(pagename=u'ChybejiciDomovskaStranka', 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})
   1330                                    format_args=pi['formatargs'],
   1331                                    do_cache=do_cache,
=> 1332                                    start_line=pi['lines'])
   1333 
   1334             # check for pending footnotes
start_line undefined, pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': 'wiki', 'formatargs': '', 'language': 'cs', 'lines': 0}
 /usr/lib/python2.7/dist-packages/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page object>, request=<AllContext ['AllContext']>, body=u'Nem\xe1te dovoleno editovat tuto str\xe1nku.', format='wiki', format_args='', do_cache=1, **kw={'start_line': 0})
   1424             try:
   1425                 code = self.loadCache(request)
=> 1426                 self.execute(request, parser, code)
   1427             except Exception, e:
   1428                 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 0x7f9b383e1730, file "ChybejiciStranka", 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 0x7f9b383e1730, file "ChybejiciStranka", line 2>)
   1455                 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
   1456             try:
=> 1457                 exec code
   1458             except "CacheNeedsUpdate": # convert the exception
   1459                 raise Exception("CacheNeedsUpdate")
code = <code object <module> at 0x7f9b383e1730, file "ChybejiciStranka", line 2>
 /usr/share/moin/server/ChybejiciStranka in ()

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