Actions
Bug #11005
closedSettings tab fails to render when using ft1d driver
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12/11/2023
Due date:
% Done:
0%
Estimated time:
Chirp Version:
next
Model affected:
FT1D, FT2D, FT3D
Platform:
Linux
I read the instructions above:
Yes
Description
This is similar but not identical to #10628. Apologies for lack of debug log as the instructions say I can get it from the Help menu in chirp-next but this is not the case (maybe the menu option was moved or removed?).
As in the aforementioned issue, after cloning my radio (FT3D), I attempt to open the Settings tab, but instead get an error pop-up and the settings pane is not rendered. However, my stack trace indicates that a different setting is the culprit than that of the other issue.
Here is the stack trace I can see in the console when this error occurs:
ERROR: Failed to parse settings: Traceback (most recent call last): File "/home/david/.local/pipx/venvs/chirp/lib/python3.11/site-packages/chirp/drivers/ft1d.py", line 2336, in get_settings return self._get_settings() ^^^^^^^^^^^^^^^^^^^^ File "/home/david/.local/pipx/venvs/chirp/lib/python3.11/site-packages/chirp/drivers/ft1d.py", line 2327, in _get_settings self._get_digital_settings(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/david/.local/pipx/venvs/chirp/lib/python3.11/site-packages/chirp/drivers/ft1d.py", line 1837, in _get_digital_settings self._AMS_TX_MODE[digital_settings.ams_tx_mode]) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ IndexError: tuple index out of range ERROR: Context raised unexpected_exception Traceback (most recent call last): File "/home/david/.local/pipx/venvs/chirp/lib/python3.11/site-packages/chirp/wxui/settingsedit.py", line 51, in _initialize self._load_settings() File "/home/david/.local/pipx/venvs/chirp/lib/python3.11/site-packages/chirp/wxui/settingsedit.py", line 81, in _load_settings for group in self._settings: TypeError: 'NoneType' object is not iterable Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wx/core.py", line 3427, in <lambda> lambda event: event.callable(*event.args, **event.kw) ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/david/.local/pipx/venvs/chirp/lib/python3.11/site-packages/chirp/wxui/settingsedit.py", line 51, in _initialize self._load_settings() File "/home/david/.local/pipx/venvs/chirp/lib/python3.11/site-packages/chirp/wxui/settingsedit.py", line 81, in _load_settings for group in self._settings: TypeError: 'NoneType' object is not iterable
I am running the latest available chirp-next as of today (20231209).
Files
Actions