Fedora snap help

Tell us about your experience, ask if you're unsure of something, let us know if you have a problem.
ufergus
Posts: 4
Joined: Sat 27 Jul, 2024 11:32 pm

Fedora snap help

#3459

Post by ufergus »

I am attempting to snap installation under Fedora 40. It installs ok, but whenever I run it it complains about not being able to read /etc/fedora-release. I tried reinstalling using --classic, which as I understand should relax containment restrictions, but was kindly told --classic is ignored for strictly confined packages. I did run the post install script, this didn't help either. I am not a snap guru so I must be missing something? Help? Thanks.
ufergus
Posts: 4
Joined: Sat 27 Jul, 2024 11:32 pm

Re: Fedora snap help

#3460

Post by ufergus »

I did add the symbolic link from /snap to /var/lib/snapd/snap as specified in the Fedora instructions. But that didn't help either.

https://snapcraft.io/install/kaffelogic-studio/fedora
ufergus
Posts: 4
Joined: Sat 27 Jul, 2024 11:32 pm

Re: Fedora snap help

#3461

Post by ufergus »

A few updates. I have tried installing with --devmode as well as --candidate with no change in behavior.
User avatar
kaffelogic
Site Admin
Posts: 552
Joined: Thu 18 Oct, 2018 9:38 am
x 80
Contact:

Re: Fedora snap help

#3462

Post by kaffelogic »

The Kaffelogic studio snap is built and tested on Ubuntu. I don't know why you are having this problem with Fedora and can only suggest that you ask for help on some of the Fedora forums. I am happy to assist with answers to specific questions about how the snap is built, but can't do much more. Also there might be Kaffelogic Studio users with experience of Fedora who will answer on this forum.
ufergus
Posts: 4
Joined: Sat 27 Jul, 2024 11:32 pm

Re: Fedora snap help

#3493

Post by ufergus »

Finally figured out the issue. In Fedora 40 /etc/fedora-release is linked to /usr/lib/fedora-release. I don't know how the snap environments are created, but the kaffelogic-studio snap filesystem doesn't have /usr/lib/fedora-release. So whatever library is looking for it fails to load properly. I was able to work around the problem by copying /usr/lib/fedora-release to /etc/fedora-release. This will likely break if the right package is updated, but this at least got the program to launch successfully. Will attempt a roast tomorrow.
User avatar
kaffelogic
Site Admin
Posts: 552
Joined: Thu 18 Oct, 2018 9:38 am
x 80
Contact:

Re: Fedora snap help

#3519

Post by kaffelogic »

Thanks for the intel, have updated our wiki page. Cheers.
User avatar
Angela
Posts: 165
Joined: Sun 13 Jan, 2019 3:23 am
x 21
Contact:

Re: Fedora snap help

#3598

Post by Angela »

I haven't used Kaffelogic studio in years simply because I've never been able to get it to run on Fedora.
I see this issue was raised in September - I might ask why it still is current in the back-end of December?

And I note you are still using python 2.7!! The World is on Python 3.12 - care to join us?
Image
User avatar
kaffelogic
Site Admin
Posts: 552
Joined: Thu 18 Oct, 2018 9:38 am
x 80
Contact:

Re: Fedora snap help

#3599

Post by kaffelogic »

Angela wrote: Fri 27 Dec, 2024 2:35 am The World is on Python 3.12 - care to join us?
We would love to. But there are many factors at play and competing priorities when managing a project like this. For now Python 2 delivers a stable and secure platform, something that we constantly monitor and assess.
User avatar
Angela
Posts: 165
Joined: Sun 13 Jan, 2019 3:23 am
x 21
Contact:

Re: Fedora snap help

#3601

Post by Angela »

kaffelogic wrote: Fri 27 Dec, 2024 12:30 pm We would love to. But there are many factors at play and competing priorities when managing a project like this. For now Python 2 delivers a stable and secure platform, something that we constantly monitor and assess.
Really? You really believe that?

This is the message that confronts me:-

/home/kaffelogic/.local/lib/python2.7/site-packages/PyInstaller/loader/pyimod03_importers.py:396: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.

(studio:231682): Gtk-CRITICAL **: 12:30:17.284: gtk_widget_set_size_request: assertion 'height >= -1' failed

(studio:231682): Gtk-CRITICAL **: 12:30:17.312: gtk_widget_set_size_request: assertion 'height >= -1' failed

(studio:231682): Gtk-CRITICAL **: 12:30:17.482: gtk_widget_set_size_request: assertion 'width >= -1' failed

(studio:231682): Gtk-CRITICAL **: 12:30:17.482: gtk_widget_set_size_request: assertion 'width >= -1' failed

(studio:231682): Gtk-CRITICAL **: 12:30:17.482: gtk_widget_set_size_request: assertion 'width >= -1' failed

(studio:231682): Gtk-CRITICAL **: 12:30:17.482: gtk_widget_set_size_request: assertion 'width >= -1' failed

(studio:231682): Gtk-CRITICAL **: 12:30:17.484: gtk_widget_set_size_request: assertion 'width >= -1' failed

(studio:231682): Gtk-CRITICAL **: 12:30:17.484: gtk_widget_set_size_request: assertion 'width >= -1' failed

(studio:231682): Gtk-CRITICAL **: 12:30:17.484: gtk_widget_set_size_request: assertion 'width >= -1' failed
df: no file systems processed

(studio:231682): Gtk-WARNING **: 12:30:20.571: Error loading theme icon 'dialog-information' for stock: Icon 'dialog-information' not present in theme Adwaita
df: no file systems processed
df: no file systems processed

** (studio:231682): WARNING **: 12:30:42.265: atk-bridge: get_device_events_reply: unknown signature
12:31:00: Debug: window wxMenuBar(0x50fc3e0, ) lost focus even though it didn't have it
Killed
kaffelogic wrote: Fri 27 Dec, 2024 12:30 pm .... something that we constantly monitor and assess.
Of course you don't! That is just PR nonsense and you know it - don't try to patronize me with such rubbish!

5 years of development and I am still seeing the same, same-old.
User avatar
Angela
Posts: 165
Joined: Sun 13 Jan, 2019 3:23 am
x 21
Contact:

All is right with the World....

#3608

Post by Angela »

Kaffelogic Studio still producing errors.
Screenshot from 2025-01-01 11-52-39.png
Screenshot from 2025-01-01 11-52-39.png (134.47 KiB) Viewed 119 times
And trying to close studio from top right corner X gives...
Screenshot from 2025-01-01 11-58-45.png
Screenshot from 2025-01-01 11-58-45.png (107.86 KiB) Viewed 119 times
Post Reply