Attachment 'traceback2.html'
Download--> -->
mpatchError
patch cannot be decoded
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.
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_standalone.Request object at 0x15ab210>)
- 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 0x108e140>
- self = <MoinMoin.request.request_standalone.Request object at 0x15ab210>
- self.page = <MoinMoin.Page.Page object at 0x15ab350>
- self.page.page_name = u'TestSeite'
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/action/__init__.py in do_show (pagename=u'TestSeite', request=<MoinMoin.request.request_standalone.Request object at 0x15ab210>, 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
- content_only = 0
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0x15ab310>, **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
- html_head = ''
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/theme/__init__.py in send_title (self=<MoinMoin.theme.modern.Theme instance at 0x15a5488>, text=u'TestSeite', **keywords={'allow_doubleclick': 1, 'html_head': '', 'media': 'screen', 'page': <MoinMoin.Page.Page object at 0x15ab310>, '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 0x15845f0>
- self = <MoinMoin.theme.modern.Theme instance at 0x15a5488>
- self.header = <bound method Theme.header of <MoinMoin.theme.modern.Theme instance at 0x15a5488>>
- 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 0x15ab310>, '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 0x15a5488>, 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 0x15ab310>, '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 0x15a5488>
- self.navibar = <bound method Theme.navibar of <MoinMoin.theme.modern.Theme instance at 0x15a5488>>
- 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 0x15ab310>, '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 0x15a5488>, 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 0x15ab310>, '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 0x15a5488>
- self.splitNavilink = <bound method Theme.splitNavilink of <MoinMoin.theme.modern.Theme instance at 0x15a5488>>
- text = u'RecentChanges'
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/theme/__init__.py in splitNavilink (self=<MoinMoin.theme.modern.Theme instance at 0x15a5488>, 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 0x15ab550>
- page.link_to = <bound method Page.link_to of <MoinMoin.Page.Page object at 0x15ab550>>
- request = <MoinMoin.request.request_standalone.Request object at 0x15ab210>
- title = u'RecentChanges'
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/Page.py in link_to (self=<MoinMoin.Page.Page object at 0x15ab550>, request=<MoinMoin.request.request_standalone.Request object at 0x15ab210>, 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 0x15ab550>
- self.exists = <bound method Page.exists of <MoinMoin.Page.Page object at 0x15ab550>>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/Page.py in exists (self=<MoinMoin.Page.Page object at 0x15ab550>, domain=None, includeDeleted=False)
- 492 @return: true if page exists otherwise false
- 493 """
- 494 if self._item is None or self._rev is None:
- 495 return False
- 496
- self = <MoinMoin.Page.Page object at 0x15ab550>
- self._item = <MoinMoin.storage.Item object at 0x15ab510>
- builtin None = None
- self._rev = None
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/Page.py in get_item (self=<MoinMoin.Page.Page object at 0x15ab550>)
- 150 Get item method.
- 151 """
- 152 self.lazy_load()
- 153 return self.__item
- 154
- self = <MoinMoin.Page.Page object at 0x15ab550>
- self.lazy_load = <bound method Page.lazy_load of <MoinMoin.Page.Page object at 0x15ab550>>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/Page.py in lazy_load (self=<MoinMoin.Page.Page object at 0x15ab550>)
- 124 ###self.__item = self._items[self.page_name]
- 125 self.__item = self._backend.get_item(self.page_name)
- 126 self.__rev = self.__item.get_revision(self.rev)
- 127 self._body = None
- 128 self._meta = None
- self = <MoinMoin.Page.Page object at 0x15ab550>
- self.__rev undefined
- self.__item undefined
- self.rev = -1
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/__init__.py in get_revision (self=<MoinMoin.storage.Item object at 0x15ab510>, revno=-1)
- 406 Note: If you pass -1 as revno, this shall return the latest Revision of the Item.
- 407 """
- 408 return self._backend._get_revision(self, revno)
- 409
- 410 def list_revisions(self):
- self = <MoinMoin.storage.Item object at 0x15ab510>
- self._backend = <MoinMoin.storage.backends.hg.MercurialBackend object at 0x101c350>
- self._backend._get_revision = <bound method MercurialBackend._get_revision of ...ackends.hg.MercurialBackend object at 0x101c350>>
- revno = -1
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/backends/hg.py in _get_revision (self=<MoinMoin.storage.backends.hg.MercurialBackend object at 0x101c350>, item=<MoinMoin.storage.Item object at 0x15ab510>, revno=-1)
- 304 """Returns given Revision of an Item."""
- 305 ctx = self._repo[self._repo.changelog.tip()]
- 306 revs = self._list_revisions(item)
- 307 if revno == -1 and revs:
- 308 revno = max(revs)
- revs undefined
- self = <MoinMoin.storage.backends.hg.MercurialBackend object at 0x101c350>
- self._list_revisions = <bound method MercurialBackend._list_revisions o...ackends.hg.MercurialBackend object at 0x101c350>>
- item = <MoinMoin.storage.Item object at 0x15ab510>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/backends/hg.py in _list_revisions (self=<MoinMoin.storage.backends.hg.MercurialBackend object at 0x101c350>, item=<MoinMoin.storage.Item object at 0x15ab510>)
- 371 else:
- 372 # # XXX: use mercurial.cmdutil.walkchangerevs
- 373 revs = filter(lambda r: item._id in self._repo[r].files(), iter(self._repo))
- 374 return range(len(revs))
- 375
- revs undefined
- builtin filter = <built-in function filter>
- r undefined
- item = <MoinMoin.storage.Item object at 0x15ab510>
- item._id = '7d743e94099c57600f0fe8e6582defe6'
- self = <MoinMoin.storage.backends.hg.MercurialBackend object at 0x101c350>
- self._repo = <mercurial.localrepo.localrepository object at 0x101ce50>
- builtin iter = <built-in function iter>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/backends/hg.py in (r=923)
- 371 else:
- 372 # # XXX: use mercurial.cmdutil.walkchangerevs
- 373 revs = filter(lambda r: item._id in self._repo[r].files(), iter(self._repo))
- 374 return range(len(revs))
- 375
- revs undefined
- builtin filter = <built-in function filter>
- r = 923
- item = <MoinMoin.storage.Item object at 0x15ab510>
- item._id = '7d743e94099c57600f0fe8e6582defe6'
- self = <MoinMoin.storage.backends.hg.MercurialBackend object at 0x101c350>
- self._repo = <mercurial.localrepo.localrepository object at 0x101ce50>
- ].files undefined
- builtin iter = <built-in function iter>
/home/user/workspace/1.8-mercurialbackend-ppacana/mercurial/context.py in files (self=<changectx 9de019f61d85>)
- 86 def user(self): return self._changeset[1]
- 87 def date(self): return self._changeset[2]
- 88 def files(self): return self._changeset[3]
- 89 def description(self): return self._changeset[4]
- 90 def branch(self): return self._changeset[5].get("branch")
- files undefined
- self = <changectx 9de019f61d85>
- self._changeset = ('\xd6cj\xe3\xdbY/u\x0b\xe0\x11ZDYa\r\xb9kU^', 'Reimar Bauer <rb.proj AT googlemail DOT com>', (1218572295.0, -7200), ['4ce9c675bbb7d0204339b74863422ed6'], '', {'__timestamp': 'L1216556892L\n.', 'branch': 'default', 'moin_#': "(S'Please edit system and help pages ONLY in the...ionPage'\nS'master-date:2007-09-18 14:29:36'\ntp1\n.", 'moin_acl': "S'-All:write Default'\np1\n.", 'moin_edit_log_action': "S'SAVE'\np1\n.", 'moin_edit_log_addr': "S'0.0.0.0'\np1\n.", 'moin_edit_log_comment': "S''\n.", 'moin_edit_log_extra': "S''\n.", 'moin_edit_log_hostname': "S'0.0.0.0'\np1\n.", 'moin_edit_log_userid': "S''\n.", ...})
/home/user/workspace/1.8-mercurialbackend-ppacana/mercurial/context.py in __getattr__ (self=<changectx 9de019f61d85>, name='_changeset')
- 50 def __getattr__(self, name):
- 51 if name == '_changeset':
- 52 self._changeset = self._repo.changelog.read(self.node())
- 53 return self._changeset
- 54 elif name == '_manifest':
- self = <changectx 9de019f61d85>
- self._changeset = ('\xd6cj\xe3\xdbY/u\x0b\xe0\x11ZDYa\r\xb9kU^', 'Reimar Bauer <rb.proj AT googlemail DOT com>', (1218572295.0, -7200), ['4ce9c675bbb7d0204339b74863422ed6'], '', {'__timestamp': 'L1216556892L\n.', 'branch': 'default', 'moin_#': "(S'Please edit system and help pages ONLY in the...ionPage'\nS'master-date:2007-09-18 14:29:36'\ntp1\n.", 'moin_acl': "S'-All:write Default'\np1\n.", 'moin_edit_log_action': "S'SAVE'\np1\n.", 'moin_edit_log_addr': "S'0.0.0.0'\np1\n.", 'moin_edit_log_comment': "S''\n.", 'moin_edit_log_extra': "S''\n.", 'moin_edit_log_hostname': "S'0.0.0.0'\np1\n.", 'moin_edit_log_userid': "S''\n.", ...})
- self._repo = <mercurial.localrepo.localrepository object at 0x101ce50>
- self._repo.changelog = <mercurial.changelog.changelog object at 0x1150290>
- self._repo.changelog.read = <bound method changelog.read of <mercurial.changelog.changelog object at 0x1150290>>
- self.node = <bound method changectx.node of <changectx 9de019f61d85>>
/home/user/workspace/1.8-mercurialbackend-ppacana/mercurial/changelog.py in read (self=<mercurial.changelog.changelog object at 0x1150290>, node='\x9d\xe0\x19\xf6\x1d\x85\x06\xfa:Q\xea\xc8\x1f \xe2\xee5%\x88\xa7')
- 147 changelog v0 doesn't use extra
- 148 """
- 149 text = self.revision(node)
- 150 if not text:
- 151 return (nullid, "", (0, 0), [], "", {'branch': 'default'})
- text undefined
- self = <mercurial.changelog.changelog object at 0x1150290>
- self.revision = <bound method changelog.revision of <mercurial.changelog.changelog object at 0x1150290>>
- node = '\x9d\xe0\x19\xf6\x1d\x85\x06\xfa:Q\xea\xc8\x1f \xe2\xee5%\x88\xa7'
/home/user/workspace/1.8-mercurialbackend-ppacana/mercurial/revlog.py in revision (self=<mercurial.changelog.changelog object at 0x1150290>, node='\x9d\xe0\x19\xf6\x1d\x85\x06\xfa:Q\xea\xc8\x1f \xe2\xee5%\x88\xa7')
- 954
- 955 bins = [self.chunk(r, df) for r in xrange(base + 1, rev + 1)]
- 956 text = mdiff.patches(text, bins)
- 957 p1, p2 = self.parents(node)
- 958 if node != hash(text, p1, p2):
- text = "da06dd0040baea78563dfabbd0ca022405e6275c\nReimar ...e:S'it'\\np1\\n.\n99b1fbffa808f802dd2588104549ea1f\n\n"
- global mdiff = <module 'mercurial.mdiff' from '/home/user/worksp....8-mercurialbackend-ppacana/mercurial/mdiff.pyc'>
- mdiff.patches = <built-in function patches>
- bins = ["65f71d8e993c38b2a7db61bc87f3121098b2d61c\nReimar ...e:S'en'\\np1\\n.\n34a0539f32453b023b7c3ee7950969b5\n\n"]
mpatchError
patch cannot be decoded
- args = ('patch cannot be decoded',)
- message = 'patch cannot be decoded'
System Details
- Date: Tue, 12 Aug 2008 20:47:15 +0000
- Platform: Linux linux 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64
- Python: Python 2.5.2 (/usr/bin/python)
- MoinMoin: Release 1.8.0 (alpha)
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.You are not allowed to attach a file to this page.