gimp icon indicating copy to clipboard operation
gimp copied to clipboard

[2.10.2] Open Location fails: volume doesn't implement mount

Open marcelpaulo opened this issue 6 years ago • 4 comments

Opening an image from a HTTPS location fails with error:

volume doesn't implement mount

Here's a screenshot when I tried to open https://www.howtogeek.com/wp-content/uploads/2016/04/img_571c03f856528.png: image

The error is the same for HTTP locations. The flatpak version doesn't have this issue, so it's not a GIMP generic issue.

I'm running GIMP 2.10.2 on Xubuntu 18.04.

marcelpaulo avatar Jun 05 '18 14:06 marcelpaulo

This is likely due to the fact that I didn't give gimp network access permission. I did not think it likely that gimp would ever need to be able to access the network in it's job of editing images. I can add the plug to give the snap permission to access the network, though I'm not sure it is a good idea.

lucyllewy avatar Aug 05 '18 15:08 lucyllewy

I did not think it likely that gimp would ever need to be able to access the network in it's job of editing images

I use it frequently, I'd imagine it's common, for getting and editing images from the Web, instead of saving the image locally and then opening it on GIMP. I configured Clipman to open GIMP whenever an image URL is copied to the clipboard, so, editing an image on the Web boils down to right-clicking on the image and then (on Chrome) on Copy image address. It's a lean workflow, as long as GIMP has network access.

I much preferred snap GIMP than flatpak GIMP: it loads much more quickly and snap updates work out of the box (I had to set up a systemd timer to fire flatpak updates daily). But I installed flatpak GIMP because it has network access, so it fits in my workflow.

marcelpaulo avatar Aug 05 '18 17:08 marcelpaulo

Actually, I'm just waiting for snap GIMP to get network access, when I'll ditch flatpak GIMP once and for all and install snap GIMP.

marcelpaulo avatar Aug 05 '18 22:08 marcelpaulo

Similar issue is still present in 2.10.24 and with all permissions available to be enabled. Screenshot from 2021-08-18 21-47-53

The UI doesn't indicate any error code at all though but it just doesn't show any progress Screenshot from 2021-08-18 21-53-30

The console is printing out following:

file_open_image: mounting remote volume failed, trying to downloadthe file: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.708" (uid=1000 pid=248857 comm="/snap/gimp/372/usr/bin/gimp " label="snap.gimp.gimp (enforce)") interface="org.gtk.vfs.MountTracker" member="MountLocation" error name="(unset)" requested_reply="0" destination=":1.3" (uid=1000 pid=1563 comm="/usr/libexec/gvfsd " label="unconfined")

azatoth avatar Aug 18 '21 19:08 azatoth