Project

General

Profile

Actions

Bug #11005

closed

Settings tab fails to render when using ft1d driver

Added by David McMackins 5 months ago. Updated 5 months ago.

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
Debug Log:
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

Open-debug-log_on_Linux_Mint.png (337 KB) Open-debug-log_on_Linux_Mint.png Jim Unroe, 12/11/2023 03:26 PM
chirp_debug-lr6n2w21.txt (911 Bytes) chirp_debug-lr6n2w21.txt Jim Unroe, 12/11/2023 03:34 PM
2023-12-11-182132_1920x1080_scrot.png (159 KB) 2023-12-11-182132_1920x1080_scrot.png Help menu without debug log option David McMackins, 12/11/2023 04:23 PM
Yaesu_FT3D_20231211.img (128 KB) Yaesu_FT3D_20231211.img David McMackins, 12/11/2023 04:23 PM
Yaesu_FT3D_20231211(aws_tx_mode_auto).img (128 KB) Yaesu_FT3D_20231211(aws_tx_mode_auto).img Jim Unroe, 12/11/2023 05:20 PM
Actions

Also available in: Atom PDF