Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open the app when it is installed as a snap #380

Closed
umutd3401 opened this issue Nov 21, 2024 · 2 comments
Closed

Cannot open the app when it is installed as a snap #380

umutd3401 opened this issue Nov 21, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@umutd3401
Copy link

I installed the latest snap package (2.8.0) and I got an error when trying to open the app. I use Ubuntu 24.10.

Traceback (most recent call last):
  File "/snap/jeffser-alpaca/x1/usr/bin/alpaca", line 42, in <module>
    resource = Gio.Resource.load(os.path.join(pkgdatadir, 'alpaca.gresource'))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-file-error-quark: Failed to open file “/snap/alpaca/current/usr/share/Alpaca/alpaca.gresource”: open() failed: No such file or directory (4)
@umutd3401 umutd3401 added the bug Something isn't working label Nov 21, 2024
@Jeffser
Copy link
Owner

Jeffser commented Dec 17, 2024

Hi thanks for reporting this, apparently I was using the wrong snapcraft.yaml to build the app, my bad.

I'm testing some fixes in the yaml file, once everything works I will push the new file.

I will also reupload the snap in the latest release 2.9.0

@Jeffser
Copy link
Owner

Jeffser commented Dec 18, 2024

Hi again, managed to fix pretty much everything, sorry for taking so long.

The snap package for 2.9.0 in releases should work fine now

@Jeffser Jeffser closed this as completed Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants