Project

General

Profile

Actions

Bug #8109

closed

Error using CHIRP with my AnyTone AT778-UV

Added by Tony Moriarty almost 4 years ago. Updated over 3 years ago.

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

100%

Estimated time:
Chirp Version:
daily
Model affected:
AnyTone 778-UV
Platform:
All
Debug Log:
I read the instructions above:

Description

Hi.

Firstly, although I've used Chirp for years, this is the first time I've needed to raise an issue with it - please be patient with me!

I fed this into the chirp_users discussion, and was advised to raise it as a bug:

"On Sun, Jul 19, 2020 at 4:40 AM Tony Moriarty wrote:

Anyway, having downloaded the latest daily build and attempted to read the radio, I'm getting an error message that includes the text :

"Radio version not in allowed list for AnyTone-778UV: 000: 49 41 54 37 37 38 55 56 IAT778UV

008: 01 56 31 30 30 00 00 06 .V100..."

Your radio is reporting "V100" and CHIRP currently expects it to be
"V200". I would submit a bug report with the same information that you
provided here so the additional version can be added to the driver for
the AT-778UV.

Jim KC9HI"

So, here are the details as I posted therein:

I was delighted to discover recently that Chirp now supports the Anytone 778-UV - I've had one for a while, and the "other" software available for it was rather limited.

Anyway, having downloaded the latest daily build and attempted to read the radio, I'm getting an error message that includes the text :

"Radio version not in allowed list for AnyTone-778UV: 000: 49 41 54 37 37 38 55 56 IAT778UV
008: 01 56 31 30 30 00 00 06 .V100..."

It appears that Chirp is correctly interacting with the radio via the relevant com port, but doesn't like what the radio tells it.

Since there doesn't seem to have been a rash of issues raised on this subject, I didn't want to raise it as a bug report till I'd made enquiries here.

My PC runs an up-to-date installation of Windows 10

The debug file includes the following (I've chopped out lines that don't seem relevant!):

[2020-07-19 08:50:02,053] chirp.logger - DEBUG: CHIRP daily-20200718 on WinVista/7 (Python 2.7.10)
.
.
.
[2020-07-19 08:50:02,224] chirp.directory - INFO: Registered AnyTone_778UV = AnyTone778UV
[2020-07-19 08:50:02,224] chirp.directory - INFO: Registered Retevis_RT95 = RetevisRT95
[2020-07-19 08:50:02,224] chirp.directory - INFO: Registered CRT_Micron_UV = CRTMicronUV

[2020-07-19 08:50:02,397] chirp.directory - INFO: Registered Vertex_Standard_VXA-700 = VXA700Radio
[2020-07-19 08:50:02,397] elib.intl - DEBUG: Set environment variable 'LANG' to 'en_GB' ('kernel32.SetEnvironmentVariableW')
[2020-07-19 08:50:02,397] elib.intl - DEBUG: Set environment variable 'LANG' to 'en_GB' ('msvcrt._putenv')
[2020-07-19 08:50:02,397] elib.intl - DEBUG: Set environment variable 'LANG' to 'en_GB' ('msvcr90._putenv')
[2020-07-19 08:50:02,928] chirp.ui.mainapp - INFO: Skipping existing stock config
[2020-07-19 08:50:02,928] chirp.ui.mainapp - INFO: Skipping existing stock config
[2020-07-19 08:50:02,928] chirp.ui.mainapp - INFO: Skipping existing stock config
[2020-07-19 08:50:02,928] chirp.ui.mainapp - INFO: Skipping existing stock config
[2020-07-19 08:50:02,928] chirp.ui.mainapp - INFO: Skipping existing stock config
[2020-07-19 08:50:02,928] chirp.ui.mainapp - INFO: Skipping existing stock config
[2020-07-19 08:50:02,928] chirp.ui.mainapp - INFO: Skipping existing stock config
[2020-07-19 08:50:02,928] chirp.ui.mainapp - INFO: Skipping existing stock config
[2020-07-19 08:50:02,928] chirp.ui.mainapp - INFO: Skipping existing stock config
[2020-07-19 08:50:02,928] chirp.ui.mainapp - INFO: Skipping existing stock config
[2020-07-19 08:50:02,928] chirp.ui.mainapp - INFO: Skipping existing stock config
[2020-07-19 08:50:02,928] chirp.ui.mainapp - INFO: Skipping existing stock config
[2020-07-19 08:50:02,928] chirp.ui.mainapp - INFO: Skipping existing stock config
[2020-07-19 08:50:02,928] chirp.ui.reporting - DEBUG: Checking for updates
[2020-07-19 08:50:03,351] chirp.ui.reporting - DEBUG: Server reports version daily-20200718 is latest
[2020-07-19 08:50:14,335] chirp.ui.mainapp - DEBUG: User selected AnyTone 778UV on port COM3
[2020-07-19 08:50:14,430] chirp.ui.clone - DEBUG: Clone thread started
[2020-07-19 08:50:14,944] chirp.drivers.anytone778uv - DEBUG: entered program mode
[2020-07-19 08:50:15,444] chirp.drivers.anytone778uv - DEBUG: ver_response =
[2020-07-19 08:50:15,444] chirp.drivers.anytone778uv - DEBUG: 000: 49 41 54 37 37 38 55 56 IAT778UV
008: 01 56 31 30 30 00 00 06 .V100...

[2020-07-19 08:50:15,444] chirp.drivers.anytone778uv - DEBUG: radio model: 'AT778UV' version: 'V100'
[2020-07-19 08:50:15,444] chirp.drivers.anytone778uv - DEBUG: allowed_types = {'AT778UV': ['V200']}
[2020-07-19 08:50:15,444] chirp.drivers.anytone778uv - DEBUG: model in allowed_types
[2020-07-19 08:50:15,944] chirp.ui.reporting - DEBUG: Reporting exception
[2020-07-19 08:50:15,944] chirp.ui.common - ERROR: -- Exception: --
[2020-07-19 08:50:15,944] chirp.ui.common - ERROR: Traceback (most recent call last):
File "chirp\ui\clone.pyo", line 256, in run
File "chirp\drivers\anytone778uv.pyo", line 569, in sync_in
File "chirp\drivers\anytone778uv.pyo", line 371, in do_download
RadioError: Radio version not in allowed list for AnyTone-778UV: 000: 49 41 54 37 37 38 55 56 IAT778UV
008: 01 56 31 30 30 00 00 06 .V100...

[2020-07-19 08:50:15,944] chirp.ui.common - ERROR: ----------------
[2020-07-19 08:50:15,944] chirp.ui.clone - ERROR: Clone failed: Radio version not in allowed list for AnyTone-778UV: 000: 49 41 54 37 37 38 55 56 IAT778UV
008: 01 56 31 30 30 00 00 06 .V100...

[2020-07-19 08:50:16,007] chirp.ui.clone - DEBUG: Clone thread ended
[2020-07-19 08:50:16,007] chirp.ui.reporting - DEBUG: Reporting model usage: AnyTone_778UV,download,True
[2020-07-19 08:50:16,007] chirp.ui.reporting - DEBUG: Reporting exception
[2020-07-19 08:50:16,007] chirp.ui.inputdialog - ERROR: --- Exception Dialog: Radio version not in allowed list for AnyTone-778UV: 000: 49 41 54 37 37 38 55 56 IAT778UV
008: 01 56 31 30 30 00 00 06 .V100...


[2020-07-19 08:50:16,007] chirp.ui.inputdialog - ERROR: Traceback (most recent call last):
File "chirpw", line 68, in
AttributeError: 'NoneType' object has no attribute 'split'

[2020-07-19 08:50:16,007] chirp.ui.inputdialog - ERROR: ----------------------------

I'm happy to provide more info if needed.

Can anyone suggest a way forward, please?

All the best,

Tony Moriarty


Files

anytone778uv(v100).py (33.7 KB) anytone778uv(v100).py test triver for Tony Jim Unroe, 07/19/2020 06:50 PM
Actions #1

Updated by Jim Unroe almost 4 years ago

  • File anytone778uv(v100).py added
  • Status changed from New to Feedback
  • Platform changed from Windows to All

Tony,

I'm not 100% sure but I think this experimental driver my get you going. Please test this experimental driver module. Here is how you utilize the test driver module.

1.0 download driver
1.1 click the link for "anytone778uv(v100).py" and wait for the next page to load
1.2 click the "download" link
1.3 save the file to a convenient location
2 load CHIRP
3 click "Help" in the menu bar
4 enable "Enable Developer Functions" 
5 click "File" in the menu bar
6 click "Load Module" 
7 locate and load the custom driver module saved in step 1

At this point you can try to download from your radio to see if the added version ("v100") works.

Note: This custom driver module does not permanently change your CHIRP installation. One you exit CHIRP, you must load this custom driver module module to have this additional "version" available.

Report back whether it works or not. If it does, I will contact Joe to see if he will create the patch to add the new version or if he wants me to do it.

Jim KC9HI

Actions #2

Updated by Jim Unroe almost 4 years ago

  • File deleted (anytone778uv(v100).py)
Actions #3

Updated by Jim Unroe almost 4 years ago

I forgot to save the changes on the original file so it was removed. This one has the changes.

Jim KC9HI

Actions #4

Updated by Tony Moriarty almost 4 years ago

Good morning, Jim.

Many thanks for your help - I followed the instructions you provided, and everything seems to work fine.

Chirp "read" from the radio, no problems. I saved the baseline read (just in case), made minor changes, and re-loaded to the radio - again, without problems.

In short, as far as I can tell, the problem is solved.

If you need any further checks from my end, just let me know.

Meantime, thanks again - really pleased.

Best regards,

Tony Moriarty, G4TRY

Actions #5

Updated by Joe Milbourn almost 4 years ago

Hey Jim,

Jim Unroe wrote:

Report back whether it works or not. If it does, I will contact Joe to see if he will create the patch to add the new version or if he wants me to do it.

You've done exactly what I would have - I'm happy for you to create the patch if that suits you.

Cheers,
J

Actions #6

Updated by Jim Unroe almost 4 years ago

  • Assignee set to Jim Unroe
  • % Done changed from 0 to 100

Patch submitted. Once approved, support for this "radio type" will be in the following CHIRP daily build.

Jim KC9HI

Actions #7

Updated by Anonymous over 3 years ago

  • Status changed from Feedback to Closed

Applied in changeset commit:787b2c60a980.

Actions

Also available in: Atom PDF