snapcrafters / gimp

Unofficial GNU Image Manipulation Program (GIMP) installer for Linux
https://snapcraft.io/gimp
MIT License
53 stars 27 forks source link

[Bug]: Gimp from snap isn't able to load python and js extensions #287

Open MichalVasut opened 1 month ago

MichalVasut commented 1 month ago

What happened?

Gimp doesn't load properly python and javascript extensions, probably due to snap sandboxing.

Environment/Versions

Details and discussion in original issue in Gimp repo (little bit different environment - Ubuntu 24.04.1, different commit of gimp, but same buggy behavior)

https://gitlab.gnome.org/GNOME/gimp/-/issues/12142#note_2244265

What should have happened?

These extensions should load and work without errors, obviously.

Output of snap info $snap_name

name:      gimp
summary:   GNU Image Manipulation Program
publisher: Snapcrafters✪
store-url: https://snapcraft.io/gimp
contact:   https://github.com/snapcrafters/gimp/issues
license:   unset
description: |
  Whether you are a graphic designer, photographer, illustrator, or
  scientist, GIMP provides you with sophisticated tools to get your job done.
  You can further enhance your productivity with GIMP thanks to many
  customization options and 3rd party plugins.

  This snap is maintained by the Snapcrafters community, and is not
  necessarily endorsed or officially maintained by the upstream developers.

  Upstream Project: https://www.gimp.org/
  snapcraft.yaml Build Definition:
  https://github.com/snapcrafters/gimp/blob/master/snap/snapcraft.yaml
commands:
  - gimp
snap-id:      KDHYbyuzZukmLhiogKiUksByRhXD2gYV
tracking:     preview/stable
refresh-date: dnes v 19:07 CEST
channels:
  latest/stable:     2.10.38     2024-05-10 (436) 540MB -
  latest/candidate:  2.10.38     2024-05-10 (436) 540MB -
  latest/beta:       ↑                                  
  latest/edge:       ↑                                  
  preview/stable:    2.99.19-dev 2024-09-10 (439) 479MB -
  preview/candidate: 2.99.19-dev 2024-09-23 (443) 479MB -
  preview/beta:      ↑                                  
  preview/edge:      2.99.19-dev 2024-09-08 (441) 479MB -
installed:           2.99.19-dev            (439) 479MB -

Output of snap connections $snap_name

Rozhraní                Zásuvka               Slot                            Poznámky
browser-support         gimp:browser-support  :browser-support                -
content[gnome-46-2404]  gimp:gnome-46-2404    gnome-46-2404:gnome-46-2404     -
content[gpu-2404]       gimp:gpu-2404         mesa-2404:gpu-2404              -
content[gtk-3-themes]   gimp:gtk-3-themes     gtk-common-themes:gtk-3-themes  -
content[icon-themes]    gimp:icon-themes      gtk-common-themes:icon-themes   -
content[sound-themes]   gimp:sound-themes     gtk-common-themes:sound-themes  -
cups-control            gimp:cups-control     -                               -
dbus                    -                     gimp:dbus-gimp                  -
desktop                 gimp:desktop          :desktop                        -
desktop-legacy          gimp:desktop-legacy   :desktop-legacy                 -
gsettings               gimp:gsettings        :gsettings                      -
home                    gimp:home             :home                           -
network                 gimp:network          :network                        -
opengl                  gimp:opengl           :opengl                         -
removable-media         gimp:removable-media  -                               -
unity7                  gimp:unity7           :unity7                         -
wayland                 gimp:wayland          :wayland                        -
x11                     gimp:x11              :x11                            -

Output of snap version

snap    2.63+24.04ubuntu0.1
snapd   2.63+24.04ubuntu0.1
series  16
ubuntu  24.04
kernel  6.8.0-45-generic