-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect error message when importing to non-existent folder #3338
Comments
Hi @charlesbaynham ! Thanks for reporting this issue! I am able to reproduce a similar issue with:
But |
@charlesbaynham We've done some adjustments to
which has a typo (will send a fix soon), but is now pointing out that the directory doesn't, which is expected behaviour now. |
Thank you @efiop ! DVC is great by the way, I'm enjoying using it a lot |
Setup
dvc 0.84.0
Mac, installation via conda
Problem
When importing a file from a git repo into a subdirectory in the current repo, dvc fails with an incorrect error message if the subdirectory does not exist.
To demonstrate this problem, run the following:
Expected behavior
Error message stating that the output directory does not exist
Actual behaviour
This error message:
Note that
code.txt
does exist and is committed to git. DVC successfully imports it if the subdirectorysome_dir
exists.The text was updated successfully, but these errors were encountered: