Bug #8473
closedIncorrect model selected UV-5R
100%
Description
Hi all,
probably already asked. I get incorrect model selected.
Checking log files seems that info is empty.
chirp.drivers.uv5r - INFO: Radio Version is ' '
Radio: uv-5r
Chipr Latest daily-20201121
Profilic driver
[2020-11-24 22:59:46,536] chirp.ui.reporting - DEBUG: Checking for updates [2020-11-24 22:59:46,980] chirp.ui.reporting - DEBUG: Server reports version daily-20201121 is latest [2020-11-24 23:00:00,344] chirp.ui.mainapp - DEBUG: User selected Baofeng UV-5R on port COM3 [2020-11-24 23:00:00,522] chirp.ui.clone - DEBUG: Clone thread started [2020-11-24 23:00:00,566] chirp.drivers.uv5r - INFO: Sending Magic: 000: 50 bb ff 20 12 07 25 00 P.....%. [2020-11-24 23:00:00,687] chirp.drivers.uv5r - INFO: Valid response, got this: [2020-11-24 23:00:00,687] chirp.drivers.uv5r - DEBUG: 000: aa 30 76 04 00 05 20 dd .0v..... [2020-11-24 23:00:01,039] chirp.drivers.uv5r - INFO: Radio Version is ' ' [2020-11-24 23:00:01,039] chirp.ui.reporting - DEBUG: Reporting exception [2020-11-24 23:00:01,039] chirp.ui.common - ERROR: -- Exception: -- [2020-11-24 23:00:01,039] chirp.ui.common - ERROR: Traceback (most recent call last): File "chirp\ui\clone.pyo", line 256, in run File "chirp\drivers\uv5r.pyo", line 810, in sync_in File "chirp\drivers\uv5r.pyo", line 562, in _do_download RadioError: Incorrect 'Model' selected. [2020-11-24 23:00:01,039] chirp.ui.common - ERROR: ---------------- [2020-11-24 23:00:01,039] chirp.ui.clone - ERROR: Clone failed: Incorrect 'Model' selected. [2020-11-24 23:00:01,134] chirp.ui.clone - DEBUG: Clone thread ended [2020-11-24 23:00:01,134] chirp.ui.reporting - DEBUG: Reporting model usage: Baofeng_UV-5R,download,True [2020-11-24 23:00:01,134] chirp.ui.reporting - DEBUG: Reporting exception [2020-11-24 23:00:01,134] chirp.ui.inputdialog - ERROR: --- Exception Dialog: Incorrect 'Model' selected. --- [2020-11-24 23:00:01,135] chirp.ui.inputdialog - ERROR: Traceback (most recent call last): File "chirpw", line 68, inAttributeError: 'NoneType' object has no attribute 'split' [2020-11-24 23:00:01,135] chirp.ui.inputdialog - ERROR: ----------------------------
Thanks
Files
Updated by Jim Unroe about 4 years ago
- File uv5r_diagnostic_test.py uv5r_diagnostic_test.py added
- Status changed from New to Feedback
- Platform changed from Windows to All
Yeah. Unfortunately CHIRP doesn't expect to see a radio with radio version that is blank like that.
This diagnostic driver module should hopefully bypass the check that is failing and allow the download to complete. When(If) it does, save the newly created tab, unedited, to a CHIRP Radio Images (*.img) file and attach it to this issue so I can "see" what the radio's memory actually looks like.
To use this module...
1 save the attached driver module to a convenient location
2 click "Help" in the menu bar and enable "Enable Developer Functions"
3 click "File" followed by "Driver Module" and then locate and load the file saved in step 1
CHIRP will have a red background and now you can try to download from your radio.
Jim KC9HI
Updated by ferencak gregor about 4 years ago
It did worked on first time i tried. Attached is img file.
This Radio i got 4 or more years ago. I got another one on the way from store. Basically i want to clone 1 radio to another.
Updated by Jim Unroe about 4 years ago
- File uv5r_test.py uv5r_test.py added
ferencak gregor wrote:
It did worked on first time i tried. Attached is img file.
This Radio i got 4 or more years ago. I got another one on the way from store. Basically i want to clone 1 radio to another.
Perfect. Just what I needed to look at.
Here is my candidate for working with a radio like yours. Download from your radio, make some changes and upload back to your radio. Let me know how it goes.
Jim KC9HI
Updated by ferencak gregor about 4 years ago
- File Baofeng_UV-5R_20201125-chnage- chan 32 - before upload.img Baofeng_UV-5R_20201125-chnage- chan 32 - before upload.img added
- File Baofeng_UV-5R_20201125- downloaded after change chan 32.img Baofeng_UV-5R_20201125- downloaded after change chan 32.img added
So... Attaching 2 IMG files.
- loaded latest py file
- download
- add test chan 32
- save IMG --> Baofeng_UV-5R_20201125-chnage- chan 32 - before upload.img
- upload to radio
- download from radio
- save IMG --> Baofeng_UV-5R_20201125- downloaded after change chan 32.img
hope it helps
Updated by ferencak gregor about 4 years ago
ferencak gregor wrote:
So... Attaching 2 IMG files.
- loaded latest py file
- download
- add test chan 32
- save IMG --> Baofeng_UV-5R_20201125-chnage- chan 32 - before upload.img
- upload to radio
- download from radio
- save IMG --> Baofeng_UV-5R_20201125- downloaded after change chan 32.img
hope it helps
just for clarification. After uploading of changed img to radio - it worked as expected. didn't go in details but all channels were there and working.
Updated by Jim Unroe about 4 years ago
- Assignee set to Jim Unroe
- Target version set to chirp-legacy
ferencak,
Thank your for the followup. I have added myself at the "Assignee" for this project. I am currently in the middle of something else, but I intend to start on this as soon I can get to it (maybe even later today). In the mean time you can use the test driver module to get by until I have submitted a formal patch and it has been accepted and in a future daily build of CHIRP.
Jim KC9HI
Updated by ferencak gregor about 4 years ago
Jim Unroe wrote:
ferencak,
Thank your for the followup. I have added myself at the "Assignee" for this project. I am currently in the middle of something else, but I intend to start on this as soon I can get to it (maybe even later today). In the mean time you can use the test driver module to get by until I have submitted a formal patch and it has been accepted and in a future daily build of CHIRP.
Jim KC9HI
Thanks, I am not in a hurry. Still waiting for second radio. And with that one... we will see how it goes :)
Updated by Jim Unroe about 4 years ago
- Status changed from Feedback to Resolved
- % Done changed from 0 to 100
Patch submitted. Once approved it will be available in the following CHIRP daily build.
Jim KC9HI
Updated by Anonymous about 4 years ago
- Status changed from Resolved to Closed
Applied in changeset commit:8d906ccd00db.