Project

General

Profile

Actions

Bug #8285

closed

UV50X3 error "Not the amount of data we need"

Added by Jamie Youngblood almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/29/2020
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
BTech UV-50X3
Platform:
All
Debug Log:
I read the instructions above:

Description

I have a BTECH UV50X3 newly purchased from BTECH, that i cannot program with chirp.

When i try to read from the radio i get an error message "Not the amount of data we need". The progress bar in the dialogue box does not move.
I can confirm the correct radio is selected from the dropdown, and have tried on several different pc's.
I can confirm the user has been added to dialout group.
I can confirm it is not a port permission issue.
I can confirm the PC05 ftdi cable is genuine and purchased from BTECH.
I can confirm the cable is correctly detected and kernel module ftd-sio is loaded. The port /dev/ttyUSB0 is correctly assigned.

If i select UV50X2 as the radio type i get a different error. It reports "Identifying radio", the progress bar moves to the end, and then chirp reports the error "Radio did not go into clone mode"
None of the radio types work though.

This happens on both my Mac and my windows PC's


Files

debug.log (29.7 KB) debug.log Jamie Youngblood, 10/02/2020 11:56 AM

Related issues 1 (1 open0 closed)

Is duplicate of Bug #4715: UV50X3 error "Not the amount of data we need"Feedback04/08/2017

Actions
Actions #1

Updated by Jim Unroe almost 4 years ago

  • Status changed from New to Feedback

Hi Jamie,

Attach a "clean" debug.log file.

Close CHIRP
Open CHIRP
Cause error
Close CHIRP

Instructions for locating the debug.log file can be found on the CHIRP "How To Report Issues":https://chirp.danplanet.com/projects/chirp/wiki/How_to_report_issues page.

Jim KC9HI

Actions #2

Updated by Jamie Youngblood almost 4 years ago

Attached a new Debug log.

heres the important bit

2020-10-02 14:47:08,618] chirp.ui.inputdialog - ERROR: ----------------------------
[2020-10-02 14:47:25,893] chirp.ui.mainapp - DEBUG: User selected BTECH UV-50X3 on port /dev/cu.usbserial-A907UVZ2
[2020-10-02 14:47:25,925] chirp.ui.clone - DEBUG: Clone thread started
[2020-10-02 14:47:26,957] chirp.ui.reporting - DEBUG: Reporting exception
[2020-10-02 14:47:26,957] chirp.ui.common - ERROR: -- Exception: --
[2020-10-02 14:47:26,958] chirp.ui.common - ERROR: Traceback (most recent call last):
File "/private/var/folders/kf/c58wzkkn3g91zll57v1fjggw0000gn/T/AppTranslocation/ED7D7AE6-B704-4C82-A954-1C16F002A80E/d/CHIRP 3.app/Contents/Resources/chirp/chirp/ui/clone.py", line 256, in run
self.__radio.sync_in()
File "/private/var/folders/kf/c58wzkkn3g91zll57v1fjggw0000gn/T/AppTranslocation/ED7D7AE6-B704-4C82-A954-1C16F002A80E/d/CHIRP 3.app/Contents/Resources/chirp/chirp/drivers/vgc.py", line 651, in sync_in
data = _download(self)
File "/private/var/folders/kf/c58wzkkn3g91zll57v1fjggw0000gn/T/AppTranslocation/ED7D7AE6-B704-4C82-A954-1C16F002A80E/d/CHIRP 3.app/Contents/Resources/chirp/chirp/drivers/vgc.py", line 474, in _download
_do_ident(radio)
File "/private/var/folders/kf/c58wzkkn3g91zll57v1fjggw0000gn/T/AppTranslocation/ED7D7AE6-B704-4C82-A954-1C16F002A80E/d/CHIRP 3.app/Contents/Resources/chirp/chirp/drivers/vgc.py", line 448, in _do_ident
ident = _rawrecv(radio, 9)
File "/private/var/folders/kf/c58wzkkn3g91zll57v1fjggw0000gn/T/AppTranslocation/ED7D7AE6-B704-4C82-A954-1C16F002A80E/d/CHIRP 3.app/Contents/Resources/chirp/chirp/drivers/vgc.py", line 381, in _rawrecv
raise errors.RadioError(msg)
RadioError: Error reading data from radio: not the amount of data we want.

[2020-10-02 14:47:26,958] chirp.ui.common - ERROR: ----------------
[2020-10-02 14:47:26,958] chirp.ui.clone - ERROR: Clone failed: Error reading data from radio: not the amount of data we want.
[2020-10-02 14:47:26,960] chirp.ui.clone - DEBUG: Clone thread ended
[2020-10-02 14:47:26,967] chirp.ui.reporting - DEBUG: Reporting model usage: BTECH_UV-50X3,download,True
[2020-10-02 14:47:26,968] chirp.ui.reporting - DEBUG: Reporting exception
[2020-10-02 14:47:26,969] chirp.ui.inputdialog - ERROR: --- Exception Dialog: Error reading data from radio: not the amount of data we want. ---
[2020-10-02 14:47:26,969] chirp.ui.inputdialog - ERROR: Traceback (most recent call last):
File "/private/var/folders/kf/c58wzkkn3g91zll57v1fjggw0000gn/T/AppTranslocation/ED7D7AE6-B704-4C82-A954-1C16F002A80E/d/CHIRP 3.app/Contents/MacOS/../Resources/chirp/chirpw", line 76, in
os.putenv("LANG", langs[0])
IndexError: list index out of range

[2020-10-02 14:47:26,969] chirp.ui.inputdialog - ERROR: ----------------------------

Actions #3

Updated by Bernhard Hailer almost 4 years ago

  • Assignee deleted (Dan Smith)
  • Priority changed from High to Normal

Hmm. You state that you tried on Mac and Windows, but you say "The port /dev/ttyUSB0 is correctly assigned" - that would be Linux. The log was obtained on a Mac; it lists this line:

SerialException: [Errno 16] could not open port /dev/cu.usbserial-4: [Errno 16] Resource busy: '/dev/cu.usbserial-4'

... which causes the subsequent errors you listed.

Such things happen when you go and copy and paste from another ticket (#4715) instead of posting your information on that very ticket. This isn't helpful and causes confusion. Please let me ask you to add your information and logs at #4715. That way we have all the relevant information in one place. Thank you.

Actions #4

Updated by Bernhard Hailer almost 4 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF