Unknown exception encountered with possibly-broken third-party extension felog

Still need help?

The Atlassian Community is here for you.

Ask the community

This error can occur when there are API changes to Mercurial

Mercurial 3.0+ support is currently being tracked at FE-5253 - Getting issue details... STATUS

Mercurial 2.3 support was adding in Fisheye/Crucible 2.10 - FE-4350 - Getting issue details... STATUS

Symptoms

The indexing of the Mercurial repository fails and the following appears in the atlassian-fisheye-<DATE>.log:

Repository index failed due to error com.cenqua.fisheye.rep.RepositoryClientException: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: ** Unknown exception encountered with possibly-broken third-party extension felog ** which supports versions unknown of Mercurial. ** Please disable felog and try your action again. ** If that fixes the bug please report it to the extension author. ** Python 2.6.6 (r266:84292, Jun 18 2012, 14:18:47) [GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] ** Mercurial Distributed SCM (version 2.3) ** Extensions loaded: felog Traceback (most recent call last): File "/usr/bin/hg", line 38, in <module> mercurial.dispatch.run() File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 28, in run sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 65, in dispatch return _runcatch(req) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 88, in _runcatch return _dispatch(req) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 740, in _dispatch cmdpats, cmdoptions) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 514, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 830, in _runcommand return checkargs() File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 801, in checkargs return cmdfunc() File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 737, in <lambda> d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line 472, in check return func(*args, **kwargs) File "/opt/atlassian/fecru-2.8.2/python/hg/hgfelog/hgfelog.py", line 95, in felog felognode(ui, repo, repo[r], **opts) File "/opt/atlassian/fecru-2.8.2/python/hg/hgfelog/hgfelog.py", line 121, in felognode diffParent(ui, repo, ctx, commitState, f, opts.get('patch'), opts.get('converted'), opts.get('merges'), opts.get('changesets')) File "/opt/atlassian/fecru-2.8.2/python/hg/hgfelog/hgfelog.py", line 136, in diffParent processPath(ui, repo, ctx, commitState, format, diffs, svnConversion, f) File "/opt/atlassian/fecru-2.8.2/python/hg/hgfelog/hgfelog.py", line 141, in processPath state = pathstate(repo, ctx, commitState, svnConversion, f) File "/opt/atlassian/fecru-2.8.2/python/hg/hgfelog/hgfelog.py", line 269, in __init__ self._parents = getDeletedFileParents(ctx, path) File "/opt/atlassian/fecru-2.8.2/python/hg/hgfelog/hgfelog.py", line 260, in getDeletedFileParents ancestor0 = parents[0].ancestor(parents[1]) TypeError: ancestor() takes exactly 3 arguments (2 given) com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: ** Unknown exception encountered with possibly-broken third-party extension felog ** which supports versions unknown of Mercurial. ** Please disable felog and try your action again. ** If that fixes the bug please report it to the extension author. ** Python 2.6.6 (r266:84292, Jun 18 2012, 14:18:47) [GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] ** Mercurial Distributed SCM (version 2.3) ** Extensions loaded: felog Traceback (most recent call last): File "/usr/bin/hg", line 38, in <module> mercurial.dispatch.run() File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 28, in run sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 65, in dispatch return _runcatch(req) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 88, in _runcatch return _dispatch(req) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 740, in _dispatch cmdpats, cmdoptions) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 514, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 830, in _runcommand return checkargs() File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 801, in checkargs return cmdfunc() File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 737, in <lambda> d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line 472, in check return func(*args, **kwargs) File "/opt/atlassian/fecru-2.8.2/python/hg/hgfelog/hgfelog.py", line 95, in felog felognode(ui, repo, repo[r], **opts) File "/opt/atlassian/fecru-2.8.2/python/hg/hgfelog/hgfelog.py", line 121, in felognode diffParent(ui, repo, ctx, commitState, f, opts.get('patch'), opts.get('converted'), opts.get('merges'), opts.get('changesets')) File "/opt/atlassian/fecru-2.8.2/python/hg/hgfelog/hgfelog.py", line 136, in diffParent processPath(ui, repo, ctx, commitState, format, diffs, svnConversion, f) File "/opt/atlassian/fecru-2.8.2/python/hg/hgfelog/hgfelog.py", line 141, in processPath state = pathstate(repo, ctx, commitState, svnConversion, f) File "/opt/atlassian/fecru-2.8.2/python/hg/hgfelog/hgfelog.py", line 269, in __init__ self._parents = getDeletedFileParents(ctx, path) File "/opt/atlassian/fecru-2.8.2/python/hg/hgfelog/hgfelog.py", line 260, in getDeletedFileParents ancestor0 = parents[0].ancestor(parents[1]) TypeError: ancestor() takes exactly 3 arguments (2 given) com.atlassian.utils.process.ProcessException: While executing: "hg --config extensions.felog=/opt/atlassian/fecru-2.8.2/python/hg/hgfelog/hgfelog.py --config ui.verbose=false felog fb7903d8ae9827336bb5116ff88f34663838b1fa -p -m " in [/opt/atlassian/fisheye/var/cache/Momo-dev/clone] com.atlassian.utils.process.ProcessException: Non-zero exit code: 1

Diagnosis

Your Mercurial Server version is 3.0+.

Cause

Because of API changes in Mercurial 3.0 in some cases Mercurial indexing with FishEye can crash.

Workaround

As a workaround, point FishEye to a Mercurial executable in an earlier supported version, as described here: Mercurial client.

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.