Traceback (most recent call last):


 "/Users/dmitry/src/dvc/dvc/main.py", line 76, in main

ret = cmd.run()


 "/Users/dmitry/src/dvc/dvc/command/metrics.py", line 119, in run

all=self.args.all,


 "/Users/dmitry/src/dvc/dvc/repo/metrics/__init__.py", line 13, in diff

return diff(self.repo, *args, **kwargs)


 "/Users/dmitry/src/dvc/dvc/repo/metrics/diff.py", line 22, in diff

old = _get_metrics(repo, *args, **kwargs, rev=(a_rev or "HEAD"))


 "/Users/dmitry/src/dvc/dvc/repo/metrics/diff.py", line 9, in _get_metrics

*args, **kwargs, revs=[rev] if rev else None


 "/Users/dmitry/src/dvc/dvc/repo/metrics/__init__.py", line 8, in show

return show(self.repo, *args, **kwargs)


 "/Users/dmitry/src/dvc/dvc/repo/__init__.py", line 51, in wrapper

return f(repo, *args, **kwargs)


 "/Users/dmitry/src/dvc/dvc/repo/metrics/show.py", line 108, in show

metrics = _collect_metrics(repo, targets, recursive)


 "/Users/dmitry/src/dvc/dvc/repo/metrics/show.py", line 33, in _collect_metrics

for stage in repo.stages:


 "/Users/dmitry/virtenvs/ml/lib/python3.7/site-packages/funcy/objects.py", line 28, in __get__

res = instance.__dict__[self.fget.__name__] = self.fget(instance)


 "/Users/dmitry/src/dvc/dvc/repo/__init__.py", line 554, in stages

return self._collect_stages()


 "/Users/dmitry/src/dvc/dvc/repo/__init__.py", line 562, in _collect_stages

new_stages = self.get_stages(os.path.join(root, file_name))


 "/Users/dmitry/src/dvc/dvc/repo/__init__.py", line 254, in get_stages

return list(dvcfile.stages.values())


 "/Users/dmitry/src/dvc/dvc/dvcfile.py", line 228, in stages

data, _ = self._load()


 "/Users/dmitry/src/dvc/dvc/dvcfile.py", line 107, in _load

d = parse_yaml(stage_text, self.path)


 "/Users/dmitry/src/dvc/dvc/utils/serialize/_yaml.py", line 24, in parse_yaml

return yaml.load(text) or {}


 "/Users/dmitry/virtenvs/ml/lib/python3.7/site-packages/ruamel/yaml/main.py", line 343, in load

return constructor.get_single_data()


 "/Users/dmitry/virtenvs/ml/lib/python3.7/site-packages/ruamel/yaml/constructor.py", line 113, in get_single_data

return self.construct_document(node)


 "/Users/dmitry/virtenvs/ml/lib/python3.7/site-packages/ruamel/yaml/constructor.py", line 123, in construct_document

for _dummy in generator:


 "/Users/dmitry/virtenvs/ml/lib/python3.7/site-packages/ruamel/yaml/constructor.py", line 723, in construct_yaml_map

value = self.construct_mapping(node)


 "/Users/dmitry/virtenvs/ml/lib/python3.7/site-packages/ruamel/yaml/constructor.py", line 440, in construct_mapping

return BaseConstructor.construct_mapping(self, node, deep=deep)


 "/Users/dmitry/virtenvs/ml/lib/python3.7/site-packages/ruamel/yaml/constructor.py", line 257, in construct_mapping

if self.check_mapping_key(node, key_node, mapping, key, value):


 "/Users/dmitry/virtenvs/ml/lib/python3.7/site-packages/ruamel/yaml/constructor.py", line 295, in check_mapping_key

raise DuplicateKeyError(*args)
ruamel.yaml.constructor.DuplicateKeyError: while constructing a mapping

Traceback (most recent call last):

 "<string>", line 1, in <module>IOError: System.IO.IOException: Not a valid BZip2 stream. byte 0, expected '66', got '59'