"ValueError: need more than 1 value to unpack" when starting HG Workbench
Created originally on Bitbucket by Anonymous
In Windows 10 I right-click in the repository's folder and choose HG Workbench from the context menu. I immediately see this error:
#!python
** Mercurial version (5.0.2). TortoiseHg version (5.0.2)
** Command: --nofork workbench
** CWD: C:\Users\richa\OneDrive\Documents\Visual Studio 2019\Projects\PhiDbAndPhiCapture2
** Encoding: cp1252
** Extensions loaded: fetch, kilnauth, big-push, kiln, strip, tortoisehg.util.configitems
** Python version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.9.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104
Traceback (most recent call last):
File "tortoisehg\hgqt\repotreemodel.pyo", line 429, in _updateItem
File "tortoisehg\hgqt\repotreemodel.pyo", line 424, in _updateBaseNode
File "tortoisehg\util\hglib.pyo", line 173, in repoidnode
File "tortoisehg\util\hglib.pyo", line 160, in _firstchangectx
File "tortoisehg\hgqt\thgrepo.pyo", line 772, in __getitem__
File "mercurial\localrepo.pyo", line 1338, in __getitem__
File "mercurial\repoview.pyo", line 228, in changelog
File "mercurial\repoview.pyo", line 167, in filterrevs
File "mercurial\repoview.pyo", line 77, in computehidden
File "mercurial\repoview.pyo", line 32, in hideablerevs
File "mercurial\localrepo.pyo", line 100, in __get__
File "mercurial\scmutil.pyo", line 1451, in __get__
File "mercurial\localrepo.pyo", line 1241, in _phasecache
File "mercurial\phases.pyo", line 225, in __init__
File "mercurial\phases.pyo", line 168, in _readroots
ValueError: need more than 1 value to unpack
This repository was working fine yesterday with Tortoise HG 4.3.1. This morning I saw the above error on version 4.3.1, then installed 5.0.2 to see if it would help, but the error persists with version 5.0.2.
This is on Windows 10 Pro x64, version 1909, build 18363.535.