dataset-registry icon indicating copy to clipboard operation
dataset-registry copied to clipboard

Failed to clone repo

Open Damon-Salvatore-liu opened this issue 1 year ago • 4 comments

When I use the following command "dvc get https://github.com/iterative/dataset-registry
get-started/data.xml -o data/data.xml" prompt "ERROR: failed to get 'get-started/data.xml' - SCM error: Failed to clone repo 'https://github.com/iterative/dataset-registry' to '/var/folders/5t/8_l102dd23z_gj9r3j41sy140000gn/T/tmp850oahzxdvc-clone': name 'urllib3' is not defined"

Damon-Salvatore-liu avatar Nov 29 '23 02:11 Damon-Salvatore-liu

Please run the command with -v. name 'urllib3' is not defined" is a minor bug in requests AFAIU, it happens when it handles some connection exception, e.g. SSL - the actual cause should be visible in logs.

shcheklein avatar Nov 29 '23 02:11 shcheklein

Thanks~

Damon-Salvatore-liu avatar Nov 29 '23 06:11 Damon-Salvatore-liu

I use same command : "dvc get https://github.com/iterative/dataset-registry get-started/data.xml -o data/data.xml"

I got this: '../../../../tmp/tmph_ii91gydvc-clone/dvc.yaml' validation failed.

extra keys not allowed, in artifacts, line 2, column 3 1 artifacts:
2 get-started-data:

elifbuyukorhan avatar Feb 02 '24 13:02 elifbuyukorhan

@elifbuyukorhan Could you please update your DVC version and try again?

dberenbaum avatar Feb 02 '24 14:02 dberenbaum