A problem occurred in a Python script. Here is the
sequence of function calls leading up to the error, in the
order they occurred.
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/request/__init__.py
in run
(self=<MoinMoin.request.request_standalone.Request object at 0xedf0d0>)
- 1302 self.page.send_page()
- 1303 else:
- 1304 handler(self.page.page_name, self)
- 1305
- 1306 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler
= <function do_show at 0x117ede8>
- self
= <MoinMoin.request.request_standalone.Request object at 0xedf0d0>
- self.page
= <MoinMoin.Page.Page object at 0x139da90>
- self.page.page_name
= u'FrontPage'
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/action/__init__.py
in do_show
(pagename=u'FrontPage',
request=<MoinMoin.request.request_standalone.Request object at
0xedf0d0>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 255 count_hit=count_hit,
- 256 print_mode=print_mode,
- 257 content_only=content_only,
- 258 )
- 259
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/Page.py
in send_page
(self=<MoinMoin.Page.Page object at 0x139df10>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 992 media=media, pi_refresh=pi.get('refresh'),
- 993 allow_doubleclick=1, trail=trail,
- 994 html_head=html_head,
- 995 )
- 996
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/theme/__init__.py
in send_title
(self=<MoinMoin.theme.modern.Theme instance at 0xedea28>,
text=u'FrontPage', **keywords={'allow_doubleclick': 1, 'html_head': '',
'media': 'screen', 'page': <MoinMoin.Page.Page object at
0x139df10>, 'pi_refresh': None, 'print_mode': 0, 'trail': []})
- 1767 output.append(self.editorheader(d))
- 1768 else:
- 1769 output.append(self.header(d))
- 1770
- 1771 # emit it
- output
= [u'\n<body lang="en" dir="ltr">\n']
- output.append
= <built-in method append of list object at 0xedeab8>
- self
= <MoinMoin.theme.modern.Theme instance at 0xedea28>
- self.header
= <bound method Theme.header of <MoinMoin.theme.modern.Theme instance at 0xedea28>>
- d = {'available_actions': ['use
self.request.availableActions(page)'], 'baseurl': '', 'home_page':
None, 'last_edit_info': '', 'logo_string': u'<img
src="/moin_static180/common/moinmoin.png" alt="MoinMoin Logo">',
'msg': [], 'navibar': ['use self.navibar(d)'], 'page':
<MoinMoin.Page.Page object at 0x139df10>, 'page_find_page':
'FindPage', 'page_front_page': u'FrontPage', ...}
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/theme/modern.py
in header
(self=<MoinMoin.theme.modern.Theme instance at 0xedea28>,
d={'available_actions': ['use self.request.availableActions(page)'],
'baseurl': '', 'home_page': None, 'last_edit_info': '', 'logo_string':
u'<img src="/moin_static180/common/moinmoin.png" alt="MoinMoin
Logo">', 'msg': [], 'navibar': ['use self.navibar(d)'], 'page':
<MoinMoin.Page.Page object at 0x139df10>, 'page_find_page':
'FindPage', 'page_front_page': u'FrontPage', ...}, **kw={})
- 34 u'</div>',
- 35 self.trail(d),
- 36 self.navibar(d),
- 37 #u'<hr id="pageline">',
- 38 u'<div id="pageline"><hr style="display:none;"></div>',
- self
= <MoinMoin.theme.modern.Theme instance at 0xedea28>
- self.navibar
= <bound method Theme.navibar of <MoinMoin.theme.modern.Theme instance at 0xedea28>>
- d = {'available_actions': ['use
self.request.availableActions(page)'], 'baseurl': '', 'home_page':
None, 'last_edit_info': '', 'logo_string': u'<img
src="/moin_static180/common/moinmoin.png" alt="MoinMoin Logo">',
'msg': [], 'navibar': ['use self.navibar(d)'], 'page':
<MoinMoin.Page.Page object at 0x139df10>, 'page_find_page':
'FindPage', 'page_front_page': u'FrontPage', ...}
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/theme/__init__.py
in navibar
(self=<MoinMoin.theme.modern.Theme instance at 0xedea28>,
d={'available_actions': ['use self.request.availableActions(page)'],
'baseurl': '', 'home_page': None, 'last_edit_info': '', 'logo_string':
u'<img src="/moin_static180/common/moinmoin.png" alt="MoinMoin
Logo">', 'msg': [], 'navibar': ['use self.navibar(d)'], 'page':
<MoinMoin.Page.Page object at 0x139df10>, 'page_find_page':
'FindPage', 'page_front_page': u'FrontPage', ...})
- 424 if request.cfg.navi_bar:
- 425 for text in request.cfg.navi_bar:
- 426 pagename, link = self.splitNavilink(text)
- 427 if pagename == current:
- 428 cls = 'wikilink current'
- pagename undefined
- link undefined
- self
= <MoinMoin.theme.modern.Theme instance at 0xedea28>
- self.splitNavilink
= <bound method Theme.splitNavilink of <MoinMoin.theme.modern.Theme instance at 0xedea28>>
- text
= u'RecentChanges'
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/theme/__init__.py
in splitNavilink
(self=<MoinMoin.theme.modern.Theme instance at 0xedea28>, text=u'RecentChanges', localize=1)
- 376 title = self.shortenPagename(title)
- 377
- 378 link = page.link_to(request, title)
- 379
- 380 return pagename, link
- link undefined
- page
= <MoinMoin.Page.Page object at 0x123fc10>
- page.link_to
= <bound method Page.link_to of <MoinMoin.Page.Page object at 0x123fc10>>
- request
= <MoinMoin.request.request_standalone.Request object at 0xedf0d0>
- title
= u'RecentChanges'
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/Page.py
in link_to
(self=<MoinMoin.Page.Page object at 0x123fc10>,
request=<MoinMoin.request.request_standalone.Request object at
0xedf0d0>, text=u'RecentChanges', querystr=None, anchor=None,
**kw={})
- 632
- 633 # Add css class for non existing page
- 634 if not self.exists():
- 635 kw['css_class'] = 'nonexistent'
- 636
- self
= <MoinMoin.Page.Page object at 0x123fc10>
- self.exists
= <bound method Page.exists of <MoinMoin.Page.Page object at 0x123fc10>>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/Page.py
in exists
(self=<MoinMoin.Page.Page object at 0x123fc10>, domain=None, includeDeleted=False)
- 496
- 497 try:
- 498 if not includeDeleted and self._rev[DELETED]:
- 499 return False
- 500 except KeyError:
- includeDeleted
= False
- self
= <MoinMoin.Page.Page object at 0x123fc10>
- self._rev
= <MoinMoin.storage.backends.hg.MercurialStoredRevision object at 0x1250710>
- global
DELETED
= 'deleted'
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/__init__.py
in __getitem__
(self=<MoinMoin.storage.backends.hg.MercurialStoredRevision object at 0x1250710>, key='deleted')
- 513
- 514 if self._metadata is None:
- 515 self._load_metadata()
- 516
- 517 return self._metadata[key]
- self
= <MoinMoin.storage.backends.hg.MercurialStoredRevision object at 0x1250710>
- self._load_metadata
= <bound method MercurialStoredRevision._load_meta....hg.MercurialStoredRevision object at 0x1250710>>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/__init__.py
in _load_metadata
(self=<MoinMoin.storage.backends.hg.MercurialStoredRevision object at 0x1250710>)
- 500
- 501 def _load_metadata(self):
- 502 self._metadata = self._backend._get_revision_metadata(self)
- 503
- 504 def __getitem__(self, key):
- self
= <MoinMoin.storage.backends.hg.MercurialStoredRevision object at 0x1250710>
- self._metadata
= None
- self._backend
= <MoinMoin.storage.backends.hg.MercurialBackend object at 0x10e3210>
- self._backend._get_revision_metadata
= <bound method MercurialBackend._get_revision_met...ackends.hg.MercurialBackend object at 0x10e3210>>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/backends/hg.py
in _get_revision_metadata
(self=<MoinMoin.storage.backends.hg.MercurialBackend object at
0x10e3210>,
rev=<MoinMoin.storage.backends.hg.MercurialStoredRevision object at
0x1250710>)
- 337 for k, v in ctx.extra().iteritems():
- 338 if k.startswith('moin_'):
- 339 metadata[k.lstrip('moin_')] = pickle.loads(v)
- 340 elif k.startswith('__'):
- 341 metadata[k] = pickle.loads(v)
- metadata
= {}
- k
= 'moin_mimetype'
- k.lstrip
= <built-in method lstrip of str object at 0x124ced8>
- global
pickle
= <module 'cPickle' from '/usr/lib/python2.5/lib-dynload/cPickle.so'>
- pickle.loads
= <built-in function loads>
- v
= 'text/x-unidentified-wiki-format'