-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
enhancementEnhances DVCEnhances DVCp2-mediumMedium priority, should be done, but less importantMedium priority, should be done, but less importantuiuser interface / interactionuser interface / interaction
Description
Bug Report
I get a strange error when trying to use dvc metrics show on a plaintext metrics file:
λ dvc run -n metricsnc -M metric.txt "echo metric > metric.txt"
Running callback stage 'metricsnc' with command:
echo metric > metric.txt
Adding stage 'metricsnc' in 'dvc.yaml'
Updating lock file 'dvc.lock'
...
λ cat dvc.yaml
...
metricsnc:
cmd: echo metric > metric.txt
metrics:
- metric.txt:
cache: false
λ dvc metrics show
ERROR: failed to show metrics - no metric files in this repository. Use `-m/-M` options for `dvc run` to mark stage outputs as metrics.Questions:
- Should
dvc runtry to check metrics/plots file formats and at least WARN about non-supported mime/types? - Why is
metrics shownot even finding the metrics file, which is shown in thedvc.yamlfile?
UPDATE: See #4068 (comment)
Please provide information about your setup
Output of dvc version:
λ dvc version
DVC version: 1.0.0b5+766ef3
Python version: 3.8.2
Platform: Windows-10-10.0.18362-SP0
Binary: False
Package: None
Supported remotes: azure, gdrive, gs, hdfs, http, https, s3, ssh, oss
Cache: reflink - not supported, hardlink - supported, symlink - supported
Filesystem type (cache directory): ('NTFS', 'C:\\')
Repo: dvc, git
Filesystem type (workspace): ('NTFS', 'C:\\')Additional Information (if any):
If applicable, please also provide a --verbose output of the command, eg: dvc add --verbose.
efiop
Metadata
Metadata
Assignees
Labels
enhancementEnhances DVCEnhances DVCp2-mediumMedium priority, should be done, but less importantMedium priority, should be done, but less importantuiuser interface / interactionuser interface / interaction