ffsubsync icon indicating copy to clipboard operation
ffsubsync copied to clipboard

install failed: permission denied on got submodule

Open svenjochems opened this issue 6 years ago • 1 comments

Submodule https://github.com/smacke/subsync-data is not accessible causing pip install to fail.

Collecting git+https://github.com/smacke/subsync@STABLE Cloning https://github.com/smacke/subsync (to revision STABLE) to /tmp/pip-req-build-dy_ijyxx Running command git clone -q https://github.com/smacke/subsync /tmp/pip-req-build-dy_ijyxx Running command git submodule update --init --recursive -q [email protected]: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. fatal: clone of '[email protected]:smacke/subsync-data' into submodule path '/tmp/pip-req-build-dy_ijyxx/test-data' failed Failed to clone 'test-data'. Retry scheduled [email protected]: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. fatal: clone of '[email protected]:smacke/subsync-data' into submodule path '/tmp/pip-req-build-dy_ijyxx/test-data' failed Failed to clone 'test-data' a second time, aborting ERROR: Command errored out with exit status 1: git submodule update --init --recursive -q Check the logs for full command output.

svenjochems avatar Mar 15 '20 16:03 svenjochems

@svenjochems thank you for filing this issue. The submodule is a private repo containing data for the integration tests; I didn't realize pip would try to grab it. Dang... another reason why #55 and #36 need to happen asap.

For now I went ahead and did a quick fix. If you repeat the command it should work, but change the all-caps STABLE to stable as follows:

pip install git+https://github.com/smacke/subsync@stable

(Please let me know if this command still gives you trouble; if so I'll reopen the issue to troubleshoot further.)

smacke avatar Mar 15 '20 18:03 smacke