Tip: get email notification when this page changes, by clicking subscribe. |
--> -->
KeyError
'page'
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/lib/python-support/python2.4/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)
- 1171 self.page.send_page(self, msg=msg)
- 1172 else:
- 1173 handler(self.page.page_name, self)
- 1174
- 1175 # generate page footer (actions that do not want this footer use
- handler = <function do_show>
- self = <MoinMoin.request.RequestCGI object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'RecentChanges'
/var/lib/python-support/python2.4/MoinMoin/wikiaction.py in do_show (pagename=u'RecentChanges', request=<MoinMoin.request.RequestCGI object>)
- 466 else:
- 467 request.cacheable = 1
- 468 Page(request, pagename).send_page(request, count_hit=1)
- 469
- 470
- global Page = <class MoinMoin.Page.Page>
- request = <MoinMoin.request.RequestCGI object>
- pagename = u'RecentChanges'
- ).send_page undefined
- count_hit undefined
/var/lib/python-support/python2.4/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'count_hit': 1})
- 1254 format_args=pi_formatargs,
- 1255 do_cache=do_cache,
- 1256 start_line=pi_lines)
- 1257
- 1258 # check for pending footnotes
- start_line undefined
- pi_lines = 3
/var/lib/python-support/python2.4/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'\n||<tablestyle="width: 100%; background: #E6EAF0...other wikis, see OpenWiki:WikiSites/Aggregation.\n', format_args=u'', do_cache=1, **kw={'start_line': 3})
- 1345 try:
- 1346 code = self.loadCache(request)
- 1347 self.execute(request, parser, code)
- 1348 except Exception, e:
- 1349 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page instance>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestCGI object>
- parser = <MoinMoin.parser.wiki.Parser instance>
- code = <code object ? at 0xa7958fa0, file "RecentChanges", line 2>
/var/lib/python-support/python2.4/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object ? at 0xa7958fa0, file "RecentChanges", line 2>)
- 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1375 try:
- 1376 exec code
- 1377 except 'CacheNeedsUpdate':
- 1378 raise Exception('CacheNeedsUpdate')
- code = <code object ? at 0xa7958fa0, file "RecentChanges", line 2>
/home/jonas/websharedscripts/MoinMoin/RecentChanges in ?
/var/lib/python-support/python2.4/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'RecentChanges', args=None)
- 288 def macro(self, macro_obj, name, args):
- 289 # call the macro
- 290 return macro_obj.execute(name, args)
- 291
- 292 def _get_bang_args(self, line):
- macro_obj = <MoinMoin.wikimacro.Macro instance>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>
- name = u'RecentChanges'
- args = None
/var/lib/python-support/python2.4/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'RecentChanges', args=None)
- 118 else:
- 119 raise ImportError("Cannot load macro %s" % macro_name)
- 120 return execute(self, args)
- 121
- 122 def _m_lang(self, text):
- execute = <function execute>
- self = <MoinMoin.wikimacro.Macro instance>
- args = None
/home/jonas/webdata/wiki.munksoegaard.dk/data/plugin/macro/RecentChanges.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=None, **kw={})
- 280 d['rc_days'] = []
- 281
- 282 request.write(request.theme.recentchanges_header(d))
- 283
- 284 pages = {}
- request = <MoinMoin.request.RequestCGI object>
- request.write = <bound method RequestCGI.write of <MoinMoin.request.RequestCGI object>>
- request.theme = <MoinMoin.theme.modern.Theme instance>
- request.theme.recentchanges_header = <bound method Theme.recentchanges_header of <MoinMoin.theme.modern.Theme instance>>
- d = {'q_page_name': 'RecentChanges', 'rc_curr_bookmark': u'(intet bogm\xe6rke sat)', 'rc_days': [1, 2, 3, 7, 14, 30, 60, 90], 'rc_max_days': 7, 'rc_update_bookmark': u'<a href="/RecentChanges?action=bookmark&time=1175414795366225">s\xe6t bogm\xe6rke</a>'}
/var/lib/python-support/python2.4/MoinMoin/theme/__init__.py in recentchanges_header (self=<MoinMoin.theme.modern.Theme instance>, d={'q_page_name': 'RecentChanges', 'rc_curr_bookmark': u'(intet bogm\xe6rke sat)', 'rc_days': [1, 2, 3, 7, 14, 30, 60, 90], 'rc_max_days': 7, 'rc_update_bookmark': u'<a href="/RecentChanges?action=bookmark&time=1175414795366225">s\xe6t bogm\xe6rke</a>'})
- 1315 html = '<div class="recentchanges"%s>\n' % self.ui_lang_attr()
- 1316 html += '<div>\n'
- 1317 page = d['page']
- 1318 if self.shouldUseRSS(page):
- 1319 link = [
- page undefined
- d = {'q_page_name': 'RecentChanges', 'rc_curr_bookmark': u'(intet bogm\xe6rke sat)', 'rc_days': [1, 2, 3, 7, 14, 30, 60, 90], 'rc_max_days': 7, 'rc_update_bookmark': u'<a href="/RecentChanges?action=bookmark&time=1175414795366225">s\xe6t bogm\xe6rke</a>'}
KeyError
'page'
- args = ('page',)
System Details
- Date: Sun, 01 Apr 2007 08:06:35 +0000
- Platform: Linux coreander.bitbase.dk 2.6.16-1-486 #2 Sat Apr 15 20:38:17 UTC 2006 i686
- Python: Python 2.4.4 (/usr/bin/python)
- MoinMoin: Release 1.5.7 (release)