Project

General

Profile

Actions

Bug #10585

closed

TYT 7800 communication error

Added by John Nokes over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Chirp Version:
next
Model affected:
TYT 7800
Platform:
MacOS
Debug Log:
I read the instructions above:

Description

I am trying to use CHIR to program a TYT 7800. I am using Mac OS Ventura 13.3.1 (a) (22E772610a). I am using a TYT branded CP-06 cable. The radio is on with the volume knobs all the way up and not on channels with traffic. I downloaded the latest version of CHIRP today.

When attempting to download the radio there is an error message, " Error communicating with radio. Failed to communicate with the radio: local variable "ack" referenced before assignment." I see a similar report that is still open from last year using Legacy software and a PC. I am successfully able to program my 5R handhelds. I am making this report both because I would like to be able to program my radio, but also this model is listed with a * asking for feedback on Next Model.

[2023-05-20 19:32:11,641] chirp.logger - DEBUG: CHIRP next-20230515 on Darwin John-MBP-16.local 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64 (Python 3.8.2)
[2023-05-20 19:32:11,971] chirp.wxui - DEBUG: Using locale: en_US (276)
[2023-05-20 19:32:11,982] chirp.wxui - DEBUG: Translation loaded=True for CHIRP: en_US (pl,uk_UA,en_US,pt_BR,el,it,ru,zh_CN,hu,nl,de,fr,es,tr_TR) from /private/var/folders/4x/6wfm6l651290qjj41g7rqv7c0000gn/T/AppTranslocation/0BC4F4F0-9CCE-47C4-9A83-EFA8A34F852C/d/CHIRP-3.app/Contents/MacOS/chirp/locale
[2023-05-20 19:32:11,989] chirp.wxui - DEBUG: Translation loaded=False for wxstd: en_US (fa_IR,sl,sk,pl,vi,sq,sv,ms,da,gl_ES,pt_BR,ko_KR,ja,el,lv,co,it,ca,zh_TW,cs,ru,ro,zh_CN,pt,uk,an,ar,hr,hu,nl,ne,af,nb,hi,ka,de,ca@valencia,fi,id,fr,es,lt,eu,ta,tr)
[2023-05-20 19:32:12,359] main - INFO: Python/3.8.2 // Darwin/macOS-13.3.1-x86_64-i386-64bit // CHIRP/next-20230515 // wx/4.2.0 osx-cocoa (phoenix) wxWidgets 3.2.0
[2023-05-20 19:32:12,381] chirp.wxui.main - INFO: Ignoring dist stock conf DE Freenet Frequencies.csv because same name found in user dir
[2023-05-20 19:32:12,382] chirp.wxui.main - INFO: Ignoring dist stock conf EU LPD and PMR Channels.csv because same name found in user dir
[2023-05-20 19:32:12,382] chirp.wxui.main - INFO: Ignoring dist stock conf FR Marine VHF Channels.csv because same name found in user dir
[2023-05-20 19:32:12,382] chirp.wxui.main - INFO: Ignoring dist stock conf KDR444.csv because same name found in user dir
[2023-05-20 19:32:12,382] chirp.wxui.main - INFO: Ignoring dist stock conf NOAA Weather Alert.csv because same name found in user dir
[2023-05-20 19:32:12,382] chirp.wxui.main - INFO: Ignoring dist stock conf UK Business Radio Simple Light Frequencies.csv because same name found in user dir
[2023-05-20 19:32:12,382] chirp.wxui.main - INFO: Ignoring dist stock conf US 60 meter channels (Center).csv because same name found in user dir
[2023-05-20 19:32:12,382] chirp.wxui.main - INFO: Ignoring dist stock conf US 60 meter channels (Dial).csv because same name found in user dir
[2023-05-20 19:32:12,382] chirp.wxui.main - INFO: Ignoring dist stock conf US CA Railroad Channels.csv because same name found in user dir
[2023-05-20 19:32:12,382] chirp.wxui.main - INFO: Ignoring dist stock conf US Calling Frequencies.csv because same name found in user dir
[2023-05-20 19:32:12,382] chirp.wxui.main - INFO: Ignoring dist stock conf US FRS and GMRS Channels.csv because same name found in user dir
[2023-05-20 19:32:12,382] chirp.wxui.main - INFO: Ignoring dist stock conf US MURS Channels.csv because same name found in user dir
[2023-05-20 19:32:12,382] chirp.wxui.main - INFO: Ignoring dist stock conf US Marine VHF Channels.csv because same name found in user dir
[2023-05-20 19:32:12,893] chirp.wxui.main - INFO: Server reports next-20230515 is latest
[2023-05-20 19:33:46,819] chirp.wxui.clone - WARNING: Unable to select '/dev/cu.usbserial-1420'
[2023-05-20 19:33:51,145] chirp.wxui.clone - DEBUG: Using port '/dev/cu.usbserial-1410'
[2023-05-20 19:33:51,145] chirp.wxui.clone - DEBUG: Selected
[2023-05-20 19:33:51,151] chirp.wxui.clone - DEBUG: Serial opened: Serial(port='/dev/cu.usbserial-1410', baudrate=38400, bytesize=8, parity='N', stopbits=1, timeout=0.25, xonxoff=False, rtscts=False, dsrdtr=False) (rts=True dtr=True)
[2023-05-20 19:33:51,151] chirp.wxui.clone - ERROR: Failed to clone: Failed to communicate with the radio: local variable 'ack' referenced before assignment
Traceback (most recent call last):
File "chirp/drivers/th7800.py", line 576, in _identify
File "serial/serialposix.py", line 616, in write
File "serial/serialutil.py", line 65, in to_bytes
TypeError: unicode strings are not supported, please encode to bytes: '\x02SPECPR'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "chirp/drivers/th7800.py", line 728, in sync_in
File "chirp/drivers/th7800.py", line 597, in _download
File "chirp/drivers/th7800.py", line 583, in _identify
UnboundLocalError: local variable 'ack' referenced before assignment

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "chirp/wxui/clone.py", line 66, in run
File "chirp/drivers/th7800.py", line 730, in sync_in
chirp.errors.RadioError: Failed to communicate with the radio: local variable 'ack' referenced before assignment
[2023-05-20 19:34:15,177] chirp.wxui.clone - WARNING: Stopping clone thread


Files

Screenshot 2023-05-20 at 7.34.04 PM.png (363 KB) Screenshot 2023-05-20 at 7.34.04 PM.png John Nokes , 05/20/2023 07:57 PM
th7800.py (24.6 KB) th7800.py cb0edbb5 Dan Smith, 06/08/2023 06:44 PM
th7800.py (24.6 KB) th7800.py Dan Smith, 07/04/2023 04:22 PM
Screenshot 2023-07-04 at 5.02.02 PM.png (297 KB) Screenshot 2023-07-04 at 5.02.02 PM.png John Nokes , 07/04/2023 05:03 PM
th7800.py (24.5 KB) th7800.py Dan Smith, 07/04/2023 05:12 PM
DR235T_bug.jpg (93.2 KB) DR235T_bug.jpg screenshot Frank Torontour, 07/08/2023 01:48 AM
Actions

Also available in: Atom PDF