Bug #10403
closedGT-3WP Settings Page does not work
100%
Description
- What is the behavior you are seeing?
After downloading from a brand new Baofeng GT-3WP, clicking on the Settings pane displays a pop up saying "An error has occurred" with "list index out of range".
- What is the behavior you were expecting?
The Settings pane should show settings available for the radio.
- Can you reproduce the problem all the time?
Yes
- What are the steps required to reproduce the problem?
- Open CHIRP (latest build dated 2023-02-24)
- Plug in radio
- Select Radio => Download from Radio from the menu bar
- Choose "USB Serial", "Baofeng", "GT-3WP"
- Click "OK"
- Wait for download to complete
- Click "Settings" pane
- See error
- Is this specific to a certain radio model (driver) or something that you can reproduce with another radio?
I've only seen it with this radio model.
Files
Updated by Dan Smith almost 2 years ago
Can you attach the .img
file from your radio? Likely your radio has a setting with a value outside the range the driver allows, so we need to guard that.
Also, congrats on being one of the few people in the 15-year history of chirp that actually read the How_To_Get_Help page, thanks :)
Updated by Matt Chesler almost 2 years ago
Attaching the .img
file as requested.
Updated by Jim Unroe almost 2 years ago
- File Baofeng_GT-3WP_20230227_valid_vfo_TXP.img Baofeng_GT-3WP_20230227_valid_vfo_TXP.img added
- Assignee set to Jim Unroe
- Target version set to chirp-py3
Matt Chesler wrote in #note-2:
Attaching the
.img
file as requested.
Your radio has invalid values for the TXP (transmit power) levels of both VFOs.
Please switch your radio to VFO (frequency) mode and cycle through the TXP levels of both VFOs using menu 2 (TXP) or by tapping the [#] shortcut key to see if that will update them with valid values. Then download from your radio to see if the settings tabs appear.
If that doesn't fix it, I have attached a copy of your "image" file with the TXP values corrected.
Later today I will look into the issue further.
Jim KC9HI
Updated by Dan Smith almost 2 years ago
Wouldn't it be better to just make the settings loader not choke on these values? I assume they're erroneous and not actually valid for this radio, but either way, I'm sure that Matt won't be the only one with this problem.
Updated by Dan Smith almost 2 years ago
Oh, maybe that's what you meant by "later today I will look into the issue further. Sorry. caffeine absorption was (still is) low. Ignore me :)
Updated by Jim Unroe almost 2 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
A patch to provide TXP limit checking for both VFOs has been submitted.
Jim
Updated by Matt Chesler almost 2 years ago
Thank you both for your help. Cycling through the TXP levels did not fix the issue, but the corrected image file did. Much appreciated!
Updated by Jim Unroe almost 2 years ago
Matt Chesler wrote in #note-7:
Thank you both for your help. Cycling through the TXP levels did not fix the issue, but the corrected image file did. Much appreciated!
I recently submitted a patch that will read the original file without choking on the out-of-bounds settings. It will be in the next CHIRP-next build (probably tomorrow). Thank you for reporting this.
Jim KC9HI
Updated by Jim Unroe almost 2 years ago
- Status changed from Resolved to Closed
The fix is in today's (20230301) CHIRP-next build.
Jim KC9HI