exp show: not enough values to unpack
See original GitHub issueFrom the mailing list:
2021-10-12 15:10:08,230 ERROR: unexpected error - not enough values to unpack (expected 2, got 1)
------------------------------------------------------------
Traceback (most recent call last):
File "dvc/main.py", line 55, in main
File "dvc/command/base.py", line 45, in do_run
File "dvc/command/experiments.py", line 502, in run
File "dvc/repo/experiments/__init__.py", line 952, in show
File "dvc/repo/__init__.py", line 50, in wrapper
File "dvc/repo/experiments/show.py", line 179, in show
File "dvc/repo/experiments/__init__.py", line 126, in stash_revs
File "dvc/scm/git/stash.py", line 21, in __iter__
File "dvc/scm/git/backend/dulwich.py", line 548, in _stash_iter
File "dulwich/stash.py", line 57, in stashes
File "dulwich/reflog.py", line 95, in read_reflog
File "dulwich/reflog.py", line 74, in parse_reflog_line
ValueError: not enough values to unpack (expected 2, got 1)
can’t reproduce it though 🙁 User said that recloning his repo fixed it.
CC @pmrowla , maybe you ran into this before.
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Python ValueError: not enough values to unpack Solution
The “ValueError: not enough values to unpack” error is raised when you try to unpack more values from an iterable object than those...
Read more >ValueError: not enough values to unpack when using scikit-learn
I got a ValueError: not enough values to unpack (expected 4, got 2). What's wrong with my code? I checked the docs for...
Read more >Python error: not enough values to unpack [Find Cotravelers]
This error caused by the mismatch between the number of values returned and the number of variables in the assignment statement. This error ......
Read more >Showing ERROR : ORA-00947: not enough values
Please help me, how to fill in the correct values? Because the value is always less, and showing ERR not enough values.
Read more >ValueError: not enough values to unpack (expected 2, got 1)
During a multiple value assignment, the ValueError: not enough values to unpack occurs when either you have fewer objects to assign than variables,...
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

I think this is probably p2, given that there’s a workaround and that we haven’t seen any other reports on this
The only possible cause for a partial stash reflog write I can think of is that DVC was forcefully killed during an
exp runjob. We could try to account for this in DVC (for the exp stash ref) and try to drop/recover from bad reflog entries.