Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
PokeJohn Atlassian Team May 09, 2013

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
TAGS
Community showcase
Published in DevOps

Step up your DevOps game webinar Q&A series - Questions answered!

  On October 21st, 2020 we hosted a webinar titled,   Step Up You DevOps Game with 4 Key Integrations for Jira and Bitbucket. We had a great showing and high engagement, but that meant th...

117 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