grimoirelab-perceval
grimoirelab-perceval copied to clipboard
Perceval git tryes to spawn sh on windows.
running perceval git <repo> gives this error on windows.
[...]
File "C:\<sensored>\site-packages\perceval\backends\core\git.py", line 1204, in _exec
raise RepositoryError(cause=cause)
perceval.errors.RepositoryError: git command - Cloning into bare repository <sensored>
..
error: cannot spawn sh: No such file or directory
fatal: unable to fork
During handling of the above exception, another exception occurred:
[...]
File "C:\<sensored>\site-packages\perceval\backend.py", line 319, in run
raise RuntimeError(str(e))
RuntimeError: git command - Cloning into bare repository '<sensored>'...
error: cannot spawn sh: No such file or directory
fatal: unable to fork
This is the version installed with pip, perceval 0.9.6.
I'm sorry but perceval isn't fully supported on Windows yet.
In any case, I think this is related to your Git installation. Have you checked this post in Stack Overflow?
You can also run perceval inside a docker container, if the problem persists. There's more info here.
Then adding linux/mac as a requirement in the readme might help people?