Bug #11948
closedTYT TH-350 US Settings - No attribute fm_presets
100%
Description
(Describe what you were doing)
Running Chirp from commit: bc27f6653aa804a5c55a3a1b2244ee43a174854b (2025-04-01)
Updating my config of the TYT TH-350 US settings.
(Describe what you expected to happen)
After downloading the running config from the radio I selected "Settings" and was presented with an empty page and an error (see below).
(Describe what actually happened instead)
Received the following error in the Chirp UI: "No attribute fm_presets in struct (anonymous)"
And the following traceback in the terminal where I launched chirp from:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/nix/store/795zn5whbg9jxk8flmddyi0alyb7qlpx-python3.12-wxpython-4.2.2/lib/python3.12/site-packages/wx/core.py", line 3427, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/f3w953gbghs31bfyakrwjiiq0mb9mmz7-chirp-0.4.0-unstable-2025-04-01/lib/python3.12/site-packages/chirp/wxui/settingsedit.py", line 63, in _initialize
raise job.result
File "/nix/store/f3w953gbghs31bfyakrwjiiq0mb9mmz7-chirp-0.4.0-unstable-2025-04-01/lib/python3.12/site-packages/chirp/wxui/common.py", line 296, in do_radio
job.result = getattr(self._radio, fn)(*a, **k)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/f3w953gbghs31bfyakrwjiiq0mb9mmz7-chirp-0.4.0-unstable-2025-04-01/lib/python3.12/site-packages/chirp/drivers/uvb5.py", line 685, in get_settings
if self._memobj.fm_presets[i] < 0x01AF:
^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/f3w953gbghs31bfyakrwjiiq0mb9mmz7-chirp-0.4.0-unstable-2025-04-01/lib/python3.12/site-packages/chirp/bitwise.py", line 835, in __getattr__
raise AttributeError("No attribute %s in struct %s" % (
AttributeError: No attribute fm_presets in struct (anonymous)
(Has this ever worked before? New radio? Does it work with OEM software?)
This is the first time Im using Chirp with this radio.
Files