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 0x1852950>)
- 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 execute at 0x114a8c0>
- self
= <MoinMoin.request.request_standalone.Request object at 0x1852950>
- self.page
= <MoinMoin.Page.Page object at 0x1852f10>
- self.page.page_name
= u'TestSeite'
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/action/edit.py
in execute
(pagename=u'TestSeite', request=<MoinMoin.request.request_standalone.Request object at 0x1852950>)
- 72 # is invoked without savetext start editing
- 73 if savetext is None or 'button_load_draft' in request.form:
- 74 pg.sendEditor()
- 75 return
- 76
- pg
= <MoinMoin.PageEditor.PageEditor object at 0x1852a50>
- pg.sendEditor
= <bound method PageEditor.sendEditor of <MoinMoin.PageEditor.PageEditor object at 0x1852a50>>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/PageEditor.py
in sendEditor
(self=<MoinMoin.PageEditor.PageEditor object at 0x1852a50>, **kw={})
- 454 filterfn = self.cfg.cache.page_category_regexact.search
- 455 cat_pages = request.rootpage.getPageList(filter=filterfn)
- 456 cat_pages = list(cat_pages)
- 457 cat_pages.sort()
- 458 cat_pages = [wikiutil.pagelinkmarkup(p) for p in cat_pages]
- cat_pages
= <generator object at 0x151e170>
- builtin
list
= <type 'list'>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/Page.py
in getPageList
(self=<MoinMoin.Page.RootPage object at 0x1852cd0>,
user=<MoinMoin.user.User at 0x1517a70 name:'' valid:0>, exists=1,
filter=<AND(<term.NameFn(<built-in method search of
_sr...>,
<NOT(<LastRevisionHasMetaDataKey(deleted)>)>)>,
include_underlay=True, return_objects=False)
- 1464 # Filter names
- 1465 pages = []
- 1466 for item in items:
- 1467 page = Page.from_item(request, item)
- 1468 name = page.page_name
- item undefined
- items
= <generator object at 0x151f200>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/__init__.py
in search_item
(self=<MoinMoin.storage.backends.hg.MercurialBackend object at
0x1019590>, searchterm=<AND(<term.NameFn(<built-in method
search of _sr...>,
<NOT(<LastRevisionHasMetaDataKey(deleted)>)>)>)
- 88 for item in self.iteritems():
- 89 searchterm.prepare()
- 90 if searchterm.evaluate(item):
- 91 yield item
- 92
- searchterm = <AND(<term.NameFn(<built-in
method search of _sr...>,
<NOT(<LastRevisionHasMetaDataKey(deleted)>)>)>
- searchterm.evaluate = <bound method
AND.evaluate of <AND(<term.NameFn(...,
<NOT(<LastRevisionHasMetaDataKey(deleted)>)>)>>
- item
= <MoinMoin.storage.Item object at 0x1852310>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/search/term.py
in evaluate
(self=<AND(<term.NameFn(<built-in method search of _sr...>,
<NOT(<LastRevisionHasMetaDataKey(deleted)>)>)>,
item=<MoinMoin.storage.Item object at 0x1852310>)
- 51
- 52 if self._result is None:
- 53 self._result = self._evaluate(item)
- 54
- 55 return self._result
- self = <AND(<term.NameFn(<built-in method
search of _sr...>,
<NOT(<LastRevisionHasMetaDataKey(deleted)>)>)>
- self._result
= None
- self._evaluate = <bound method AND._evaluate of
<AND(<term.NameFn...,
<NOT(<LastRevisionHasMetaDataKey(deleted)>)>)>>
- item
= <MoinMoin.storage.Item object at 0x1852310>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/search/term.py
in _evaluate
(self=<AND(<term.NameFn(<built-in method search of _sr...>,
<NOT(<LastRevisionHasMetaDataKey(deleted)>)>)>,
item=<MoinMoin.storage.Item object at 0x1852310>)
- 137 def _evaluate(self, item):
- 138 for e in self.terms:
- 139 if not e.evaluate(item):
- 140 return False
- 141 return True
- e
= <NOT(<LastRevisionHasMetaDataKey(deleted)>)>
- e.evaluate
= <bound method NOT.evaluate of <NOT(<LastRevisionHasMetaDataKey(deleted)>)>>
- item
= <MoinMoin.storage.Item object at 0x1852310>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/search/term.py
in evaluate
(self=<NOT(<LastRevisionHasMetaDataKey(deleted)>)>, item=<MoinMoin.storage.Item object at 0x1852310>)
- 51
- 52 if self._result is None:
- 53 self._result = self._evaluate(item)
- 54
- 55 return self._result
- self
= <NOT(<LastRevisionHasMetaDataKey(deleted)>)>
- self._result
= None
- self._evaluate
= <bound method NOT._evaluate of <NOT(<LastRevisionHasMetaDataKey(deleted)>)>>
- item
= <MoinMoin.storage.Item object at 0x1852310>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/search/term.py
in _evaluate
(self=<NOT(<LastRevisionHasMetaDataKey(deleted)>)>, item=<MoinMoin.storage.Item object at 0x1852310>)
- 156 """
- 157 def _evaluate(self, item):
- 158 return not self.term.evaluate(item)
- 159
- 160 class XOR(ListTerm):
- self
= <NOT(<LastRevisionHasMetaDataKey(deleted)>)>
- self.term
= <LastRevisionHasMetaDataKey(deleted)>
- self.term.evaluate
= <bound method LastRevisionHasMetaDataKey.evaluate of <LastRevisionHasMetaDataKey(deleted)>>
- item
= <MoinMoin.storage.Item object at 0x1852310>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/search/term.py
in evaluate
(self=<LastRevisionHasMetaDataKey(deleted)>, item=<MoinMoin.storage.Item object at 0x1852310>)
- 51
- 52 if self._result is None:
- 53 self._result = self._evaluate(item)
- 54
- 55 return self._result
- self
= <LastRevisionHasMetaDataKey(deleted)>
- self._result
= None
- self._evaluate
= <bound method LastRevisionHasMetaDataKey._evaluate of <LastRevisionHasMetaDataKey(deleted)>>
- item
= <MoinMoin.storage.Item object at 0x1852310>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/search/term.py
in _evaluate
(self=<LastRevisionHasMetaDataKey(deleted)>, item=<MoinMoin.storage.Item object at 0x1852310>)
- 446 def _evaluate(self, item):
- 447 try:
- 448 rev = item.get_revision(-1)
- 449 except NoSuchRevisionError:
- 450 return False
- rev undefined
- item
= <MoinMoin.storage.Item object at 0x1852310>
- item.get_revision
= <bound method Item.get_revision of <MoinMoin.storage.Item object at 0x1852310>>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/__init__.py
in get_revision
(self=<MoinMoin.storage.Item object at 0x1852310>, 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 0x1852310>
- self._backend
= <MoinMoin.storage.backends.hg.MercurialBackend object at 0x1019590>
- self._backend._get_revision
= <bound method MercurialBackend._get_revision of ...ackends.hg.MercurialBackend object at 0x1019590>>
- 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
0x1019590>, item=<MoinMoin.storage.Item object at 0x1852310>,
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 0x1019590>
- self._list_revisions
= <bound method MercurialBackend._list_revisions o...ackends.hg.MercurialBackend object at 0x1019590>>
- item
= <MoinMoin.storage.Item object at 0x1852310>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/backends/hg.py
in _list_revisions
(self=<MoinMoin.storage.backends.hg.MercurialBackend object at
0x1019590>, item=<MoinMoin.storage.Item object at 0x1852310>)
- 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 0x1852310>
- item._id
= '513a427c7b0adce75206e413a2937424'
- self
= <MoinMoin.storage.backends.hg.MercurialBackend object at 0x1019590>
- self._repo
= <mercurial.localrepo.localrepository object at 0x101c0d0>
- builtin
iter
= <built-in function iter>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/backends/hg.py
in
(r=347)
- 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
= 347
- item
= <MoinMoin.storage.Item object at 0x1852310>
- item._id
= '513a427c7b0adce75206e413a2937424'
- self
= <MoinMoin.storage.backends.hg.MercurialBackend object at 0x1019590>
- self._repo
= <mercurial.localrepo.localrepository object at 0x101c0d0>
- ].files undefined
- builtin
iter
= <built-in function iter>
/home/user/workspace/1.8-mercurialbackend-ppacana/mercurial/context.py
in files
(self=<changectx 76bbd265124e>)
- 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 76bbd265124e>
- self._changeset
= ('0\xa3\x14\\\x93\xf4\xc4]\xeb\x03\xd0v:\xedH\x11\xef\xbf\xe3\xfe',
'Reimar Bauer <rb.proj AT googlemail DOT com>', (1218572108.0,
-7200), ['c9108e3bd8723fe7a33e2ab70d2725ed'], '', {'__timestamp':
'L1216556891L\n.', 'branch': 'default', 'moin_#': "(S'Please edit system and help pages ONLY in the...matting'\nS'master-date:2007-12-20 18:10:00'\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 76bbd265124e>, 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 76bbd265124e>
- self._changeset
= ('0\xa3\x14\\\x93\xf4\xc4]\xeb\x03\xd0v:\xedH\x11\xef\xbf\xe3\xfe',
'Reimar Bauer <rb.proj AT googlemail DOT com>', (1218572108.0,
-7200), ['c9108e3bd8723fe7a33e2ab70d2725ed'], '', {'__timestamp':
'L1216556891L\n.', 'branch': 'default', 'moin_#': "(S'Please edit system and help pages ONLY in the...matting'\nS'master-date:2007-12-20 18:10:00'\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 0x101c0d0>
- self._repo.changelog
= <mercurial.changelog.changelog object at 0x11506d0>
- self._repo.changelog.read
= <bound method changelog.read of <mercurial.changelog.changelog object at 0x11506d0>>
- self.node
= <bound method changectx.node of <changectx 76bbd265124e>>
/home/user/workspace/1.8-mercurialbackend-ppacana/mercurial/changelog.py
in read
(self=<mercurial.changelog.changelog object at 0x11506d0>, node='v\xbb\xd2e\x12N\x85\xff\xdc\xe4\xdaN\xcd(ro\xb3B{\xa3')
- 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 0x11506d0>
- self.revision
= <bound method changelog.revision of <mercurial.changelog.changelog object at 0x11506d0>>
- node
= 'v\xbb\xd2e\x12N\x85\xff\xdc\xe4\xdaN\xcd(ro\xb3B{\xa3'
/home/user/workspace/1.8-mercurialbackend-ppacana/mercurial/revlog.py
in revision
(self=<mercurial.changelog.changelog object at 0x11506d0>, node='v\xbb\xd2e\x12N\x85\xff\xdc\xe4\xdaN\xcd(ro\xb3B{\xa3')
- 953 text = self.chunk(base, df=df)
- 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)
- bins undefined
- self
= <mercurial.changelog.changelog object at 0x11506d0>
- self.chunk
= <bound method changelog.chunk of <mercurial.changelog.changelog object at 0x11506d0>>
- r
= 347
- df
= None
- builtin
xrange
= <type 'xrange'>
- base
= 346
- rev
= 347
/home/user/workspace/1.8-mercurialbackend-ppacana/mercurial/revlog.py
in chunk
(self=<mercurial.changelog.changelog object at 0x11506d0>, rev=347, df=None)
- 906 c = c[offset:offset + length]
- 907
- 908 return decompress(c)
- 909
- 910 def delta(self, node):
- global
decompress
= <function decompress at 0xdd02a8>
- c
= 'x\x9c\x85\x91ok\xdb0\x10\xc6\xf7:\x9f\xe2\xc6^x/\x9a\xccRlY6c\x90\x91\xedU\xba\x96:\x0c\x06\x85p\xae/\x8e:\xfd1\x92\xb2v\xdf~r...\xb7tp!Z4\xf4\xdf\x02\xc7@^\xf5\xcfL\xce\xd3NW\xd3_<O\xd3h\x87\xe34\xcd6\xbb\xc7\xdf\xd2L\xf2\x8a\xd7\xa2\x94\x15\x89\x9c!\x15\x95\xa8\nQ'
/home/user/workspace/1.8-mercurialbackend-ppacana/mercurial/revlog.py
in decompress
(bin='x\x9c\x85\x91ok\xdb0\x10\xc6\xf7:\x9f\xe2\xc6^x/\x9a\xccRlY6c\x90\x91\xedU\xba\x96:\x0c\x06\x85p\xae/\x8e:\xfd1\x92\xb2v\xdf~r...\xb7tp!Z4\xf4\xdf\x02\xc7@^\xf5\xcfL\xce\xd3NW\xd3_<O\xd3h\x87\xe34\xcd6\xbb\xc7\xdf\xd2L\xf2\x8a\xd7\xa2\x94\x15\x89\x9c!\x15\x95\xa8\nQ')
- 103 return bin
- 104 if t == 'x':
- 105 return _decompress(bin)
- 106 if t == 'u':
- 107 return bin[1:]
- global
_decompress
= <built-in function decompress>
- bin
= 'x\x9c\x85\x91ok\xdb0\x10\xc6\xf7:\x9f\xe2\xc6^x/\x9a\xccRlY6c\x90\x91\xedU\xba\x96:\x0c\x06\x85p\xae/\x8e:\xfd1\x92\xb2v\xdf~r...\xb7tp!Z4\xf4\xdf\x02\xc7@^\xf5\xcfL\xce\xd3NW\xd3_<O\xd3h\x87\xe34\xcd6\xbb\xc7\xdf\xd2L\xf2\x8a\xd7\xa2\x94\x15\x89\x9c!\x15\x95\xa8\nQ'