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

Empty directory causes error #529

Closed
mattangus opened this issue Jun 4, 2021 · 2 comments
Closed

Empty directory causes error #529

mattangus opened this issue Jun 4, 2021 · 2 comments
Assignees
Labels
bug Something isn't working priority-p1 Regular product backlog

Comments

@mattangus
Copy link

mattangus commented Jun 4, 2021

Here is the error that pops up in the bottom right of VSCode:

Command failed with exit code 1: dvc list . output/train_results --dvc-only --show-json ERROR: failed to list '.' - The path 'output/train_results' does not exist in the target repository '<path to project>' as an DVC output.

This error showed up after trying to expand the train_results folder in the DVC Tracked pannel in the side bar.

And the relevant stage in my dvc.yaml:

  train:
    ....
    outs:
      - output/train_results/

Finally the output of tree:

$ tree output
output
└── train_results

This is with the most recent extension version: v0.1.0-b2528b59f1bf99c9c750a06076eae8d802ea9852.

@shcheklein
Copy link
Member

@mattangus hey, thanks for reporting this! It's related to this DVC issue that will be taken care of soon - iterative/dvc#6106

@shcheklein shcheklein changed the title Empty Directory Causes Error Empty directory causes error Jun 6, 2021
@shcheklein shcheklein added the priority-p1 Regular product backlog label Jun 6, 2021
@mattseddon
Copy link
Member

Fixed by #1030. The error still remains in DVC but we are using a different approach to get the data now.

Demo:

Screen.Recording.2021-11-17.at.11.32.05.am.mov

@mattseddon mattseddon self-assigned this Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-p1 Regular product backlog
Projects
None yet
Development

No branches or pull requests

3 participants