Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-4479

FishEye Not Fully Compatible With Mercurial 2.5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.10.3, 3.0.0
    • 2.10.1
    • None
    • None

    Description

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

      The stacktrace is the following:

      Error
      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.5 (r265:79063, Oct 1 2012, 22:04:36) [GCC 4.4.3] 
      ** Mercurial Distributed SCM (version 2.5) 
      ** Extensions loaded: convert, highlight, mq, felog Traceback (most recent call last): 
      File "/usr/bin/hg", line 38, in <module> mercurial.dispatch.run() 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 28, in run sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 65, in dispatch return _runcatch(req) 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 88, in _runcatch return _dispatch(req) 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 743, in _dispatch cmdpats, cmdoptions) 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 514, in runcommand ret = _runcommand(ui, options, cmd, d) 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 833, in _runcommand return checkargs() 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 804, in checkargs return cmdfunc() 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 740, in <lambda> d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) 
      File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 475, in check return func(*args, **kwargs) 
      File "/usr/lib/pymodules/python2.6/mercurial/extensions.py", line 144, in wrap util.checksignature(origfn), *args, **kwargs) 
      File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 475, in check return func(*args, **kwargs) 
      File "/usr/lib/pymodules/python2.6/hgext/mq.py", line 3508, in mqcommand return orig(ui, repo, *args, **kwargs) 
      File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 475, in check return func(*args, **kwargs) 
      File "/opt/fecru-2.10.1/python/hg/hgfelog/hgfelog.py", line 95, in felog felognode(ui, repo, repo[r], **opts) 
      File "/opt/fecru-2.10.1/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/fecru-2.10.1/python/hg/hgfelog/hgfelog.py", line 136, in diffParent processPath(ui, repo, ctx, commitState, format, diffs, svnConversion, f) 
      File "/opt/fecru-2.10.1/python/hg/hgfelog/hgfelog.py", line 161, in processPath state.diff(ui, format['diff'], repo, ctx) 
      File "/opt/fecru-2.10.1/python/hg/hgfelog/hgfelog.py", line 459, in diff writePrefixed(ui, prefix, mdiff.unidiff(aFileData, aFileDate, bFileData, bFileDate, aFileName, bFileName, None, diffopts)) TypeError: unidiff() takes at most 7 arguments (8 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.5 (r265:79063, Oct 1 2012, 22:04:36) [GCC 4.4.3] 
      ** Mercurial Distributed SCM (version 2.5) 
      ** Extensions loaded: convert, highlight, mq, felog Traceback (most recent call last): 
      File "/usr/bin/hg", line 38, in <module> mercurial.dispatch.run() 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 28, in run sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 65, in dispatch return _runcatch(req) 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 88, in _runcatch return _dispatch(req) 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 743, in _dispatch cmdpats, cmdoptions) 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 514, in runcommand ret = _runcommand(ui, options, cmd, d) 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 833, in _runcommand return checkargs() 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 804, in checkargs return cmdfunc() 
      File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 740, in <lambda> d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) 
      File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 475, in check return func(*args, **kwargs) 
      File "/usr/lib/pymodules/python2.6/mercurial/extensions.py", line 144, in wrap util.checksignature(origfn), *args, **kwargs) 
      File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 475, in check return func(*args, **kwargs) 
      File "/usr/lib/pymodules/python2.6/hgext/mq.py", line 3508, in mqcommand return orig(ui, repo, *args, **kwargs) 
      File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 475, in check return func(*args, **kwargs) 
      File "/opt/fecru-2.10.1/python/hg/hgfelog/hgfelog.py", line 95, in felog felognode(ui, repo, repo[r], **opts) 
      File "/opt/fecru-2.10.1/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/fecru-2.10.1/python/hg/hgfelog/hgfelog.py", line 136, in diffParent processPath(ui, repo, ctx, commitState, format, diffs, svnConversion, f) 
      File "/opt/fecru-2.10.1/python/hg/hgfelog/hgfelog.py", line 161, in processPath state.diff(ui, format['diff'], repo, ctx) 
      File "/opt/fecru-2.10.1/python/hg/hgfelog/hgfelog.py", line 459, in diff writePrefixed(ui, prefix, mdiff.unidiff(aFileData, aFileDate, bFileData, bFileDate, aFileName, bFileName, None, diffopts)) TypeError: unidiff() takes at most 7 arguments (8 given) com.atlassian.utils.process.ProcessException: While executing: "/usr/bin/hg --config extensions.felog=/opt/fecru-2.10.1/python/hg/hgfelog/hgfelog.py --config ui.verbose=false felog 83187f9817bbf1f6962738601ef8c5019aec6f4f -p -m " in [/opt/fecru2/var/cache/GridVis_main/clone] com.atlassian.utils.process.ProcessException: Non-zero exit code: 1
      

      Attachments

        Issue Links

          Activity

            People

              npellow Nick
              rluispereiramartins RicardoA
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 19m
                  19m