Bug #11508
closedstring index out of range, when attempting to view settings
100%
Description
Download from radio successfully. Click ‘settings’ tab, error appears ‘string index out of range’.
I can’t then see or change the settings.
Additionally, all channels I add in ‘memories’ are not enabled for TX unless I connect to radio with manufacturer’s bluetooth app and set them.
I expected to view and change settings.
See log below:
[2024-08-30 00:05:00,313] chirp.wxui.common - ERROR: Failed to run get_settings(, )
Traceback (most recent call last):
File "chirp/wxui/common.py", line 288, in do_radio
File "chirp/drivers/ga510.py", line 862, in get_settings
IndexError: string index out of range
[2024-08-30 00:05:00,313] chirp.wxui.common - ERROR: Context raised unexpected_exception
Traceback (most recent call last):
File "chirp/wxui/settingsedit.py", line 50, in _initialize
File "chirp/wxui/common.py", line 288, in do_radio
File "chirp/drivers/ga510.py", line 862, in get_settings
IndexError: string index out of range
Traceback (most recent call last):
File "wx/core.py", line 3427, in
File "chirp/wxui/settingsedit.py", line 50, in _initialize
File "chirp/wxui/common.py", line 288, in do_radio
File "chirp/drivers/ga510.py", line 862, in get_settings
IndexError: string index out of range
Files
Updated by Wayne Jones 11 months ago
- File config.txt config.txt added
- File SenhaiX_8800_20240830.img SenhaiX_8800_20240830.img added
- File debug_log.txt debug_log.txt added
[Uploaded from CHIRP next-20240827]
Updated by Wayne Jones 11 months ago
Hi Dan,
Yes that allowed the Settings tab to work, thanks for that. What was the reason?
I still need to use the radio's bluetooth phone app to enable TX on any channels I add with chirp, is this normal? I can create a new issue/bug for that if required.
Updated by Dan Smith 11 months ago
Your radio has something in the anicode setting that "shouldn't be there", but chirp should of course handle that and reset it to a reasonable value instead of choking, which is what I fixed.
No, you should not have to be enabling tx, that sounds like a different bug. Can you please:
- Program a new channel with chirp to the radio (and confirm it is broken)
- Help->Report or update a bug (create a new bug)
- Close/restart chirp
- Fix the TX flag with the other app, but change *nothing else *
- Download from the radio with chirp, Help->Report or update a bug, and update that new bug you created in step 2
- Be sure to tell me which channel you're doing this with so I know what to look at.
I'll have a look and see what I can figure out.
Otherwise, I'll push this fix for the next release, thanks!
Updated by Wayne Jones 11 months ago
Thanks Dan, and thanks for the explanation.
I created a new bug report for the TX issue (11511) as you suggested.
This one can be closed now I guess?
- Wayne
Updated by Dan Smith 11 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset github|10623249d0dd54d465a77bd2950b5bb7cfda3b6d.