Skip to content

Conversation

@skshetry
Copy link
Collaborator

Before it used to say 'failed to reproduce dvc.yaml', which is now changed
to print 'failed to reproduce train' or something similar.

For stages that are in dvc.yaml in the current working directory, it will
just print the stage names. For stages in other dvc.yaml files, it'll print

in <relative_path>:<stage_name>.

$ dvc exp run
ERROR: failed to reproduce 'train': [Errno 2] No such file or directory: '/private/var/folders/xh/trg29z296h70n109kwfk6g800000gn/T/tmp.fJbphlSG/data'

Related: #7137

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

Before it used to say 'failed to reproduce dvc.yaml', which is now changed
to print 'failed to reproduce train' or something similar.

For stages that are in dvc.yaml in the current working directory, it will
just print the stage names. For stages in other dvc.yaml files, it'll print

in <relative_path>:<stage_name>.
@skshetry skshetry added enhancement Enhances DVC ui user interface / interaction A: cli Related to the CLI A: pipelines Related to the pipelines feature labels Jan 18, 2022
@skshetry skshetry self-assigned this Jan 18, 2022
@skshetry skshetry requested a review from a team as a code owner January 18, 2022 07:40
@skshetry skshetry changed the title repro/exp run: display stage instead of filepath on failure repro/exp run: display stage name instead of filepath on failure Jan 18, 2022
Copy link
Contributor

@dberenbaum dberenbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@skshetry skshetry merged commit 4ba504b into treeverse:main Jan 19, 2022
@skshetry skshetry deleted the change-repro-failed-msg branch January 19, 2022 01:13
@skshetry skshetry restored the change-repro-failed-msg branch April 27, 2022 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A: cli Related to the CLI A: pipelines Related to the pipelines feature enhancement Enhances DVC ui user interface / interaction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants