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 0x1866150>)
- 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 0x108f410>
- self
= <MoinMoin.request.request_standalone.Request object at 0x1866150>
- self.page
= <MoinMoin.Page.Page object at 0x1866250>
- self.page.page_name
= u'StartSeite'
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/action/__init__.py
in do_show
(pagename=u'StartSeite',
request=<MoinMoin.request.request_standalone.Request object at
0x1866150>, 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 0x1866390>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 904 request.setHttpHeader("Content-Type: %s; charset=%s" % (self.output_mimetype, self.output_charset))
- 905 if page_exists:
- 906 if not request.user.may.read(self.page_name):
- 907 request.setHttpHeader('Status: 403 Permission Denied')
- 908 else:
- request
= <MoinMoin.request.request_standalone.Request object at 0x1866150>
- request.user
= <MoinMoin.user.User at 0x185f4d0 name:'' valid:0>
- request.user.may
= <MoinMoin.security.Permissions instance at 0x185fea8>
- request.user.may.read
= <function <lambda> at 0x18de500>
- self
= <MoinMoin.Page.Page object at 0x1866390>
- self.page_name
= u'StartSeite'
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/security/__init__.py
in
(pagename=u'StartSeite')
- 145 if attr not in request.cfg.acl_rights_valid:
- 146 raise AttributeError, attr
- 147 return lambda pagename: _check(self.request, pagename, self.name, attr)
- 148
- 149
- pagename
= u'StartSeite'
- global
_check
= <function _check at 0xcb16e0>
- self
= <MoinMoin.security.Permissions instance at 0x185fea8>
- self.request
= <MoinMoin.request.request_standalone.Request object at 0x1866150>
- self.name
= ''
- attr
= 'read'
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/security/__init__.py
in _check
(request=<MoinMoin.request.request_standalone.Request object at
0x1866150>, pagename=u'StartSeite', username='', right='read')
- 80 else:
- 81 p = Page(request, pagename)
- 82 acl = p.getACL() # this will be fast in a reused page obj
- 83 allowed = acl.may(request, username, right)
- 84 if allowed is not None:
- acl undefined
- p
= <MoinMoin.Page.Page object at 0x1866250>
- p.getACL
= <bound method Page.getACL of <MoinMoin.Page.Page object at 0x1866250>>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/Page.py
in getACL
(self=<MoinMoin.Page.Page object at 0x1866250>)
- 544 else:
- 545 try:
- 546 acls = current_rev[ACL]
- 547 except KeyError: # no ACLs defined on current revision
- 548 pass
- acls
= []
- current_rev
= <MoinMoin.storage.backends.hg.MercurialStoredRevision object at 0x1866210>
- global
ACL
= 'acl'
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/__init__.py
in __getitem__
(self=<MoinMoin.storage.backends.hg.MercurialStoredRevision object at 0x1866210>, key='acl')
- 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 0x1866210>
- self._load_metadata
= <bound method MercurialStoredRevision._load_meta....hg.MercurialStoredRevision object at 0x1866210>>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/__init__.py
in _load_metadata
(self=<MoinMoin.storage.backends.hg.MercurialStoredRevision object at 0x1866210>)
- 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 0x1866210>
- self._metadata
= None
- self._backend
= <MoinMoin.storage.backends.hg.MercurialBackend object at 0x1019590>
- self._backend._get_revision_metadata
= <bound method MercurialBackend._get_revision_met...ackends.hg.MercurialBackend object at 0x1019590>>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/storage/backends/hg.py
in _get_revision_metadata
(self=<MoinMoin.storage.backends.hg.MercurialBackend object at
0x1019590>,
rev=<MoinMoin.storage.backends.hg.MercurialStoredRevision object at
0x1866210>)
- 331 # XXX: this needs rethink after soc
- 332 # (along with idea of dropping patch and 1:1 mapping beetwen backend revs and hg filerevs)
- 333 for num, repo_rev in enumerate([r for r in iter(self._repo) if rev._item_id in self._repo[r].files()]):
- 334 if num == rev.revno:
- 335 ctx = self._repo[repo_rev]
- num undefined
- repo_rev undefined
- builtin
enumerate
= <type 'enumerate'>
- r
= 1115
- builtin
iter
= <built-in function iter>
- self
= <MoinMoin.storage.backends.hg.MercurialBackend object at 0x1019590>
- self._repo
= <mercurial.localrepo.localrepository object at 0x101c0d0>
- rev
= <MoinMoin.storage.backends.hg.MercurialStoredRevision object at 0x1866210>
- rev._item_id
= 'dad52b4c9505bcad82927a89fc54a956'
- ].files undefined
/home/user/workspace/1.8-mercurialbackend-ppacana/mercurial/context.py
in files
(self=<changectx 40bc2ca4a4a1>)
- 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 40bc2ca4a4a1>
- self._changeset
= ("F\xe8\xab\xe3\xdd\xb6\xe6\x1b\xcd\xd7b\xee'|\x06R\xb3\xee\xc4J",
'Reimar Bauer <rb.proj AT googlemail DOT com>', (1218572386.0,
-7200), ['ae9ce48ea000346acbb23303db417901'], '', {'__timestamp':
'L1216556892L\n.', 'branch': 'default', 'moin_#': "(S'Please edit system and help pages ONLY in the...achFile'\nS'master-date:2002-03-05 18:43:17'\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 40bc2ca4a4a1>, 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 40bc2ca4a4a1>
- self._changeset
= ("F\xe8\xab\xe3\xdd\xb6\xe6\x1b\xcd\xd7b\xee'|\x06R\xb3\xee\xc4J",
'Reimar Bauer <rb.proj AT googlemail DOT com>', (1218572386.0,
-7200), ['ae9ce48ea000346acbb23303db417901'], '', {'__timestamp':
'L1216556892L\n.', 'branch': 'default', 'moin_#': "(S'Please edit system and help pages ONLY in the...achFile'\nS'master-date:2002-03-05 18:43:17'\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 40bc2ca4a4a1>>
/home/user/workspace/1.8-mercurialbackend-ppacana/mercurial/changelog.py
in read
(self=<mercurial.changelog.changelog object at 0x11506d0>, node='@\xbc,\xa4\xa4\xa1\x99\xbc3x\x82\x06\x06\xb3\xb2_\xc1\xcbF\xe9')
- 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
= '@\xbc,\xa4\xa4\xa1\x99\xbc3x\x82\x06\x06\xb3\xb2_\xc1\xcbF\xe9'
/home/user/workspace/1.8-mercurialbackend-ppacana/mercurial/revlog.py
in revision
(self=<mercurial.changelog.changelog object at 0x11506d0>, node='@\xbc,\xa4\xa4\xa1\x99\xbc3x\x82\x06\x06\xb3\xb2_\xc1\xcbF\xe9')
- 958 if node != hash(text, p1, p2):
- 959 raise RevlogError(_("integrity check failed on %s:%d")
- 960 % (self.datafile, rev))
- 961
- 962 self._cache = (node, rev, text)
- self
= <mercurial.changelog.changelog object at 0x11506d0>
- self.datafile
= '00changelog.d'
- rev
= 1115