λ mkdir adir
λ echo data > adir/data
λ dvc add adir
100% Add|███████████...
λ cd adir
λ cat << EOF >> dvc.yaml
> stages:
> hello:
> cmd: echo hi
> EOF
λ dvc add adir
...
λ dvc repro hello
ERROR: unexpected error - Stage: 'hello'
λ cd ..
λ dvc repro -c adir hello
ERROR: unexpected error - Stage: 'hello'
λ dvc repro adir/dvc.yaml
ERROR: unexpected error - Stage: 'hello'
λ dvc repro -R .
Stage 'adir.dvc' didn't change, skipping
Stage 'cpplot' didn't change, skipping
Data and pipelines are up to date.
λ dvc repro -P
Stage 'adir.dvc' didn't change, skipping
Stage 'cpplot' didn't change, skipping
Data and pipelines are up to date.
λ dvc version
DVC version: 1.2.1
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:\\')
Bug? Report
dvc runin a tracked dir because it's "within an output '.' of another stage" — not really a stage though, just a .dvc file)hellostage withrepro:Problems
-Rand-P) don't even findadir/dvc.yaml. Should they? (and print the same message above)Please provide information about your setup
Output of
dvc version: