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.utils.SharedDataMiddleware object>, environ = {'DOCUMENT_ROOT': '/var/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.object-craft.com.au', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response> |
| /usr/lib/pymodules/python2.6/MoinMoin/support/werkzeug/utils.py in __call__(self=<werkzeug.utils.SharedDataMiddleware object>, environ={'DOCUMENT_ROOT': '/var/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.object-craft.com.au', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>) |
246 break
|
247 if file_loader is None or not self.is_allowed(real_filename):
|
248 return self.app(environ, start_response)
|
249
|
250 guessed_type = mimetypes.guess_type(real_filename)
|
| self = <werkzeug.utils.SharedDataMiddleware object>, self.app = <MoinMoin.wsgiapp.Application object>, environ = {'DOCUMENT_ROOT': '/var/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.object-craft.com.au', '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': '/var/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.object-craft.com.au', '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=<MoinMoin.wsgiapp.AppRequest object>, 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'', action_name = 'show' |
| /usr/lib/pymodules/python2.6/MoinMoin/web/contexts.py in _(text=u'FrontPage', i18n=<module 'MoinMoin.i18n' from '/usr/lib/pymodules/python2.6/MoinMoin/i18n/__init__.pyc'>, request=<AllContext ['AllContext']>, lang='en', **kw={}) |
136 lang = self.lang
|
137 def _(text, i18n=i18n, request=self, lang=lang, **kw):
|
138 return i18n.getText(text, request, lang, **kw)
|
139 return _
|
140
|
| i18n = <module 'MoinMoin.i18n' from '/usr/lib/pymodules/python2.6/MoinMoin/i18n/__init__.pyc'>, i18n.getText = <function getText>, text = u'FrontPage', request = <AllContext ['AllContext']>, lang = 'en', kw = {} |
| /usr/lib/pymodules/python2.6/MoinMoin/i18n/__init__.py in getText(original=u'FrontPage', request=<AllContext ['AllContext']>, lang='en', **kw={}) |
311 dictpagename = "%sDict" % language.replace(' ', '')
|
312 dicts = request.dicts
|
313 if dictpagename in dicts:
|
314 userdict = dicts[dictpagename]
|
315 translated = userdict[original]
|
| dictpagename = u'EnglishDict', dicts = <MoinMoin.datastruct.backends.wiki_dicts.WikiDicts object> |
| /usr/lib/pymodules/python2.6/MoinMoin/datastruct/backends/wiki_dicts.py in __contains__(self=<MoinMoin.datastruct.backends.wiki_dicts.WikiDicts object>, dict_name=u'EnglishDict') |
68
|
69 def __contains__(self, dict_name):
|
70 return self.is_dict_name(dict_name) and Page(self.request, dict_name).exists()
|
71
|
72 def __getitem__(self, dict_name):
|
| self = <MoinMoin.datastruct.backends.wiki_dicts.WikiDicts object>, self.is_dict_name = <bound method WikiDicts.is_dict_name of <MoinMoin.datastruct.backends.wiki_dicts.WikiDicts object>>, dict_name = u'EnglishDict', global Page = <class 'MoinMoin.Page.Page'>, self.request = <AllContext ['AllContext']>, ).exists undefined |
| /usr/lib/pymodules/python2.6/MoinMoin/Page.py in exists(self=<MoinMoin.Page.Page object>, rev=0, domain=None, includeDeleted=False) |
665 else:
|
666 use_underlay = domain == 'underlay'
|
667 d, d, exists = self.get_rev(use_underlay, rev)
|
668 return exists
|
669
|
| d undefined, exists undefined, self = <MoinMoin.Page.Page object>, self.get_rev = <bound method Page.get_rev of <MoinMoin.Page.Page object>>, use_underlay = -1, rev = 0 |
| /usr/lib/pymodules/python2.6/MoinMoin/Page.py in get_rev(self=<MoinMoin.Page.Page object>, use_underlay=-1, rev=0) |
384 cache_key = layername(use_underlay)
|
385 if self._text_filename_force is None:
|
386 cache_data = request.cfg.cache.meta.getItem(request, cache_name, cache_key)
|
387 if cache_data and (rev == 0 or rev == cache_data[1]):
|
388 # we got the correct rev data from the cache
|
| cache_data undefined, request = <AllContext ['AllContext']>, request.cfg = <albatrosswiki.Config object>, request.cfg.cache = <MoinMoin.config.multiconfig.CacheClass instance>, request.cfg.cache.meta = <MoinMoin.Page.ItemCache instance>, request.cfg.cache.meta.getItem = <bound method ItemCache.getItem of <MoinMoin.Page.ItemCache instance>>, cache_name = u'EnglishDict', cache_key = 'layer_auto' |
| /usr/lib/pymodules/python2.6/MoinMoin/Page.py in refresh(self=<MoinMoin.Page.ItemCache instance>, request=<AllContext ['AllContext']>) |
113 elog = editlog.EditLog(request)
|
114 old_pos = self.log_pos
|
115 new_pos, items = elog.news(old_pos)
|
116 if items:
|
117 if self.name == 'meta':
|
| new_pos undefined, items undefined, elog = <MoinMoin.logfile.editlog.EditLog instance>, elog.news = <bound method EditLog.news of <MoinMoin.logfile.editlog.EditLog instance>>, old_pos = 47661 |