← Back to team overview

ubuntu-hams-devel team mailing list archive

[Bug 2071563] [NEW] [SRU - Noble] Backport crash fix

 

You have been subscribed to a public bug by AsciiWolf (asciiwolf):

Chirp (1:20240224-1) on Ubuntu 24.04 LTS crashes on startup with:

Traceback (most recent call last):
  File "/usr/bin/chirpw", line 33, in <module>
    sys.exit(load_entry_point('chirp==20240224', '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 415, in __init__
    self.SetMenuBar(self.make_menubar())
                    ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/chirp/wxui/main.py", line 656, in make_menubar
    self.adj_menu_open_recent(None)
  File "/usr/lib/python3/dist-packages/chirp/wxui/main.py", line 1025, in adj_menu_open_recent
    CONF.remove_option('recent%i' % i, 'state')
  File "/usr/lib/python3/dist-packages/chirp/wxui/config.py", line 160, in remove_option
    self._config.remove_option(section, key)
  File "/usr/lib/python3/dist-packages/chirp/wxui/config.py", line 64, in remove_option
    self.__config.remove_option(section, key)
  File "/usr/lib/python3.12/configparser.py", line 924, in remove_option
    raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'state'

This is fixed in the latest version from Oracular (1:20240413-1). In
Noble, it is possible to fix it by applying the following simple patch:

https://github.com/kk7ds/chirp/commit/0885555196b94ffad44acc7ca9b37a1ba67b815e

(Line 1025 instead of 1041 in chirp 20240224-1.)

** Affects: chirp (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: noble
-- 
[SRU - Noble] Backport crash fix
https://bugs.launchpad.net/bugs/2071563
You received this bug notification because you are a member of Ubuntu ham developers, which is subscribed to the bug report.