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/pymodules/python2.6/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 = {'DOCUMENT_ROOT': '/srv/www.no1984.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.no1984.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response> |
| /usr/lib/pymodules/python2.6/werkzeug/wsgi.py in __call__(self=<werkzeug.wsgi.SharedDataMiddleware object>, environ={'DOCUMENT_ROOT': '/srv/www.no1984.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.no1984.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>) |
404 break
|
405 if file_loader is None or not self.is_allowed(real_filename):
|
406 return self.app(environ, start_response)
|
407
|
408 guessed_type = mimetypes.guess_type(real_filename)
|
| self = <werkzeug.wsgi.SharedDataMiddleware object>, self.app = <MoinMoin.wsgiapp.Application object>, environ = {'DOCUMENT_ROOT': '/srv/www.no1984.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.no1984.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response> |
| /usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py in __call__(self=<MoinMoin.wsgiapp.Application object>, environ={'DOCUMENT_ROOT': '/srv/www.no1984.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.no1984.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>) |
280 request = self.Request(environ)
|
281 context = init(request)
|
282 response = run(context)
|
283 context.clock.stop('total')
|
284 except HTTPException, e:
|
| response undefined, global run = <function run>, context = <AllContext ['AllContext']> |
| /usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py in dispatch(request=<AppRequest 6112 bytes [200 OK]>, context=<AllContext ['AllContext']>, action_name='show') |
134 # 2. handle action
|
135 else:
|
136 response = handle_action(context, pagename, action_name)
|
137 if isinstance(response, Context):
|
138 response = response.request
|
| response undefined, global handle_action = <function handle_action>, context = <AllContext ['AllContext']>, pagename = u'HelpForBeginners', action_name = 'show' |
| /usr/lib/pymodules/python2.6/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page object>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0}) |
1196 format_args=pi['formatargs'],
|
1197 do_cache=do_cache,
|
1198 start_line=pi['lines'])
|
1199
|
1200 # check for pending footnotes
|
| start_line undefined, pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 5} |
| /usr/lib/pymodules/python2.6/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page object>, request=<AllContext ['AllContext']>, body=u'\nA WikiWikiWeb is a collaborative hypertext envi...p, see the HelpContents and the HelpIndex pages.\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 5}) |
1290 try:
|
1291 code = self.loadCache(request)
|
1292 self.execute(request, parser, code)
|
1293 except Exception, e:
|
1294 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 ? at 0x22b1990, file "HelpForBeginners", line 2> |
| /usr/lib/pymodules/python2.6/MoinMoin/Page.py in execute(self=<MoinMoin.Page.Page object>, request=<AllContext ['AllContext']>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>, code=<code object ? at 0x22b1990, file "HelpForBeginners", line 2>) |
1321 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
|
1322 try:
|
1323 exec code
|
1324 except "CacheNeedsUpdate": # convert the exception
|
1325 raise Exception("CacheNeedsUpdate")
|
| code = <code object ? at 0x22b1990, file "HelpForBeginners", line 2> |