Error while indexing git repository

Hi!

I am trying to Add existing Git repository (via SCM manager) to Fisheye (v2.7.4 on Win Server), but this error occurs:

Error

Repository index failed due to error
com.cenqua.fisheye.rep.RepositoryClientException: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS:
com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS:
com.atlassian.utils.process.ProcessException: While executing: "D:/Git/Git_Home/msysgit/git/git.exe whatchanged --always --reverse --date-order -m --no-abbrev --no-renames 41cf62b30b56cb6e5cf90e777b029f6e11491384 --pretty=format:C:%H%nP:%P%nA:%aN%nE:%aE%nR:%cN%nF:%cE%nD:%at%nS:%s%nB:%b%n@@fe_body_end@@ "
com.atlassian.utils.process.ProcessException: com.atlassian.fisheye.dvcs.handler.DvcsProcessRuntimeException: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: error: cannot spawn astextplain: No such file or directory
fatal: unable to read files to diff

com.atlassian.fisheye.dvcs.handler.DvcsProcessRuntimeException: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: error: cannot spawn astextplain: No such file or directory
fatal: unable to read files to diff

com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: error: cannot spawn astextplain: No such file or directory
fatal: unable to read files to diff

com.atlassian.utils.process.ProcessException: While executing: "D:/Git/Git_Home/msysgit/git/git.exe diff --no-renames --no-abbrev --full-index -U0 ed99d5ed476e63a242c3055a1c97c8b562832664..c83ab81c0066214dd93f0ac14138c9a1dcabf03e "
com.atlassian.utils.process.ProcessException: Non-zero exit code: 128

I also tried the button "Test Connection" in "cogwheel->View...", it says "Connection succeeded"

So, I tried to execute this 2 commands manually on this repo (& on my laptop) ("git diff --no-renames --no-abbrev --full-index -U0 ed99d5ed476e63a242c3055a1c97c8b562832664..c83ab81c0066214dd93f0ac14138c9a1dcabf03e" and "git whatchanged --always --reverse --date-order -m --no-abbrev --no-renames 41cf62b30b56cb6e5cf90e777b029f6e11491384 --pretty=format:C:%H%nP:%P%nA:%aN%nE:%aE%nR:%cN%nF:%cE%nD:%at%nS:%s%nB:%b%n@@fe_body_end@@"), its works fine,...

Finally, I tried to add this repo in another Fisheye server (v2.7.13 on Linux), and no problem as well...

I don't have anymore ideas, Thanks for helping me,

Kevin.

2 answers

1 accepted

0 votes
Accepted answer

Hi!

Finally, I have resolved this issue: I changed the version of msysGit used by Fisheye to v1.8.1.2 and all works fine on my Fisheye v2.7.4

Thanks for trying to help me...

Hope its can help somebody else,

Kevin.

0 votes

Hi Kevin,

It seem the problem only happen in Fe v2.7.4 and as you mentioned not able to reproduce in Fe 2.7.13. Can you try to upgrade and see how it goes? If the problem still happening, I believe you can raise a ticket to us for further investigate. You may file a ticket here:https://support.atlassian.com

Hope its help. Thanks, John

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 01, 2018 in Summit

Summit 2019 is going to Las Vegas

You asked we answered - Summit 2019 registration is now open! Can you believe Atlassian Summit hasn’t been to the US since 2017? Now is the time to get ready for an event to remember! Our biggest u...

316 views 7 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you