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 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/wiki.ubuntu-fi.org/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/wiki.ubuntu-fi.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wiki.ubuntu-fi.org', ...}, start_response = <function start_response> |
/srv/wiki.ubuntu-fi.org/moin.fcgi in script_name_fixer(env={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/srv/wiki.ubuntu-fi.org/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/wiki.ubuntu-fi.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wiki.ubuntu-fi.org', ...}, 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/wiki.ubuntu-fi.org/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/wiki.ubuntu-fi.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wiki.ubuntu-fi.org', ...}, 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/wiki.ubuntu-fi.org/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/wiki.ubuntu-fi.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wiki.ubuntu-fi.org', ...}, 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/wiki.ubuntu-fi.org/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/wiki.ubuntu-fi.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wiki.ubuntu-fi.org', ...}, 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/wiki.ubuntu-fi.org/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/srv/wiki.ubuntu-fi.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wiki.ubuntu-fi.org', ...}, 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 dispatch(request=<AppRequest 6741 bytes [200 OK]>, context=<AllContext ['AllContext']>, action_name='show') |
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'internet-yhteyden_jakaminen_ubuntulla', action_name = 'show' |
/usr/lib/python2.7/dist-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page object>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0}) |
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=u'Sis\xe4lt\xf6:\n\n* Asiakaskoneet omassa aliverkoss...ex.php?topic=42338.0 Ubuntu Suomen foorumeilla].\n', format='wiki', format_args='', do_cache=1, **kw={'start_line': 0}) |
1529 raise
|
1530 try:
|
=> 1531 code = self.makeCache(request, parser)
|
1532 self.execute(request, parser, code)
|
1533 except Exception, e:
|
code undefined, self = <MoinMoin.Page.Page object>, self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page object>>, request = <AllContext ['AllContext']>, parser = <MoinMoin.parser.text_moin_wiki.Parser instance> |
/usr/lib/python2.7/dist-packages/MoinMoin/Page.py in makeCache(self=<MoinMoin.Page.Page object>, request=<AllContext ['AllContext']>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>) |
1589 saved_current_lang = request.current_lang
|
1590 try:
|
=> 1591 text = request.redirectedOutput(parser.format, formatter)
|
1592 finally:
|
1593 request.current_lang = saved_current_lang
|
text undefined, request = <AllContext ['AllContext']>, request.redirectedOutput = <bound method AllContext.redirectedOutput of <AllContext ['AllContext']>>, parser = <MoinMoin.parser.text_moin_wiki.Parser instance>, parser.format = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance>>, formatter = <MoinMoin.formatter.text_python.Formatter instance> |
/usr/lib/python2.7/dist-packages/MoinMoin/parser/text_moin_wiki.py in format(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, formatter=<MoinMoin.formatter.text_python.Formatter instance>, inhibit_p=False, **kw={}) |
1552
|
1553 # Scan line, format and write
|
=> 1554 formatted_line = self.scan(line, inhibit_p=inhibit_p)
|
1555 self.request.write(formatted_line)
|
1556
|
formatted_line = u'RECEIVE="eth0" ', self = <MoinMoin.parser.text_moin_wiki.Parser instance>, self.scan = <bound method Parser.scan of <MoinMoin.parser.text_moin_wiki.Parser instance>>, line = u' if [[ $1 == "-0" || $1 == "--start" ]] ', inhibit_p = False |
/usr/lib/python2.7/dist-packages/MoinMoin/parser/text_moin_wiki.py in scan(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, line=u' if [[ $1 == "-0" || $1 == "--start" ]] ', inhibit_p=False) |
1362 self.in_table or self.in_list):
|
1363 result.append(self.formatter.paragraph(1, css_class="line867"))
|
=> 1364 result.append(self.replace(match, inhibit_p))
|
1365 end = match.end()
|
1366 lastpos = end
|
result = ['', '<p class="line862">', u'if '], result.append = <built-in method append of list object>, self = <MoinMoin.parser.text_moin_wiki.Parser instance>, self.replace = <bound method Parser.replace of <MoinMoin.parser.text_moin_wiki.Parser instance>>, match = <_sre.SRE_Match object>, inhibit_p = False |
/usr/lib/python2.7/dist-packages/MoinMoin/parser/text_moin_wiki.py in replace(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, match=<_sre.SRE_Match object>, inhibit_p=False) |
1406 # Get replace method and replace hit
|
1407 replace_func = getattr(self, '_%s_repl' % type)
|
=> 1408 result.append(replace_func(hit, match.groupdict()))
|
1409 return ''.join(result)
|
1410 else:
|
result = [], result.append = <built-in method append of list object>, replace_func = <bound method Parser._link_repl of <MoinMoin.parser.text_moin_wiki.Parser instance>>, hit = u'$1 == "--start"', match = <_sre.SRE_Match object>, match.groupdict = <built-in method groupdict of _sre.SRE_Match object> |
/usr/lib/python2.7/dist-packages/MoinMoin/parser/text_moin_wiki.py in _link_repl(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, word=u'$1 == "--start"', groups={u'big': None, u'big_off': None, u'big_on': None, u'comment': None, u'dl': None, u'email': None, u'emph': None, u'emph_ib_or_bi': None, u'emph_ibb': None, u'emph_ibi': None, ...}) |
873 tag_attrs, query_args = self._get_params(params,
|
874 tag_attrs={},
|
=> 875 acceptable_attrs=acceptable_attrs)
|
876 return (self.formatter.pagelink(1, abs_page_name, anchor=anchor, querystr=query_args, **tag_attrs) +
|
877 self._link_description(desc, target, page_name_and_anchor) +
|
acceptable_attrs = ['class', 'title', 'target', 'accesskey', 'rel'] |
/usr/lib/python2.7/dist-packages/MoinMoin/parser/text_moin_wiki.py in _get_params(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, params=u'$1 == "--start"', tag_attrs={}, acceptable_attrs=['class', 'title', 'target', 'accesskey', 'rel'], query_args={}) |
677 query_args = {}
|
678 if params:
|
=> 679 fixed, kw, trailing = wikiutil.parse_quoted_separated(params)
|
680 # we ignore fixed and trailing args and only use kw args:
|
681 if acceptable_attrs is None:
|
fixed undefined, kw undefined, trailing undefined, global wikiutil = <module 'MoinMoin.wikiutil' from '/usr/lib/python2.7/dist-packages/MoinMoin/wikiutil.pyc'>, wikiutil.parse_quoted_separated = <function parse_quoted_separated>, params = u'$1 == "--start"' |