TortoiseHg start up errors
When I started up TortoiseHg from command line, a dialog popped up and asked me to report the following bug:
#!python
** Mercurial version (5.6). TortoiseHg version (5.6+2-0332d8da5f8c)
** Command: --version
** CWD: /home/alext/build/thg-repos
** Encoding: UTF-8
** Extensions loaded:
** Python version: 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]
** System: Linux latitus 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64
** Qt-5.15.1 PyQt-5.15.1 QScintilla-2.11.5
Traceback (most recent call last):
File "/home/alext/build/thg-repos/tortoisehg/hgqt/run.py", line 289, in _parse
args = fancyopts.fancyopts(args, globalopts, options)
File "/home/alext/.local/lib/python3.8/site-packages/mercurial/fancyopts.py", line 367, in fancyopts
opts, args = parse(args, shortlist, namelist)
File "/home/alext/.local/lib/python3.8/site-packages/mercurial/pycompat.py", line 493, in getoptb
return _getoptbwrapper(getopt.getopt, args, shortlist, namelist)
File "/home/alext/.local/lib/python3.8/site-packages/mercurial/pycompat.py", line 330, in _getoptbwrapper
opts, args = orig(args, shortlist, namelist)
File "/usr/lib/python3.8/getopt.py", line 93, in getopt
opts, args = do_longs(opts, args[0][2:], longopts, args[1:])
File "/usr/lib/python3.8/getopt.py", line 157, in do_longs
has_arg, opt = long_has_args(opt, longopts)
File "/usr/lib/python3.8/getopt.py", line 174, in long_has_args
raise GetoptError(_('option --%s not recognized') % opt, opt)
getopt.GetoptError: option --version not recognized
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/alext/build/thg-repos/tortoisehg/hgqt/run.py", line 342, in _runcatch
return runcommand(ui, args)
File "/home/alext/build/thg-repos/tortoisehg/hgqt/run.py", line 368, in runcommand
cmd, func, args, options, cmdoptions, alias = _parse(ui, args)
File "/home/alext/build/thg-repos/tortoisehg/hgqt/run.py", line 291, in _parse
raise error.CommandError(None, stringutil.forcebytestr(inst))
mercurial.error.CommandError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/alext/build/thg-repos/tortoisehg/hgqt/run.py", line 138, in dispatch
return _runcatch(u, args)
File "/home/alext/build/thg-repos/tortoisehg/hgqt/run.py", line 349, in _runcatch
if inst.args[0]:
IndexError: tuple index out of range
```