RosettaCommons / RosettaCommons/rosetta

fatal: not a git repository (or any of the parent directories): .git

Open
#247 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
470
Forks
169
Avg merge
16d 23h
Merged PRs (30d)
2

Description

I have downloaded the source code of Rosetta version 3.14. When executing the command "./scons.py -j7 mode=release bin", the error shown in the picture occurred. How can I solve this problem? Thank you very much for your help.

scons: Reading SConscript files ...
Running versioning script ...
Encounter error while executing: git rev-parse "HEAD:source/src/python/PyRosetta/binder"
Encounter error while executing: git rev-parse "HEAD:source/src/python/PyRosetta/binder"
fatal: not a git repository (or any of the parent directories): .git

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ./scons.py and the versioning script referenced in the build output, then inspect the git rev-parse call for source/src/python/PyRosetta/binder. Reproduce the command from the downloaded Rosetta 3.14 source and determine what repository state the build expects; done means the release build proceeds without the fatal repository error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, git
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.