Closed
Bug 1100031
Opened 10 years ago
Closed 10 years ago
Can't commit to nb-NO beta l10n repository, getting python error on hgwebjson
Categories
(Developer Services :: Mercurial: hg.mozilla.org, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1100027
People
(Reporter: mail, Unassigned)
Details
I'm getting this error when trying to push to the repo http://hg.mozilla.org/releases/l10n/mozilla-beta/nb-NO/ (also occurs in the corresponding nb-NO Aurora repository, possibly others - but haven't checked) [hmork@serve nb-NO-beta]$ hg push pushing to ssh://hg.mozilla.org/releases/l10n/mozilla-beta/nb-NO Enter passphrase for key '/home/hmork/.ssh/id_dsa': searching for changes remote: adding changesets remote: adding manifests remote: adding file changes remote: added 1 changesets with 1 changes to 1 files (+1 heads) remote: error: pretxnchangegroup.b_singlehead hook raised an exception: 'wrappedlocalrepo' object has no attribute 'branchtags' remote: transaction abort! remote: rollback completed remote: ** Unknown exception encountered with possibly-broken third-party extension hgwebjson remote: ** which supports versions unknown of Mercurial. remote: ** Please disable hgwebjson and try your action again. remote: ** If that fixes the bug please report it to the extension author. remote: ** Python 2.6.6 (r266:84292, Nov 21 2013, 10:50:32) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] remote: ** Mercurial Distributed SCM (version 3.2.1+2-3246801ff313) remote: ** Extensions loaded: hgwebjson, pushlog-feed, buglink, serverlog remote: Traceback (most recent call last): remote: File "/usr/bin/hg", line 43, in <module> remote: mercurial.dispatch.run() remote: File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 28, in run remote: sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) remote: File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 71, in dispatch remote: ret = _runcatch(req) remote: File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 140, in _runcatch remote: return _dispatch(req) remote: File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 850, in _dispatch remote: cmdpats, cmdoptions) remote: File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 611, in runcommand remote: ret = _runcommand(ui, options, cmd, d) remote: File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 941, in _runcommand remote: return checkargs() remote: File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 912, in checkargs remote: return cmdfunc() remote: File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 847, in <lambda> remote: d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) remote: File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line 677, in check remote: return func(*args, **kwargs) remote: File "/usr/lib64/python2.6/site-packages/mercurial/commands.py", line 5536, in serve remote: s.serve_forever() remote: File "/repo/hg/extensions/serverlog/__init__.py", line 332, in serve_forever remote: return super(sshserverwrapped, self).serve_forever() remote: File "/usr/lib64/python2.6/site-packages/mercurial/sshserver.py", line 94, in serve_forever remote: while self.serve_one(): remote: File "/repo/hg/extensions/serverlog/__init__.py", line 361, in serve_one remote: return super(sshserverwrapped, self).serve_one() remote: File "/usr/lib64/python2.6/site-packages/mercurial/sshserver.py", line 112, in serve_one remote: rsp = wireproto.dispatch(self.repo, self, cmd) remote: File "/repo/hg/extensions/serverlog/__init__.py", line 353, in dispatch remote: return origdispatch(repo, proto, cmd) remote: File "/usr/lib64/python2.6/site-packages/mercurial/wireproto.py", line 505, in dispatch remote: return func(repo, proto, *args) remote: File "/usr/lib64/python2.6/site-packages/mercurial/wireproto.py", line 828, in unbundle remote: proto._client()) remote: File "/usr/lib64/python2.6/site-packages/mercurial/exchange.py", line 1265, in unbundle remote: r = changegroup.addchangegroup(repo, cg, source, url) remote: File "/usr/lib64/python2.6/site-packages/mercurial/changegroup.py", line 698, in addchangegroup remote: repo.hook('pretxnchangegroup', throw=True, pending=p, **hookargs) remote: File "/usr/lib64/python2.6/site-packages/mercurial/localrepo.py", line 491, in hook remote: return hook.hook(self.ui, self, name, throw, **args) remote: File "/usr/lib64/python2.6/site-packages/mercurial/hook.py", line 203, in hook remote: r = _pythonhook(ui, repo, name, hname, hookfn, args, throw) or r remote: File "/usr/lib64/python2.6/site-packages/mercurial/hook.py", line 89, in _pythonhook remote: r = obj(ui=ui, repo=repo, hooktype=name, **args) remote: File "/repo/hg/libraries/mozhghooks/single_head_per_branch.py", line 20, in hook remote: for b in repo.branchtags(): remote: AttributeError: 'wrappedlocalrepo' object has no attribute 'branchtags' abort: unexpected response: empty string Since the error messages provide a "remote:" prefix, I believe this is a server-side problem in a mercurial hook.
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•