pull -r remote: Fails with 'No file hash info found'
See original GitHub issueBug Report
Description
dvc pull -r <remote> fails with WARNING: No file hash info found for 'dir'. It won't be created. for dvc tracked directory.
- Happens when no default remote is set
- Happens with HTTP remote
- This doesn’t happen with earlier versions (tested with
2.3.0and works fine)
Reproduce
- Clone a repo with a dvc tracked directory and no default remote set. (Example repo:
https://dagshub.com/Simon/baby-yoda-segmentation-dataset.gitin branchnodefault) - Run
dvc pull -r <remote>
Expected
Successful pulling of files
Environment information
Output of dvc doctor:
DVC version: 2.7.2 (pip)
---------------------------------
Platform: Python 3.7.6 on Darwin-20.6.0-x86_64-i386-64bit
Supports:
http (aiohttp = 3.7.4.post0, aiohttp-retry = 2.4.5),
https (aiohttp = 3.7.4.post0, aiohttp-retry = 2.4.5)
Cache types: reflink, hardlink, symlink
Cache directory: apfs on /dev/disk1s2s1
Caches: local
Remotes: https
Workspace directory: apfs on /dev/disk1s2s1
Repo: dvc, git
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Failed to pull existing files from SSH DVC Remote
I am facing the same issue and for dvc status -c -r <remote_name> it shows Cache and remote 'storage' are in sync. –...
Read more >Can't go to former version of dataset with `dvc checkout`
Hi, I am trying out DVC for the first time for my deep learning development pipeline. As mentioned in the Version Data with...
Read more >Developers • gpgr - umccr
WARNING: No file hash info found for 'FOO.txt'. It won't be created. ERROR: failed to pull data from the cloud - Checkout failed...
Read more >file — CMake 3.25.1 Documentation
Path Conversion file(REAL_PATH <path> <out-var> [BASE_DIRECTORY <dir>] [EXPAND_TILDE]) file(RELATIVE_PATH <out-var> <directory> <file>) file({TO_CMAKE_PATH | ...
Read more >Documentation - Rclone
(See the --config entry for how to find the config file and choose its ... give the error Failed to create file system...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

For me, this was a simple user error. I was running
dvc pullinstead ofdvc pull -r origin. It only took an hour of tutorials to figure it out 😄This issue was closed but I think it was no resolved, issue #6600 doesn’t resolve it either
This is the error am getting from my end