Error when trying to Write to Radio cperadiotools.py

Report any bugs or errors you find here.
Post Reply
w8afk
0posts
Posts: 3
Joined: Sun Mar 13, 2022 9:38 pm
Callsign: W8AFK

Error when trying to Write to Radio cperadiotools.py

Post by w8afk »

I'm getting the following error when I attempt to write my codeplug to my Retevis RT-73. Prior to this step I did the following:

1) Factory reset my radio.
2) Using IAP, uploaded the Radioddity Firmware (C7000_DR300UV_Ham_DB25-D_20211211.bin) to the radio.
3) Power on the radio, which now reports that all channels are unprogrammed.
4) Attempt to write my codeplug to the radio, producing the attached error.
CPEditor Error.png
5) Noticed that there's an updated CPEditor, so I updated to it and tried again. No difference
6) Created a new codeplug file and wrote it to the radio successfully.

So, it appears to have something to do with my codeplug file. I ran it through a JSON validator and it validates. Is there any way to determine what specifically is wrong with the file? I'd upload it here, but I'm a little hesitant to do so on a public form.
You do not have the required permissions to view the files attached to this post.
User avatar
MM7DBT
Site Admin
200posts
Posts: 210
Joined: Wed Jun 02, 2021 6:59 pm
Location: Scotland
Callsign: MM7DBT

Re: Error when trying to Write to Radio cperadiotools.py

Post by MM7DBT »

Check your CTCSS / DCS tones.

Specifically where you have a value of "212".
I would guess that you have a channel with CTCSS selected but have DCS 212 selected as the tone.
-73 de MM7DBT
VK2ADJ
Posts: 3
Joined: Fri Oct 21, 2022 3:52 am
Callsign: VK2ADJ

Re: Error when trying to Write to Radio cperadiotools.py

Post by VK2ADJ »

I Have a similar issue, i import an ARC club code plug and when trying to upload to radioddity DB25-d
ive updated to the latest firmware
error.png
Ive checked the CSV and nothing is apparent to me, exported the CSV channels and double checked it..

Cheers
Mike
VK2ADJ
You do not have the required permissions to view the files attached to this post.
User avatar
MM7DBT
Site Admin
200posts
Posts: 210
Joined: Wed Jun 02, 2021 6:59 pm
Location: Scotland
Callsign: MM7DBT

Re: Error when trying to Write to Radio cperadiotools.py

Post by MM7DBT »

That is an old JSON codeplug which has several parameters missing, which were added in newer versions.

I have updated the editor to 0.2.1030.1 which should fix those missing parameters when loading the file.
Tested without changes to the JSON and it seems to write to the radio okay now.
-73 de MM7DBT
Post Reply