Project

General

Profile

Actions

Feature #9971

closed

Please align Linux version

Added by Enrico Vazzoler over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/02/2022
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
(All models)
I read the instructions above:

Description

Please, add stock configs to Linux version


Files

Actions #1

Updated by Jim Unroe over 1 year ago

The Linux version already contains the stock config files. Attached is a screen capture from my Linux Mint installation of CHIRP daily-20220726 (the latest version).

Jim KC9HI

Actions #2

Updated by Jim Unroe over 1 year ago

Enrico,

I just found out that the Stock Config files are not available on CHIRP Snap build. The other builds (Windows, Linux, macOS and flatpak) all have the Stock Config files available. Are you running the Snap build of CHIRP?

I have left a comment about this on the github site of the Snap developer.

Jim KC9HI

Actions #3

Updated by Enrico Vazzoler over 1 year ago

Hi!
Yes, unfortunately I was running the snap version. Usually snap distribute the more updated version. Not this time...
Sorry for having opened a issue without double checking that!
Have a nice day!

Actions #4

Updated by Tony Fuller over 1 year ago

Hi Enrico,

I can verify that the snap version is missing the %Open stock config% menu option under File.

I'll see why this is happening. Thanks for reporting!

Tony

Actions #5

Updated by Tony Fuller over 1 year ago

And I see your issue Jim!

https://github.com/goldstar611/chirp/issues/1

Thanks for the follow up, I appreciate it!

Actions #6

Updated by Jim Unroe over 1 year ago

Tony Fuller wrote:

Hi Enrico,

I can verify that the snap version is missing the %Open stock config% menu option under File.

I'll see why this is happening. Thanks for reporting!

Tony

Tony,

Also realize that the snap version is also missing Radio -> Import From Stock Config in case that requires a separate fix.

Thanks,
Jim KC9HI

Actions #7

Updated by Tony Fuller over 1 year ago

Hey Jim,

I currently see 2 issues with the snap package.

One is an issues with Dan's build scripts that push changes to github.com, The repo at github.com feeds the snap building and appimage building processes. I emailed Dan and he's seeing the same thing (that commits are present on the mercurial repo but not the github.com repo)

The second is that during the snap build, CHIRP is being installed into / rather than /usr (it's not actually the root of the drive, but the "root of the snap"). So the end result is that CHIRP isn't finding some files including stock configs. On a hunch, I changed my system language and loaded the CHIRP snap and confirmed that translations are not being used.

I have an open question to the snapcrafters forum at https://forum.snapcraft.io/t/python-install-prefix/31248 to see how to set the app installation prefix. Last resort is to just merge the few misplaced directories as a post-build step, but this isn't proper.

Hope that gives some insight into the snap differences.

Tony

Actions #8

Updated by Jim Unroe over 1 year ago

Tony,

Thank you for working on this. I typically only use the CHIRP snap build on my Raspberry Pi. I was coaxed by another to install it on a new install of Linux Mint 21 along side of my CHIRP flatpak installation. It was then that I realized that those that were missing the Stock Config file that I wasn't missing must have been using the CHIRP snap build.

As anyone looked to see if the appimage build has this issue or not?

Jim KC9HI

Actions #9

Updated by Tony Fuller over 1 year ago

Hey Jim,

I downloaded the AppImage package and checked on the stock configs menu item. It is there.
I also double checked that localization is not broken, it too is working as expected.

I should note that I specify the python install prefix when building the AppImage since I had to manually figure out how to get CHIRP working. https://github.com/goldstar611/chirp-appimage/blob/main/AppImageBuilder.yml#L12
The snap ecosystem has "plugins" for python that, as they say, should just work.

Tony

Actions #10

Updated by Jim Unroe over 1 year ago

I believe that tomorrow's CHIRP daily build will include a change that addresses this issue. Right, Tony?

Jim KC9HI

Actions #11

Updated by Tony Fuller over 1 year ago

Hi Jim,

That is correct, since https://github.com/kk7ds/chirp/pull/29 was merged. The next build of the snap and appimage should have the stock configs menu option as well as working localization.

And it appears (based solely on commits in the mercurial vs git repos) that Dan has fixed the synchronization issue that was going on between github.com and his local repository which I believe is what this ticket is actually referring to.

Tony

Actions #12

Updated by Dan Smith over 1 year ago

  • Status changed from Feedback to Closed

Appears resolved, and if not, irrelevant with chirp-next.

Actions

Also available in: Atom PDF