[chirp_users] Importing a CSV file into the memory of an Alinco DJ-G7T
Dan Smith
Thu Jan 12 19:38:20 PST 2023
> To even get Chirp to talk to the Alinco, I needed to patch it (I think
> this will preclude me using a pre-made "binary"):
>
> diff --git a/chirp/drivers/alinco.py b/chirp/drivers/alinco.py
> index 7bfffa39..b3350653 100644
> --- a/chirp/drivers/alinco.py
> +++ b/chirp/drivers/alinco.py
> @@ -595,7 +595,7 @@ class AlincoDJG7EG(AlincoStyleRadio):
> TMODES = ["", "??1", "Tone", "TSQL", "TSQL-R", "DTCS"]
>
> # This is a bit of a hack to avoid overwriting _identify()
> - _model = b"AL~DJ-G7EG"
> + _model = b"AL~DJ-G7T"
> _memsize = 0x1a7c0
> _range = [(500000, 1300000000)]
This clearly means that your DJ-G7 is some other flavor than the one for which a driver has been written. I'm guessing the one in the tree is the european version and yours is...something else?
Feel free to open a new feature request for that model to help get it included in chirp as a first class citizen.
> If I load up my CSV file, the upload option is greyed out. So clearly
> I don't directly open the CSV file, I have to "import" it somehow.
You can't upload a CSV to the radio, for sure, as mentioned in the Beginner's Guide:
https://chirp.danplanet.com/projects/chirp/wiki/Beginners_Guide
That also covers how to get memories into your radio's image via copy and paste.
> If I try to copy the repeaters into the image from the radio, even just
> one repeater, Chirp segfaults. So clearly it's not a matter of copy
> and paste.
Yes, copy and paste is how you do it. A segfault in a python application means something is very wrong, but almost surely with the stack of non-python stuff underneath it (wx, GTK, etc, etc). I've not seen a segault using CHIRP in I can't even remember how long. Last one was absolutely with the GTK/cocoa stuff from the python2 years, as that has always been a bit tipsy. Since copy and paste interacts with your system clipboard, if that's where the segfault happens I'd guess there's some mismatched libraries involved.
Feel free to open a bug and provide more information to help track down the segfault if you'd like.
--Dan
More information about the chirp_users
mailing list