Project

General

Profile

Actions

Bug #11508

closed

string index out of range, when attempting to view settings

Added by Wayne Jones 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/29/2024
Due date:
% Done:

100%

Estimated time:
Chirp Version:
next
Model affected:
SenhaiX 8800
Platform:
MacOS
Debug Log:
I read the instructions above:
Yes

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

config.txt (1.08 KB) config.txt Wayne Jones, 08/29/2024 04:13 PM
SenhaiX_8800_20240830.img (7.25 KB) SenhaiX_8800_20240830.img Wayne Jones, 08/29/2024 04:13 PM
debug_log.txt (411 KB) debug_log.txt Wayne Jones, 08/29/2024 04:13 PM
ga510.py (35.7 KB) ga510.py Dan Smith, 08/29/2024 05:16 PM

Updated by Wayne Jones 11 months ago

[Uploaded from CHIRP next-20240827]

Actions #2

Updated by Dan Smith 11 months ago

Please try the attached module to see if it fixes the problem for you, using these instructions: LoadingTestModules

Actions #3

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.

Actions #4

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:

  1. Program a new channel with chirp to the radio (and confirm it is broken)
  2. Help->Report or update a bug (create a new bug)
  3. Close/restart chirp
  4. Fix the TX flag with the other app, but change *nothing else *
  5. Download from the radio with chirp, Help->Report or update a bug, and update that new bug you created in step 2
  6. 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!

Actions #5

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
Actions #6

Updated by Dan Smith 11 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF