Attachment 'traceback.html'

Download

--> -->

KeyError

'up'

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.

  1. /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_fcgi.Request object at 0x861904c>)

    1. 1281 self.page.send_page(msg=msg)
    2. 1282 else:
    3. 1283 handler(self.page.page_name, self)
    4. 1284
    5. 1285 # every action that didn't use to raise MoinMoinNoFooter must call this now:
    • handler = <function do_show at 0x83d6844>
    • self = <MoinMoin.request.request_fcgi.Request object at 0x861904c>
    • self.page = <MoinMoin.Page.Page object at 0x86191cc>
    • self.page.page_name = u'Programming/Vim/9pm'
  2. /var/lib/python-support/python2.5/MoinMoin/action/__init__.py in do_show (pagename=u'Programming/Vim/9pm', request=<MoinMoin.request.request_fcgi.Request object at 0x861904c>, content_only=0, count_hit=1, cacheable=1, print_mode=0)

    1. 239 count_hit=count_hit,
    2. 240 print_mode=print_mode,
    3. 241 content_only=content_only,
    4. 242 )
    5. 243
    • content_only = 0
  3. /var/lib/python-support/python2.5/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0x861928c>, msg='', **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})

    1. 1152 print_mode=print_mode,
    2. 1153 media=media, pi_refresh=pi.get('refresh'),
    3. 1154 allow_doubleclick=1, trail=trail,
    4. 1155 )
    5. 1156
    • allow_doubleclick undefined
    • trail = []
  4. /var/lib/python-support/python2.5/MoinMoin/theme/__init__.py in send_title (self=<ourwiki.plugin.theme.mymodern.Theme instance at 0x861902c>, text=u'Programming/Vim/9pm', **keywords={'allow_doubleclick': 1, 'media': 'screen', 'msg': '', 'page': <MoinMoin.Page.Page object at 0x861928c>, 'pi_refresh': None, 'print_mode': 0, 'trail': []})

    1. 1685 output.append(self.editorheader(d))
    2. 1686 else:
    3. 1687 output.append(self.header(d))
    4. 1688
    5. 1689 # emit it
    • output = [u'\n<body lang="en" dir="ltr">\n']
    • output.append = <built-in method append of list object at 0x860ff8c>
    • self = <ourwiki.plugin.theme.mymodern.Theme instance at 0x861902c>
    • self.header = <bound method Theme.header of <ourwiki.plugin.theme.mymodern.Theme instance at 0x861902c>>
    • d = {'available_actions': ['use self.request.availableActions(page)'], 'baseurl': '/ourwiki', 'home_page': None, 'i18ntitle': 'Print', 'icon-alt-text': 'Print', 'last_edit_info': {'editor': u'<span title="??? @ localhost[127.0.0.1]">localhost</span>', 'time': '2008-04-13 09:50:56'}, 'logo_string': u'OurWiki', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object at 0x861928c>, ...}
  5. /usr/local/share/moin/ourwiki/data/plugin/theme/mymodern.py in header (self=<ourwiki.plugin.theme.mymodern.Theme instance at 0x861902c>, d={'available_actions': ['use self.request.availableActions(page)'], 'baseurl': '/ourwiki', 'home_page': None, 'i18ntitle': 'Print', 'icon-alt-text': 'Print', 'last_edit_info': {'editor': u'<span title="??? @ localhost[127.0.0.1]">localhost</span>', 'time': '2008-04-13 09:50:56'}, 'logo_string': u'OurWiki', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object at 0x861928c>, ...}, **kw={})

    1. 112 u'</div>',
    2. 113 self.searchform(d),
    3. 114 self.iconbar(d),
    4. 115 u'<div id="pageline">',
    5. 116 self.navibar(d),
    • self = <ourwiki.plugin.theme.mymodern.Theme instance at 0x861902c>
    • self.iconbar = <bound method Theme.iconbar of <ourwiki.plugin.theme.mymodern.Theme instance at 0x861902c>>
    • d = {'available_actions': ['use self.request.availableActions(page)'], 'baseurl': '/ourwiki', 'home_page': None, 'i18ntitle': 'Print', 'icon-alt-text': 'Print', 'last_edit_info': {'editor': u'<span title="??? @ localhost[127.0.0.1]">localhost</span>', 'time': '2008-04-13 09:50:56'}, 'logo_string': u'OurWiki', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object at 0x861928c>, ...}
  6. /usr/local/share/moin/ourwiki/data/plugin/theme/mymodern.py in iconbar (self=<ourwiki.plugin.theme.mymodern.Theme instance at 0x861902c>, d={'available_actions': ['use self.request.availableActions(page)'], 'baseurl': '/ourwiki', 'home_page': None, 'i18ntitle': 'Print', 'icon-alt-text': 'Print', 'last_edit_info': {'editor': u'<span title="??? @ localhost[127.0.0.1]">localhost</span>', 'time': '2008-04-13 09:50:56'}, 'logo_string': u'OurWiki', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object at 0x861928c>, ...})

    1. 77 if icon == "up":
    2. 78 if d['page_parent_page']:
    3. 79 iconbar.append('<li>%s</li>\n' % self.make_iconlink(icon, d))
    4. 80 elif icon == "subscribe" and self.cfg.mail_enabled:
    5. 81 iconbar.append('<li>%s</li>\n' % self.make_iconlink(
    • iconbar = ['<ul id="iconbar">\n', '<li><a href="/ourwiki/Programming/Vim/9pm" rel="...in-show.png" title="View" width="17" /></a></li>\n', '<li><a href="/ourwiki/Programming/Vim/9pm?action...n-diff.png" title="Diffs" width="17" /></a></li>\n', '<li><a href="/ourwiki/Programming/Vim/9pm?action...in-info.png" title="Info" width="17" /></a></li>\n', '<li><a href="/ourwiki/Programming/Vim/9pm?action...be.png" title="Subscribe" width="17" /></a></li>\n', '<li><a href="/ourwiki/Programming/Vim/9pm?action...moin-raw.png" title="Raw" width="17" /></a></li>\n', '<li><a href="/ourwiki/Programming/Vim/9pm?action...-print.png" title="Print" width="17" /></a></li>\n']
    • iconbar.append = <built-in method append of list object at 0x861914c>
    • self = <ourwiki.plugin.theme.mymodern.Theme instance at 0x861902c>
    • self.make_iconlink = <bound method Theme.make_iconlink of <ourwiki.plugin.theme.mymodern.Theme instance at 0x861902c>>
    • icon = 'up'
    • d = {'available_actions': ['use self.request.availableActions(page)'], 'baseurl': '/ourwiki', 'home_page': None, 'i18ntitle': 'Print', 'icon-alt-text': 'Print', 'last_edit_info': {'editor': u'<span title="??? @ localhost[127.0.0.1]">localhost</span>', 'time': '2008-04-13 09:50:56'}, 'logo_string': u'OurWiki', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object at 0x861928c>, ...}
  7. /var/lib/python-support/python2.5/MoinMoin/theme/__init__.py in make_iconlink (self=<ourwiki.plugin.theme.mymodern.Theme instance at 0x861902c>, which='up', d={'available_actions': ['use self.request.availableActions(page)'], 'baseurl': '/ourwiki', 'home_page': None, 'i18ntitle': 'Print', 'icon-alt-text': 'Print', 'last_edit_info': {'editor': u'<span title="??? @ localhost[127.0.0.1]">localhost</span>', 'time': '2008-04-13 09:50:56'}, 'logo_string': u'OurWiki', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object at 0x861928c>, ...})

    1. 539 """
    2. 540 qs = {}
    3. 541 querystr, title, icon = self.cfg.page_icons_table[which]
    4. 542 qs.update(querystr) # do not modify the querystr dict in the cfg!
    5. 543 d['icon-alt-text'] = d['title'] = title % d
    • querystr undefined
    • title undefined
    • icon undefined
    • self = <ourwiki.plugin.theme.mymodern.Theme instance at 0x861902c>
    • self.cfg = <ourwiki.Config instance at 0x83b90cc>
    • self.cfg.page_icons_table = {'diff': ({'action': 'diff'}, 'Diffs', 'diff'), 'edit': ({'action': 'edit'}, 'Edit', 'edit'), 'info': ({'action': 'info'}, 'Info', 'info'), 'print': ({'action': 'print'}, 'Print', 'print'), 'raw': ({'action': 'raw'}, 'Raw', 'raw'), 'subscribe': ({'action': 'subscribe'}, 'Subscribe', 'subscribe'), 'unsubscribe': ({'action': 'unsubscribe'}, 'UnSubscribe', 'unsubscribe'), 'view': ({}, 'View', 'view'), 'xml': ({'action': 'show', 'mimetype': 'text/xml'}, 'XML', 'xml')}
    • which = 'up'

KeyError

'up'

  • args = ('up',)
  • message = 'up'

System Details

  • Date: Sun, 27 Apr 2008 10:56:56 +0000
  • Platform: Linux debian 2.6.22-1-k7 #1 SMP Sun Jul 29 15:15:55 UTC 2007 i686
  • Python: Python 2.5.2 (/usr/bin/python)
  • MoinMoin: Release 1.6.3 (release)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2008-04-27 11:06:52, 16.3 KB) [[attachment:traceback.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.