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': '/home/compwiki/public_html/wiki/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/home/compwiki/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'computing.ee.ethz.ch', ...}, start_response = <function start_response> |
/home/compwiki/public_html/wiki/moin.fcgi in script_name_fixer(env={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/compwiki/public_html/wiki/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/home/compwiki/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'computing.ee.ethz.ch', ...}, start=<function start_response>) |
49 def script_name_fixer(env, start):
|
50 env['SCRIPT_NAME'] = fix_script_name
|
=> 51 return app(env, start)
|
52 application = script_name_fixer
|
53
|
global app = <werkzeug.wsgi.SharedDataMiddleware object>, env = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/compwiki/public_html/wiki/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/home/compwiki/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'computing.ee.ethz.ch', ...}, 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': '/home/compwiki/public_html/wiki/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/home/compwiki/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'computing.ee.ethz.ch', ...}, 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': '/home/compwiki/public_html/wiki/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/home/compwiki/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'computing.ee.ethz.ch', ...}, 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': '/home/compwiki/public_html/wiki/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/home/compwiki/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'computing.ee.ethz.ch', ...}, 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 15903 bytes [200 OK]>, context=<AllContext ['AllContext']>, action_name=u'diff') |
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'RDS', action_name = u'diff' |
/usr/lib/python2.7/dist-packages/MoinMoin/action/diff.py in execute(pagename=u'RDS', request=<AllContext ['AllContext']>) |
231 from MoinMoin.util import diff_html
|
232 request.write(f.rawHTML(diff_html.diff(request, oldpage.get_raw_body(), newpage.get_raw_body(), old_top=rev_info_old_html, new_top=rev_info_new_html, old_top_class="diff-info", new_top_class="diff-info")))
|
=> 233 newpage.send_page(count_hit=0, content_only=1, content_id="content-below-diff")
|
234 else:
|
235 request.write(f.rawHTML('<table class="diff"><tr><td class="diff-info">%s</td><td class="diff-info">%s</td></tr></table>' % (rev_info_old_html, rev_info_new_html)))
|
newpage = <MoinMoin.Page.Page object>, newpage.send_page = <bound method Page.send_page of <MoinMoin.Page.Page object>>, count_hit undefined, content_only undefined, content_id undefined |
/usr/lib/python2.7/dist-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page object>, **keywords={'content_id': 'content-below-diff', 'content_only': 1, 'count_hit': 0}) |
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': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 3} |
/usr/lib/python2.7/dist-packages/MoinMoin/Page.py in format(self=<MoinMoin.Page.Page object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>) |
1441 def format(self, parser):
|
1442 """ Format and write page content without caching """
|
=> 1443 parser.format(self.formatter)
|
1444
|
1445 def execute(self, request, parser, code):
|
parser = <MoinMoin.parser.text_moin_wiki.Parser instance>, parser.format = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance>>, self = <MoinMoin.Page.Page object>, self.formatter = <MoinMoin.formatter.text_html.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_html.Formatter instance>, inhibit_p=False, **kw={}) |
1551
|
1552 # Scan line, format and write
|
=> 1553 formatted_line = self.scan(line, inhibit_p=inhibit_p)
|
1554 self.request.write(formatted_line)
|
1555
|
formatted_line = u'<p class="line867">\n<h3 id="MacOS_X-1">MacOS X</h3>\n', self = <MoinMoin.parser.text_moin_wiki.Parser instance>, self.scan = <bound method Parser.scan of <MoinMoin.parser.text_moin_wiki.Parser instance>>, line = u'(!) whenever asked for a user name, please enter...le app store|width=150 height=150align="right"}} ', 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'(!) whenever asked for a user name, please enter...le app store|width=150 height=150align="right"}} ', inhibit_p=False) |
1361 self.in_table or self.in_list):
|
1362 result.append(self.formatter.paragraph(1, css_class="line867"))
|
=> 1363 result.append(self.replace(match, inhibit_p))
|
1364 end = match.end()
|
1365 lastpos = end
|
result = ['<p class="line867">', '', ru whenever asked for a user name, please enter "d\USERNAME" u], 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) |
1405 # Get replace method and replace hit
|
1406 replace_func = getattr(self, '_%s_repl' % type)
|
=> 1407 result.append(replace_func(hit, match.groupdict()))
|
1408 return ''.join(result)
|
1409 else:
|
result = [], result.append = <built-in method append of list object>, replace_func = <bound method Parser._transclude_repl of <MoinMoin.parser.text_moin_wiki.Parser instance>>, hit = u'width=150 height=150align="right"', 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 _transclude_repl(self=<MoinMoin.parser.text_moin_wiki.Parser instance>, word=u'width=150 height=150align="right"', 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, ...}) |
736 tag_attrs={'alt': desc,
|
737 'title': desc, },
|
=> 738 acceptable_attrs=acceptable_attrs_img)
|
739 return self.formatter.attachment_image(url, **tag_attrs)
|
740 else:
|
acceptable_attrs undefined, acceptable_attrs_img = ['class', 'title', 'longdesc', 'width', 'height', 'align'] |
/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'width=150 height=150align="right"', tag_attrs={'alt': u'Microsoft Remote Desktop 10 from apple app store', 'title': u'Microsoft Remote Desktop 10 from apple app store'}, acceptable_attrs=['class', 'title', 'longdesc', 'width', 'height', 'align'], query_args={}) |
676 query_args = {}
|
677 if params:
|
=> 678 fixed, kw, trailing = wikiutil.parse_quoted_separated(params)
|
679 # we ignore fixed and trailing args and only use kw args:
|
680 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'width=150 height=150align="right"' |