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

Bug#1061692: marked as done (chirp fails to start with 'No module named 'chirp.stock_configs')



Your message dated Thu, 01 Feb 2024 00:22:41 +0000
with message-id <E1rVKqn-000PKJ-0t@fasolo.debian.org>
and subject line Bug#1061692: fixed in chirp 1:20240122-2
has caused the Debian Bug report #1061692,
regarding chirp fails to start with 'No module named 'chirp.stock_configs'
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.)


-- 
1061692: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061692
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: chirp
Version: 1:20240122-1
Severity: grave
X-Debbugs-Cc: debian@jouellet.net, hlieberman@debian.org

Hello Dave, all,

Thank you for updating chirp! Unfortunately, it seems that pybuild may have
failed to pick up one of the necessary directories that contains the stock
configurations. Running `chirpw` instantly crashes with the following error:

Traceback (most recent call last):
  File "/usr/bin/chirpw", line 33, in <module>
    sys.exit(load_entry_point('chirp==20240122', 'console_scripts', 'chirpw')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/chirp/wxui/__init__.py", line 178, in chirpmain
    mainwindow = main.ChirpMain(None, title='CHIRP')
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/chirp/wxui/main.py", line 414, in __init__
    self.SetMenuBar(self.make_menubar())
                    ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/chirp/wxui/main.py", line 644, in make_menubar
    self.OPEN_STOCK_CONFIG_MENU = self.add_stock_menu()
                                  ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/chirp/wxui/main.py", line 573, in add_stock_menu
    in importlib_resources.files('chirp.stock_configs').iterdir()
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/resources/_common.py", line 22, in files
    return from_package(get_package(package))
                        ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/resources/_common.py", line 53, in get_package
    resolved = resolve(package)
               ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/resources/_common.py", line 44, in resolve
    return cand if isinstance(cand, types.ModuleType) else importlib.import_module(cand)
                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'chirp.stock_configs'

Hopefully this is an easy fix!  Thanks for your help maintaining this.

73,

--
Harlan Lieberman-Berg (KC1CHE)
~hlieberman

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-5-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: 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 chirp depends on:
ii  python3 [python3-supported-min]  3.11.4-5+b1
ii  python3-importlib-resources      6.0.1-1
ii  python3-requests                 2.31.0+dfsg-1
ii  python3-serial                   3.5-2
ii  python3-six                      1.16.0-4
ii  python3-yattag                   1.15.1-1
ii  wxpython-tools                   4.2.1+dfsg-3

chirp recommends no packages.

chirp suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: chirp
Source-Version: 1:20240122-2
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 1061692@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: Wed, 31 Jan 2024 23:38:27 +0000
Source: chirp
Architecture: source
Version: 1:20240122-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: Dave Hibberd <hibby@debian.org>
Closes: 1061692
Changes:
 chirp (1:20240122-2) unstable; urgency=medium
 .
   * Patch d/install to alllow launch (Closes: #1061692)
     - Thanks to Harlan Lieberman-Berg
Checksums-Sha1:
 4c54d3d237c8be20c214d6d84469e0d0ccf10744 1755 chirp_20240122-2.dsc
 4374dc500ac640c732f71bc741fe636b4db50275 10504 chirp_20240122-2.debian.tar.xz
 0913fd35dd46654c4f6e0b956dfd62c192658f90 11276 chirp_20240122-2_amd64.buildinfo
Checksums-Sha256:
 7b1f9542f972a6b7bf276119d429af396ce913871d61f43d0688ee933d2d4027 1755 chirp_20240122-2.dsc
 9acedb50ba4bff995dfda182b1f3daefbe4daaa8173cccee111ae543803616c1 10504 chirp_20240122-2.debian.tar.xz
 89f39efb01919c9d2cb3aaffd42b9b4ba8e344950a012ae9316662b41834fad4 11276 chirp_20240122-2_amd64.buildinfo
Files:
 dc7d23e5c721b8a4648edacbf45b83dd 1755 hamradio optional chirp_20240122-2.dsc
 8659927a41a6bbee26cccb664374ab4b 10504 hamradio optional chirp_20240122-2.debian.tar.xz
 072bd9c4087341bfc3960909ef87103c 11276 hamradio optional chirp_20240122-2_amd64.buildinfo

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

iQEzBAEBCgAdFiEEXk9UUZPolpyKWbgKA6H7ehkEdxsFAmW620IACgkQA6H7ehkE
dxvouwgAnDMDOtJnmZQL7VhCYcxZjNPLXmGEHYz5kPvpEmD1up5GWG2ORXYpvcqh
NhFqdAn6RmGEmTFDIHi8zWeCLNIWxIboDKSZNyF/co3VLKO9LgXQRk3sdbBPmv/t
P+YPl/JJhANVDUPErFzwnqudiZ2LX8XobQNZ2ZtVqQJdV0uILlbztK71jBbZkeiP
V3ar4qple8DIB9iB6EWaTl4NuqC+a/695imEwhFCH3QF4YtKPEVk84JnmPX3nSA0
0a4zgboQ1T/Xcw7m20ONOO6O9oJEN1MAKHQIq5yuxuCKOPyTx/InNXQaOjnJErJM
wHqiaPW5yAdDXgjgzecYI00rqBYyjA==
=FYwf
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: