Project

General

Profile

Actions

Bug #5915

open

TM_281A Fails without dialog

Added by Timm Retzloff almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/28/2018
Due date:
% Done:

0%

Estimated time:
Chirp Version:
0.4.0
Model affected:
(All models)
Platform:
Windows
Debug Log:
I read the instructions above:

Description

When attemping to upload from a Kenwood TM-281A the lights on the USB comm adapter flash but nothing happens, no upload and no warnings. Attempting to upload without closing Chirp generates an error.
Restarting Chirp does not fix the issue.
Debug Log file segment
[2018-06-27 22:32:58,690] chirp.ui.reporting - DEBUG: Checking for updates
[2018-06-27 22:32:59,065] chirp.ui.reporting - DEBUG: Server reports version daily-20180623 is latest
[2018-06-27 22:33:18,512] chirp.ui.mainapp - DEBUG: User selected Kenwood TM-281 on port COM10
[2018-06-27 22:33:18,512] chirp.drivers.kenwood_live - INFO: Trying ID at baud 9600 with delimiter "('\r', ' ')"
[2018-06-27 22:33:18,621] chirp.drivers.kenwood_live - DEBUG: PC->RADIO: ID
[2018-06-27 22:33:18,746] chirp.drivers.kenwood_live - DEBUG: RADIO->PC: ID TM-271
Traceback (most recent call last):
File "chirp\ui\mainapp.pyo", line 1619, in mh
File "chirp\ui\mainapp.pyo", line 721, in do_download
File "chirp\drivers\kenwood_live.pyo", line 162, in init
Exception: Radio reports TM-271 (not TM-281)

No Error Dialog Displayed
2nd try

[2018-06-27 22:33:29,963] chirp.ui.mainapp - DEBUG: User selected Kenwood TM-281 on port COM10
[2018-06-27 22:33:30,010] chirp.ui.inputdialog - ERROR: --- Exception Dialog: could not open port COM10: [Error 5] Access is denied. ---
[2018-06-27 22:33:30,010] chirp.ui.reporting - DEBUG: Reporting exception
[2018-06-27 22:33:30,010] chirp.ui.inputdialog - ERROR: Traceback (most recent call last):
File "chirp\ui\mainapp.pyo", line 713, in do_download
File "serial\serialwin32.pyo", line 30, in init
File "serial\serialutil.pyo", line 260, in init
File "serial\serialwin32.pyo", line 56, in open
SerialException: could not open port COM10: [Error 5] Access is denied.

[2018-06-27 22:33:30,010] chirp.ui.inputdialog - ERROR: ----------------------------

And Dialog box shows up with the error.
End Debug Log

Looking at the code (driver) around line 1294.

It treats the 281 as a 271. I did switch to TM-271 and it worked.

I would recommend
1) put up a dialog box to tell the user to switch to a TM271
2) accept the 281 ID and continue with the 271 code


Related issues

Has duplicate Bug #7709: Kenwood TM281 identifying as TM271Closed03/16/2020

Actions
Actions #1

Updated by Timm Retzloff almost 6 years ago

Correct 2) Accept the 271 ID and continue with the 271 code although a 281 was selected

Actions

Also available in: Atom PDF