grimoirelab-perceval icon indicating copy to clipboard operation
grimoirelab-perceval copied to clipboard

Perceval git tryes to spawn sh on windows.

Open Neppord opened this issue 8 years ago • 1 comments

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.

Neppord avatar Dec 01 '17 09:12 Neppord

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.

sduenas avatar Dec 01 '17 10:12 sduenas

Then adding linux/mac as a requirement in the readme might help people?

Neppord avatar Apr 28 '23 06:04 Neppord