Skip to content

Full path in dvc add error #1640

@dmpetrov

Description

@dmpetrov

I have a stage file images.dvc.

$ echo "\nsome-changes-----\n" >> images.dvc
$ dvc add data/file.txt
$ dvc add data/file.txt
Adding 'data/file.txt' to 'data/.gitignore'.
Saving 'data/file.txt' to cache '.dvc/cache'.
Error: unexpected error - while scanning a simple key
  in "/Users/dmitry/src/dvc_roadmap/tmp/images.dvc", line 9, column 1     # <-- FULL PATH???
could not find expected ':'
  in "/Users/dmitry/src/dvc_roadmap/tmp/images.dvc", line 11, column 1     # <-- FULL PATH???

Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!

In general, DVC should operate only by local paths (like Git does). There might be some exceptions like - external dependencies.

Metadata

Metadata

Assignees

Labels

bugDid we break something?

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions