Package: tortoisehg
Version: 5.6.1-1
Severity: normal
X-Debbugs-Cc: rossboy...@stanfordalumni.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

thg threw the error shown in the attachment and asked me to report it upstream.
This happened when logging into KDE after a system restart.  When I last
exited, thg had been running and so this was presumably part of a session
restore.  I made no explicit attempt to start thg.

I believe the key line in the error report is
    getopt.GetoptError: option -s not recognized
and my guess is that the session restore is invoking thg with the -s option.
The man page shows no such option.

I *am* still able to launch thg through the menu system, and so this is a small
problem.



- -- System Information:
Debian Release: 11.5
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-18-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tortoisehg depends on:
ii  mercurial           5.6.1-4
ii  python3             3.9.2-3
ii  python3-pyqt5       5.15.2+dfsg-3
ii  python3-pyqt5.qsci  2.11.6+dfsg-2

Versions of packages tortoisehg recommends:
ii  libjs-jquery      3.5.1+dfsg+~3.5.5-7
ii  libjs-underscore  1.9.1~dfsg-3
pn  python-iniparse   <none>
pn  python-pygments   <none>

Versions of packages tortoisehg suggests:
pn  tortoisehg-nautilus  <none>


-----BEGIN PGP SIGNATURE-----

iQFSBAEBCgA8FiEEreS674/HIyV9gBfdnAYPmOsbK2AFAmMkuuEeHHJvc3Nib3ls
YW5Ac3RhbmZvcmRhbHVtbmkub3JnAAoJEJwGD5jrGytg3YoH/1e55C6YNjs0c0tL
+e8lgNHrTcN6lqB+NxrXbOyxAwLIx//ykz5dSLnFyiD0iMaZBObP5hmqJcoUoo4a
ztgcZm71u/gYAuw4ZX8yahl3mGAzK7XzzNGyxrSmxYdEptQzTkTyt+9w2HFPv0AQ
9zfmTLP073Ypz612hObCdyXRbz+l4qguBs4EIfippfwSW8DPlsPtDbjUgiiTlpII
WYHrJ0jdj139xT5kI8un1sxoUBhAoNtgveSanNN+X6LEXzdK/vTMRzdwWQWHnBbJ
93+s5GVi2mp816t9413MDfl0gyf9iE8Xou78wq3E3/uPdDvz16W86gxMWs/TPUoR
kGDMkdg=
=45f/
-----END PGP SIGNATURE-----
    #!python
    ** Mercurial version (5.6.1).  TortoiseHg version (5.6.1)
    ** Command: -session 
10c7da726c000166331364200000041100063_1663349368_946077 -name thg
    ** CWD: /home/ross
    ** Encoding: UTF-8
    ** Extensions loaded: 
    ** Python version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 
20210110]
    ** System: Linux barley 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 
(2022-09-02) x86_64
    ** Qt-5.15.2 PyQt-5.15.2 QScintilla-2.11.6
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/tortoisehg/hgqt/run.py", line 289, 
in _parse
        args = fancyopts.fancyopts(args, globalopts, options)
      File "/usr/lib/python3/dist-packages/mercurial/fancyopts.py", line 367, 
in fancyopts
        opts, args = parse(args, shortlist, namelist)
      File "/usr/lib/python3/dist-packages/mercurial/pycompat.py", line 493, in 
getoptb
        return _getoptbwrapper(getopt.getopt, args, shortlist, namelist)
      File "/usr/lib/python3/dist-packages/mercurial/pycompat.py", line 330, in 
_getoptbwrapper
        opts, args = orig(args, shortlist, namelist)
      File "/usr/lib/python3.9/getopt.py", line 95, in getopt
        opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:])
      File "/usr/lib/python3.9/getopt.py", line 195, in do_shorts
        if short_has_arg(opt, shortopts):
      File "/usr/lib/python3.9/getopt.py", line 211, in short_has_arg
        raise GetoptError(_('option -%s not recognized') % opt, opt)
    getopt.GetoptError: option -s not recognized
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/tortoisehg/hgqt/run.py", line 342, 
in _runcatch
        return runcommand(ui, args)
      File "/usr/lib/python3/dist-packages/tortoisehg/hgqt/run.py", line 368, 
in runcommand
        cmd, func, args, options, cmdoptions, alias = _parse(ui, args)
      File "/usr/lib/python3/dist-packages/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 "/usr/lib/python3/dist-packages/tortoisehg/hgqt/run.py", line 138, 
in dispatch
        return _runcatch(u, args)
      File "/usr/lib/python3/dist-packages/tortoisehg/hgqt/run.py", line 349, 
in _runcatch
        if inst.args[0]:
    IndexError: tuple index out of range
    

Reply via email to