[chirp_users] CHIRP Tips: Advanced Editing
Hi all,
I posted another "CHIRP Tips" video, this time on advanced editing techniques. This covers a number of tools CHIRP provides for bulk editing, organizing, and arranging memories.
Hopefully there's at least one tip in there you didn't already know about!
--Dan
On 2023-06-29 15:30:-0700, you wrote:
I posted another "CHIRP Tips" video,<...> Hopefully there's at least one tip in there you didn't already know about!
GM, Dan, Given the questions that pop up here, I say that we can really use these vids. Not only did I learn a few techniques, but it was nice to hear your rationale for managing channels, even if I have chosen a somewhat different approach. I'll review the vid and think about what I do...
I changed my [prefs] stock_configs = E:@online docs\Amateur Radio\CHIRP stock_configs as a test.
?? Something I did yesterday during my testing and installing the latest standalone version emptied out my custom stock_configs dir (or I did it by mistake) and cleared the [prefs] section so that when I started up this morning, I got the default loc.
** I subsequently did all the steps again today, including installing the new chirp-next-20230630-win32 version, adding [prefs] to my config. At the end of the tests, some files are missing.
I had copied the csv files from the CHIRP install to my custom dir, as a way to get a bunch of files to test, rather than comb mine from various places. After I closed CHIRP, they are missing from my custom dir. All that remains are the files of mine that I placed there.
YouTube URL names: I'd like to see them save down as CHIRP - AdvancedConfig instead of AdvancedConfig - CHIRP I rename all such links this way so that they are grouped better in my file system. Then when I am looking for CHIRP (whatever) links, I scan for CHIRP first, then the subject.
https://chirp.danplanet.com/projects/chirp/wiki/AdvancedConfig "Group" =? "section" ? Maybe [whatever] isn't really needed? CHIRP simply scans for keys? At any rate, I decided that "group" means "section", and it worked fine. stock_configs : dir names with spaces? Yes...handled them with no "" required.
BOM - yep. I tripped myself here. I have my editor set to change unknown file types that are UTF-8 to use a BOM. Then when I saved the config file, CHIRP threw a mysterious (at the time) error, saying that the first line had an error. Of course, it didn't appear in the editor, so I was puzzled at first.
~R~ 72/73 de Rich NE1EE The Dusty Key On the banks of the Piscataqua
I changed my [prefs] stock_configs = E:@online docs\Amateur Radio\CHIRP stock_configs as a test.
?? Something I did yesterday during my testing and installing the latest standalone version emptied out my custom stock_configs dir (or I did it by mistake) and cleared the [prefs] section so that when I started up this morning, I got the default loc.
In the olden times, CHIRP would copy all of the distributed stock configs into the user's personal directory. That was a big problem because it was then hard for us to update those files when they change (and they do, such as the new GMRS rules a few years ago). It's also a minor problem in that it's harder to distinguish your files from the distributed ones in the same directory and deleting them would cause CHIRP to just copy them in again.
In next, the distributed ones are separate from the user's own stock configs, we read them out of each location, and that's also why they're separated in the menu so you can tell the difference. In order to avoid duplication for people who have stock configs that were copied into their personal directory by legacy, next will purge the stock configs from the personal location they exist there (and only if they are unchanged from the source file).
So, assuming you've copied some of the distributed files directly into your personal/overridden stock_configs directory, you'll see that purging activity happen because chirp assumes it was legacy that copied those files there. If you don't want that to happen, just make any change to those files (like put a comment somewhere in the file after the first header line, prefixed with a '#'). That should cause it to look modified and chirp will leave it alone.
https://chirp.danplanet.com/projects/chirp/wiki/AdvancedConfig "Group" =? "section" ?
A library I use for reading these files calls them groups, but yes, you got it.
Maybe [whatever] isn't really needed? CHIRP simply scans for keys? At any rate, I decided that "group" means "section", and it worked fine.
No, the section/group *does* matter. You can't just put keys wherever you want, they have to be in the right place in order to be honored.
BOM - yep. I tripped myself here. I have my editor set to change unknown file types that are UTF-8 to use a BOM. Then when I saved the config file, CHIRP threw a mysterious (at the time) error, saying that the first line had an error. Of course, it didn't appear in the editor, so I was puzzled at first.
I should be able to fix this if you open a bug for the issue to "charge" it against. I think may be the only person that will notice, but it's an easy change in the encoding we use to read the file :)
--Dan
I am really running behind my task list ;-)
On 2023-06-30 15:03:-0700, you wrote:
In the olden times, CHIRP would copy all of the distributed stock configs <...> It's also a minor problem<...>
In next,<...> In order to avoid duplication<...> next will purge the stock configs from the personal location<...>only if they are unchanged from the source file).
Great explanation. I thought it must be deliberate, but couldna imagine why. I have some application dev experience, so figured there was a reason under the hood. I copied them because it was just a test!! and it was easier than getting one of my own. Good lesson for me.
just make any change to those files (like put a comment somewhere in the file after the first header line, prefixed with a '#'). That should cause it to look modified and chirp will leave it alone.
How specifically does chirp decide? For example, if I changed any of the files...and I don't really see that happening...the timestamp would change. I guess I am inclined to simply copy from the chirp files, and mod from there. I like the current way the chirp handles this...I was simply caught by surprise. I already group my entries in a similar fashion, keeping them in blocks on even boundaries for my convenience. That decision is even more convenient now. I had not realized some of the editing features of chirp, and did a lot of busy work to manage my file contents. That's all changed since your last vids.
No, the section/group *does* matter. You can't just put keys wherever you want, they have to be in the right place in order to be honored.
Got it.
BOM - yep. I tripped myself here. I have my editor set to change unknown file types that are UTF-8 to use a BOM. Then when I saved the config file, CHIRP threw a mysterious (at the time) error, saying that the first line had an error. Of course, it didn't appear in the editor, so I was puzzled at first.
I should be able to fix this if you open a bug for the issue to "charge" it against. I think may be the only person that will notice, but it's an easy change in the encoding we use to read the file :)
So I am getting ready to submit the report. First I tested it, and got the debug log to attach. Then I tried to follow directions to submit the bug report, but this page https://chirp.danplanet.com/projects/chirp/wiki/How_To_Report_Issues has a link to itself for instructions.
Now I find that my user is 'unknown' on chirp...
I see "Once you are logged in, click the http://chirp.danplanet.com/projects/chirp/issues/newNew issue link on the menu bar above to get started. " but don't actually see the New issue link on any menu bar...so I clicked the link, and that worked.
Now if I can remember that bug report you asked me to submit quite a while ago...I'll look thru my emails...
~R~ 72/73 Rich NE1EE The Dusty Key On the banks of the Piscataqua
How specifically does chirp decide? For example, if I changed any of the files...and I don't really see that happening...the timestamp would change.
It calculates a cryptographic hash of the file contents to decide if they match the hash of the source. It should be basically infallible for these files.
So I am getting ready to submit the report. First I tested it, and got the debug log to attach.
Great, a source file for me to test against would be helpful as well.
Now I find that my user is 'unknown' on chirp...
I see "Once you are logged in, click the http://chirp.danplanet.com/projects/chirp/issues/newNew issue link on the menu bar above to get started. " but don't actually see the New issue link on any menu bar...so I clicked the link, and that worked.
Now if I can remember that bug report you asked me to submit quite a while ago...I'll look thru my emails...
Contact me off-list if you can't figure it out and I'll help you find your account and get logged in.
Thanks!
--Dan
Trying to program a Wouxun, and I cannot recognize the Com ports on a Dell running Windows 11.
-----Original Message----- From: chirp_users-bounces@intrepid.danplanet.com chirp_users-bounces@intrepid.danplanet.com On Behalf Of Dan Smith via chirp_users Sent: Thursday, June 29, 2023 6:30 PM To: Discussion of CHIRP chirp_users@intrepid.danplanet.com Subject: [chirp_users] CHIRP Tips: Advanced Editing
Hi all,
I posted another "CHIRP Tips" video, this time on advanced editing techniques. This covers a number of tools CHIRP provides for bulk editing, organizing, and arranging memories.
Hopefully there's at least one tip in there you didn't already know about!
--Dan _______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Richard K Parrish at ritchkp@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com To report this email as off-topic, please email chirp_users-owner@intrepid.danplanet.com Searchable archive: https://www.mail-archive.com/chirp_users@intrepid.danplanet.com
On Wed, Nov 29, 2023 at 4:10 PM ritchkp@gmail.com wrote:
Trying to program a Wouxun, and I cannot recognize the Com ports on a Dell running Windows 11.
The Prolific PL2303HXA and PL2303TA chips which are often found in cheap programming cables, programming cables included with a radio and older Baofeng labeled programming cables are considered EOL (end-of-life). The Prolific company, which supplies the driver that Windows automatically installs when a Prolific PL2303 chip is detected, removes support for EOL chips from their driver. So when an EOL chip is detected by Windows, the driver will not assign a COM port. The only Prolific chip that is currently recognized by the latest Prolific driver in Windows 11 is PL2303GA (which is rare to see in a programming cable, but I happen to have one in my collection of over 40 programming cables).
You have a few workarounds available to you...
1. Switch to a programming cable that has been made using a USB-to-Serial chip from a different chip vendor (FTDI, Silicon Labs, WCH, etc). The FTDI chip is popular for this because the vendor/dealer listing will almost always mention FTDI (so you know which chip you are getting, if the listing doesn't say, then the chances of getting another Prolific chip based programming cable is very high). 2. Use a Linux operating system to run CHIRP. The drivers in Linux are open source (not made by Prolific) and continue to support chips that are considered EOL by Prolific. 3. Download, install and manually select the older (more than 10 years) Prolific v3.2.0.0 driver that works fine with any Prolific type chip (HXA, TA, GA, etc) and any Windows from 7 through 11 (Windows XP requires v2.0.2.1). A link to the driver and instructions for how to manually install it are available on the miklor.com website. I have been successfully using this method since 2012.
https://www.miklor.com/COM/UV_Drivers.php
Jim KC9HI
participants (4)
-
Dan Smith
-
Jim Unroe
-
Rich NE1EE
-
ritchkp@gmail.com