It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer accepted

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 in Agile

Webinar: Dean Leffingwell and Steve Elliot present on SAFe 5.0, come ask Dean and Steve questions!

...steemed Steve Elliot (head of product for Jira Align). Agenda: What’s new or changed in SAFe 5.0: Introduction of OKRs Essential SAFe How to achieve true business a...

233 views 0 1
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you