Bug with showing metrics when repo contains a submodule
See original GitHub issueversion: 0.35.5 platform: Ubuntu 18.10 installation method: pip
Description:
dvc metrics show -T
ERROR: unexpected error - Cannot retrieve the name of a submodule if it was not set initially
The complete deletion of a submodule helps, but recloning of repo required
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Error with metrics show -a - Bug Reports - Community Forum
repo.submodules ? It seems like you do have submodules for some reason somewhere in repo. Maybe you've cloned something into your current repo?...
Read more >Git submodule fail because of link to unexisting revision
When I Looked at my Github repositories (Here for A and Here for B included) I've noticed something strange: A repository is linking...
Read more >Could not access submodule when pulling recursively with git ...
I do get an error if my project has nested submodules, i.e. a submodule inside a submodule inside the superproject, and only the...
Read more >Directory showing as always dirty when it contains submodule
Bug confirmed. Os: Linux. Eclipse Indigo. Egit 2.1 Every project with a submodule displays always a preceding ">", even if main repository and...
Read more >How to Fix the “fatal: not a git repository” Error - ContainIQ
In this tutorial, learn some of the reasons why the error shows up—and how to ... A repository, or repo, for short, is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If I update step 4, it fixed for me this error. (just remove the submodule before adding or pushing it to the remote branch.)
(But now I get an other error: ERROR: unexpected error - expected str, bytes or os.PathLike object, not NoneType, But this is not part of this issue.)
I have the same problem. And here is some code to reproduce this error: