[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1087845: marked as done (chirpw -h fails)



Your message dated Sat, 23 Nov 2024 17:19:39 +0000
with message-id <E1tEtnH-009hsy-52@fasolo.debian.org>
and subject line Bug#1087845: fixed in chirp 1:20241122-1
has caused the Debian Bug report #1087845,
regarding chirpw -h fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1087845: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087845
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: chirp
Version: 1:20241115-1
Severity: normal
X-Debbugs-Cc: sophie@offensive-security.com
User: devel@kali.org
Usertags: origin-kali

Hello,

The command chirpw -h fails with:

Traceback (most recent call last):
  File "/usr/bin/chirpw", line 33, in <module>
    sys.exit(load_entry_point('chirp==20241115', 'console_scripts', 'chirpw')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/chirp/wxui/__init__.py", line 122, in chirpmain
    args = parser.parse_args()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/argparse.py", line 1918, in parse_args
    args, argv = self.parse_known_args(args, namespace)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/argparse.py", line 1928, in parse_known_args
    return self._parse_known_args2(args, namespace, intermixed=False)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/argparse.py", line 1957, in _parse_known_args2
    namespace, args = self._parse_known_args(args, namespace, intermixed)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/argparse.py", line 2198, in _parse_known_args
    start_index = consume_optional(start_index)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/argparse.py", line 2127, in consume_optional
    take_action(action, args, option_string)
  File "/usr/lib/python3.12/argparse.py", line 2032, in take_action
    action(self, namespace, argument_values, option_string)
  File "/usr/lib/python3.12/argparse.py", line 1162, in __call__
    parser.print_help()
  File "/usr/lib/python3.12/argparse.py", line 2635, in print_help
    self._print_message(self.format_help(), file)
                        ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/argparse.py", line 2619, in format_help
    return formatter.format_help()
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/argparse.py", line 300, in format_help
    help = self._root_section.format_help()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/argparse.py", line 231, in format_help
    item_help = join([func(*args) for func, args in self.items])
                      ^^^^^^^^^^^
  File "/usr/lib/python3.12/argparse.py", line 338, in _format_usage
    action_usage = format(optionals + positionals, groups)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/argparse.py", line 414, in _format_actions_usage
    raise ValueError(f'empty group {group}')
ValueError: empty group <argparse._MutuallyExclusiveGroup object at 0x7f525c04c410>


I think it's because of the Debian patch "remove-desktop-popup.patch"
The code using "add_mutually_exclusive_group" has been removed and then
group is empty. 
If I comment the line "desktop = parser.add_mutually_exclusive_group()",
I no longer get the error.

Sophie



-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.6-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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 chirp depends on:
ii  python3           3.12.7-1
ii  python3-requests  2.32.3+dfsg-1
ii  python3-serial    3.5-2
ii  python3-suds      1.2.0-2
ii  python3-yattag    1.16.1-1
ii  wxpython-tools    4.2.2+dfsg-1

chirp recommends no packages.

chirp suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: chirp
Source-Version: 1:20241122-1
Done: Dave Hibberd <hibby@debian.org>

We believe that the bug you reported is fixed in the latest version of
chirp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1087845@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dave Hibberd <hibby@debian.org> (supplier of updated chirp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 23 Nov 2024 16:58:50 +0000
Source: chirp
Architecture: source
Version: 1:20241122-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: Dave Hibberd <hibby@debian.org>
Closes: 1087845
Changes:
 chirp (1:20241122-1) unstable; urgency=medium
 .
   * Return the --install-desktop-app option
     - Closes: #1087845
   * New Upstream Release
     - Removed 08-remove-six.patch
Checksums-Sha1:
 cc51eaeefa1365556f1dc51fc10de20e425572c6 1721 chirp_20241122-1.dsc
 50774b1fc1df6cccfb5b780cbf855631922fe7fd 2271442 chirp_20241122.orig.tar.gz
 2bb8ef06f50bdf2cf9ce15f5dbb51e9d5991ab5e 11900 chirp_20241122-1.debian.tar.xz
 a80b52bb40e4d2c4129545865e9f60fc86ff372a 11302 chirp_20241122-1_arm64.buildinfo
Checksums-Sha256:
 59a934805b3dd8ed71be333cb2ebd0d005b1de8978d3bcac3f613fe86a5e403f 1721 chirp_20241122-1.dsc
 6abd9676b5634aedb592942d55d483be57ff1febd82b076f0d80753a33b07192 2271442 chirp_20241122.orig.tar.gz
 4ef417ec28e57e5af6e0c4cbbfd58c45cc5e579c8cc7996ed2e177ffe567ebdf 11900 chirp_20241122-1.debian.tar.xz
 3a2aeaedc96ea07097908fa69a7981f264e0ff2a63a6cba7c87a243b604010c3 11302 chirp_20241122-1_arm64.buildinfo
Files:
 8d426915c962cc390e80c1e03c48ce8d 1721 hamradio optional chirp_20241122-1.dsc
 ab931999c950b4023804bc96041bb709 2271442 hamradio optional chirp_20241122.orig.tar.gz
 df62c9fc378a632ea68ffaa738928612 11900 hamradio optional chirp_20241122-1.debian.tar.xz
 6f5a4c4549efdb37fa46f50344e4387b 11302 hamradio optional chirp_20241122-1_arm64.buildinfo

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

iQEzBAEBCgAdFiEEXk9UUZPolpyKWbgKA6H7ehkEdxsFAmdCCscACgkQA6H7ehkE
dxsdiQf/ZoWbrbsHKYM5HGysvTxBRb//h+YgBPbDbzKnZ4o0lzM7SqtUq5XEAf5w
Cy1uvfdIs89v79YCz5GN9HUMEl5vXVjhYgJK4OkjiVGtuEsR4Mhiizr4j12uvoYX
Nn46fmY7dgA+S5F6OLmurIlJY4c+rNSCxAi0+1z+LUMgg+YHn1xITilWzIXhIhVP
hgjVaZcsuFpyn6QCgk3U8suDqwzr/T4R0bvxvk7BoDsEaxwFLS3DsEmUkkXvBiiI
Mr8ikiJiSAQjbJjhXMjoxhe63EdI4PcypBVAJ9xpY0gH0oLicQQyLNYeVianranE
9cmBuqWORCQZYdWBMLe99CuiIBUDWQ==
=behe
-----END PGP SIGNATURE-----

Attachment: pgpPfLFg0gcul.pgp
Description: PGP signature


--- End Message ---

Reply to: