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.5/MoinMoin/request/__init__.py
in run
(self=<MoinMoin.request.request_fcgi.Request object at 0x861904c>)
- 1281 self.page.send_page(msg=msg)
- 1282 else:
- 1283 handler(self.page.page_name, self)
- 1284
- 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'
/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)
- 239 count_hit=count_hit,
- 240 print_mode=print_mode,
- 241 content_only=content_only,
- 242 )
- 243
/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})
- 1152 print_mode=print_mode,
- 1153 media=media, pi_refresh=pi.get('refresh'),
- 1154 allow_doubleclick=1, trail=trail,
- 1155 )
- 1156
- allow_doubleclick undefined
- trail
= []
/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': []})
- 1685 output.append(self.editorheader(d))
- 1686 else:
- 1687 output.append(self.header(d))
- 1688
- 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>, ...}
/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={})
- 112 u'</div>',
- 113 self.searchform(d),
- 114 self.iconbar(d),
- 115 u'<div id="pageline">',
- 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>, ...}
/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>, ...})
- 77 if icon == "up":
- 78 if d['page_parent_page']:
- 79 iconbar.append('<li>%s</li>\n' % self.make_iconlink(icon, d))
- 80 elif icon == "subscribe" and self.cfg.mail_enabled:
- 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>, ...}
/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>, ...})
- 539 """
- 540 qs = {}
- 541 querystr, title, icon = self.cfg.page_icons_table[which]
- 542 qs.update(querystr) # do not modify the querystr dict in the cfg!
- 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'