Project

General

Profile

Actions

Bug #10403

closed

GT-3WP Settings Page does not work

Added by Matt Chesler almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
02/28/2023
Due date:
% Done:

100%

Estimated time:
Chirp Version:
next
Model affected:
Baofeng GT-3WP
Platform:
MacOS
I read the instructions above:

Description

  1. 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".

  1. What is the behavior you were expecting?

The Settings pane should show settings available for the radio.

  1. Can you reproduce the problem all the time?

Yes

  1. 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
  1. 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

Actions #1

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 :)

Actions #2

Updated by Matt Chesler almost 2 years ago

Attaching the .img file as requested.

Actions #3

Updated by Jim Unroe almost 2 years ago

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

Actions #4

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.

Actions #5

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 :)

Actions #6

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

Actions #7

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!

Actions #8

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

Actions #9

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

Actions

Also available in: Atom PDF