--> -->
Traceback (most recent call last):
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/request/__init__.py", line 1304, in run
handler(self.page.page_name, self)
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/action/edit.py", line 24, in execute
if not request.user.may.write(pagename):
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/security/__init__.py", line 146, in <lambda>
return lambda pagename: _check(self.request, pagename, self.name, attr)
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/security/__init__.py", line 81, in _check
acl = p.getACL() # this will be fast in a reused page obj
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/Page.py", line 511, in getACL
if self._item is not None: # an item exists
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/Page.py", line 159, in get_item
self.lazy_load()
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/Page.py", line 133, in lazy_load
self.__rev = self.__item.get_revision(self.rev)
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/storage/__init__.py", line 516, in get_revision
return self._backend._get_revision(self, revno)
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/storage/backends/hg.py", line 180, in _get_revision
has, last, changectx = self._has_revision(item, revno)
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/storage/backends/hg.py", line 393, in _has_revision
return True, int(max(revpairs)[0]), self._repo[ctxrev]
File "/home/sensei/_workspace/hg-moin/mercurial/localrepo.py", line 107, in __getitem__
return context.changectx(self, changeid)
File "/home/sensei/_workspace/hg-moin/mercurial/context.py", line 20, in __init__
self._node = self._repo.lookup(changeid)
File "/home/sensei/_workspace/hg-moin/mercurial/localrepo.py", line 460, in lookup
raise repo.RepoError(_("unknown revision '%s'") % key)
RepoError: unknown revision '2'
Additionally cgitb raised this exception:
Traceback (most recent call last):
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/failure.py", line 176, in handle
handler.handle(savedError)
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/support/cgitb.py", line 576, in handle
doc = view.format(formatter, self.context)
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/support/cgitb.py", line 354, in format
return formatter.section(self.formatContent(), {'class': 'cgitb'})
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/failure.py", line 44, in formatContent
self.formatDebugInfo(),
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/failure.py", line 100, in formatDebugInfo
self.formatTraceback(),
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/failure.py", line 113, in formatTraceback
return self.formatAllTracebacks(self.formatOneTraceback)
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/failure.py", line 125, in formatAllTracebacks
tracebacks.append(formatFuction((ttype, tvalue, tb)))
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/support/cgitb.py", line 434, in formatOneTraceback
self.formatter.orderedList(self.tracebackFrames(info),
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/support/cgitb.py", line 445, in tracebackFrames
frames.append(frame.format(self.formatter))
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/support/cgitb.py", line 202, in format
items = [self.formatCall(),
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/support/cgitb.py", line 213, in formatCall
self.formatArguments(),)
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/support/cgitb.py", line 233, in formatArguments
formatvalue=formatValue)
File "/usr/lib/python2.5/inspect.py", line 812, in formatargvalues
specs.append(strseq(args[i], convert, join))
File "/usr/lib/python2.5/inspect.py", line 767, in strseq
return convert(object)
File "/usr/lib/python2.5/inspect.py", line 809, in convert
return formatarg(name) + formatvalue(locals[name])
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/support/cgitb.py", line 229, in formatValue
return '=' + self.formatter.repr(value)
File "/home/sensei/_workspace/_moin/MercurialBackend/MoinMoin/support/cgitb.py", line 133, in repr
return pydoc.html.repr(object)
File "/usr/lib/python2.5/pydoc.py", line 381, in repr
return Repr.repr(self, object)
File "/usr/lib/python2.5/repr.py", line 24, in repr
return self.repr1(x, self.maxlevel)
File "/usr/lib/python2.5/pydoc.py", line 388, in repr1
return self.escape(cram(stripid(repr(x)), self.maxother))
File "/home/sensei/_workspace/hg-moin/mercurial/context.py", line 30, in __repr__
return "<changectx %s>" % str(self)
File "/home/sensei/_workspace/hg-moin/mercurial/context.py", line 24, in __str__
return short(self.node())
File "/home/sensei/_workspace/hg-moin/mercurial/context.py", line 84, in node
def node(self): return self._node
File "/home/sensei/_workspace/hg-moin/mercurial/context.py", line 68, in __getattr__
raise AttributeError, name
AttributeError: _node