Skip to content
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

DVC run -d error message is confusing #2439

Closed
amutz opened this issue Aug 25, 2019 · 1 comment
Closed

DVC run -d error message is confusing #2439

amutz opened this issue Aug 25, 2019 · 1 comment
Labels
bug Did we break something? good first issue p1-important Important, aka current backlog of things to do ui user interface / interaction

Comments

@amutz
Copy link

amutz commented Aug 25, 2019

Hello,

If you create a stage that depend on the contents of a bucket with something like dvc run -d gs://some_bucket/ you will get this error message:

failed to run command - missing dependency

What this should say is "Depending on a bucket is unsupported. Please depend on specific files within the bucket." or something like that

@shcheklein shcheklein added bug Did we break something? p1-important Important, aka current backlog of things to do ui user interface / interaction good first issue labels Aug 25, 2019
@efiop
Copy link
Contributor

efiop commented Aug 26, 2019

Hi @amutz !

Thanks for the feedback! I would probably just go ahead and implement support for directories. A lot of generalization is already there as local and ssh support directories. I'll close this one in favor of #1654 . Basically, in order to implement a meaningful message, we need to implement RemoteS3.isdir method, at which point we might just go right ahead and fill 1 or 2 additional methods needed for full blown directories support.

@efiop efiop closed this as completed Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Did we break something? good first issue p1-important Important, aka current backlog of things to do ui user interface / interaction
Projects
None yet
Development

No branches or pull requests

3 participants