Closed
Bug 1293471
Opened 8 years ago
Closed 8 years ago
'mach mercurial-setup' gives "KeyError: 'extensions'" when choosing to enable the "curses" interface
Categories
(Developer Services :: Mercurial: configwizard, defect)
Developer Services
Mercurial: configwizard
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: botond, Unassigned)
Details
I ran "mach mercurial-setup". At the point where it asked me: Would you like to enable "curses" interfaces? I selected "y", and then got the following error: Would you like to enable "curses" interfaces (Yn)? y ** Unknown exception encountered with possibly-broken third-party extension push-to-try ** which supports versions 3.6 of Mercurial. ** Please disable push-to-try and try your action again. ** If that fixes the bug please report it to the extension author. ** Python 2.7.9 (default, Mar 1 2015, 12:57:24) [GCC 4.9.2] ** Mercurial Distributed SCM (version 3.9) ** Extensions loaded: blackbox, color, chistedit, evolve, fsmonitor, graphlog, histedit, convert, extdiff, strip, mq, pager, purge, rebase, bzexport, firefoxtree, mqext, push-to-try, reviewboard, configwizard Traceback (most recent call last): File "/usr/local/bin/hg", line 45, in <module> mercurial.dispatch.run() File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 59, in run sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 125, in dispatch ret = _runcatch(req) File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 204, in _runcatch return _dispatch(req) File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 880, in _dispatch cmdpats, cmdoptions) File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 637, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/local/lib/python2.7/dist-packages/mercurial/extensions.py", line 210, in closure return func(*(args + a), **kw) File "/usr/local/lib/python2.7/dist-packages/hgext/pager.py", line 160, in pagecmd return orig(ui, options, cmd, cmdfunc) File "/usr/local/lib/python2.7/dist-packages/mercurial/extensions.py", line 210, in closure return func(*(args + a), **kw) File "/usr/local/lib/python2.7/dist-packages/hgext/color.py", line 503, in colorcmd return orig(ui_, opts, cmd, cmdfunc) File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1010, in _runcommand return checkargs() File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 971, in checkargs return cmdfunc() File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 877, in <lambda> d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1036, in check return func(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/mercurial/extensions.py", line 210, in closure return func(*(args + a), **kw) File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1036, in check return func(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/hgext/mq.py", line 3539, in mqcommand return orig(ui, repo, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1036, in check return func(*args, **kwargs) File "/home/botond/.mozbuild/version-control-tools/hgext/configwizard/__init__.py", line 360, in configwizard _checkfsmonitor(ui, cw, hgversion) File "/home/botond/.mozbuild/version-control-tools/hgext/configwizard/__init__.py", line 661, in _checkfsmonitor ext = cw.c['extensions'] File "/home/botond/.mozbuild/version-control-tools/pylib/configobj/configobj.py", line 567, in __getitem__ val = dict.__getitem__(self, key) KeyError: 'extensions'
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/hgcustom/version-control-tools/rev/22fa75a60a6d configwizard: prevent KeyError in fsmonitor check ; r=me
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•