Bug #10433
closedpython exception after cloning TM-D710G
100%
Description
using latest build of chirp (from today!) as well as a previous build from a few days ago I get a python exception after downloading from my TMD710G
- cable is plugged into main unit (not display)
- Radio->Download From Radio->TM-D710G_CloneMode
- download appears to run (radio front panel display clone mode graphic)
- after download appears to complete radio beeps twice and returns to normal mode
- download dialog box disappears, but I am left with a nearly blank screen with some small UI artifact in the upper left
Reviewing the developer log (attached) suggests that the download has completed but there was a python exception, possibly when trying to render a row the UI (see below)
grepping the source it looks like the implicated key is in the D710 driver and relates to 'special memories' for this device:
# Put Special memory channels after normal ones
SPECIAL_MEMORIES = {"Scan-0Lo": 1000, "Scan-0Hi": 1001,
Python exception stack:
Traceback (most recent call last):
File "chirp/wxui/main.py", line 1174, in menu_download
File "chirp/wxui/main.py", line 132, in __init_
File "chirp/wxui/memedit.py", line 774, in refresh
File "chirp/wxui/memedit.py", line 710, in refresh_memory
File "chirp/wxui/common.py", line 192, in do_radio
File "chirp/wxui/memedit.py", line 706, in get_cb
File "chirp/wxui/common.py", line 192, in do_radio
File "chirp/wxui/memedit.py", line 689, in extra_cb
File "chirp/wxui/memedit.py", line 623, in _refresh_memory
File "chirp/wxui/memedit.py", line 612, in mem2row
KeyError: 'Scan-0Lo'
Files
Updated by Dan Smith almost 2 years ago
- Status changed from New to In Progress
- Assignee set to Dan Smith
- Target version set to chirp-py3
Yeah, confirmed here, I'll look at this tomorrow.
Updated by Dan Smith almost 2 years ago
Actually, this was easy, a long-latent issue in that driver that became relevant recently. Here's the module you can load via LoadingTestModules but it'll be in tomorrow's build regardless.
Updated by Dan Smith almost 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
Applied in changeset github|7ebb960780f570b05e30bd6e9a504f6e0dc9854a.