Skip to content

dvc diff ERROR: unexpected error - 'NoneType' object has no attribute 'endswith'  #3434

@DavidGOrtega

Description

@DavidGOrtega

If given rev is not tracked fails. I.E 2f05868ebe3693a7e7afbdd8923c15ce327b179d does not have metrics:

dvc diff  --show-json 2f05868ebe3693a7e7afbdd8923c15ce327b179d 19b33235917f6b3732de8486b35235ba200e74a2
ERROR: unexpected error - 'NoneType' object has no attribute 'endswith' 

I would expect at least the difference of files added

Please provide information about your setup
dvc 0.87.0
Python 3.6.9
ubuntu 10.04

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