Open atmelino opened 1 month ago
You have 2 options,
sudo snap connect pdfarranger:removable-media
(This enables both)Also, @atmelino can you confirm if this 24.04 installation of yours is a clean installation or updated from old installations?
Didn't help:
sudo snap connect pdfarranger:removable-media
causes error
error: snap "pdfarranger" has no plug named "removable-media"
sudo apt install xdg-desktop-portal-gnome xdg-desktop-portal-gtk
already installed, output:
xdg-desktop-portal-gnome is already the newest version (46.2-0ubuntu1).
xdg-desktop-portal-gtk is already the newest version (1.15.1-1build2).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
This is on a newly installed Ubuntu 24.04, installed to an empty disk.
More information: This problem did not occur on previous version that were installed via sudo apt install. I have had similar problems with other snap installed programs.
Didn't help:
sudo snap connect pdfarranger:removable-media
causes errorerror: snap "pdfarranger" has no plug named "removable-media"
sudo apt install xdg-desktop-portal-gnome xdg-desktop-portal-gtk
already installed, output:xdg-desktop-portal-gnome is already the newest version (46.2-0ubuntu1).
xdg-desktop-portal-gtk is already the newest version (1.15.1-1build2).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
This is on a newly installed Ubuntu 24.04, installed to an empty disk.
More information: This problem did not occur on previous version that were installed via sudo apt install. I have had similar problems with other snap installed programs.
Actually I also faced some problems today with home plug, may be what you can try is revert snapd, if it's there in your machine
sudo snap revert snapd
This is probably not something with this snap only. Also, try doing a restart, may be what else you can do is
sudo snap disconnect pdfarranger:home
And then try opening it
Could you please show us apparmor denials as listed by
dmesg | grep DENIED
Thanks!
sudo dmesg | grep DENIED
ouput:
[ 5.115896] audit: type=1400 audit(1728610464.999:174): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.snapd-desktop-integration" name="/proc/1678/maps" pid=1678 comm="5" requested_mask="r" denied_mask="r" fsuid=120 ouid=0
[ 11.312900] audit: type=1400 audit(1728610471.196:175): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=2152 comm="snap-confine" capability=12 capname="net_admin"
[ 11.312919] audit: type=1400 audit(1728610471.196:176): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=2152 comm="snap-confine" capability=38 capname="perfmon"
[ 11.316431] audit: type=1400 audit(1728610471.199:177): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.snapd-desktop-integration" name="/proc/2219/maps" pid=2219 comm="5" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 13.844001] audit: type=1400 audit(1728610473.727:178): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=3236 comm="snap-confine" capability=12 capname="net_admin"
[ 13.844628] audit: type=1400 audit(1728610473.727:179): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=3236 comm="snap-confine" capability=38 capname="perfmon"
[ 13.849825] audit: type=1400 audit(1728610473.733:180): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.snapd-desktop-integration" name="/proc/3251/maps" pid=3251 comm="5" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 1562.871898] audit: type=1400 audit(1728612022.685:181): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=6922 comm="snap-confine" capability=12 capname="net_admin"
[ 1562.871908] audit: type=1400 audit(1728612022.685:182): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=6922 comm="snap-confine" capability=38 capname="perfmon"
[ 1562.945152] audit: type=1400 audit(1728612022.758:183): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.firmware-updater" name="/proc/6948/maps" pid=6948 comm="5" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 1563.068871] audit: type=1400 audit(1728612022.882:184): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=6922 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Thanks, is that all of them? From the ones I see here we can ignore all the snap-confine denials, those are known and caj eb ignored. I wonder what changed between versions though. Do you know if the app is using xdg portals for the folder access?
Thanks, is that all of them? From the ones I see here we can ignore all the snap-confine denials, those are known and caj eb ignored. I wonder what changed between versions though. Do you know if the app is using xdg portals for the folder access?
Yes this app uses xdg desktop portals. I guess he has already reverted the snapd snap.
I don't know what may be the problem then :/.
Can I ask the reporter to re-check with snapd snap using latest/edge channel:
sudo snap refresh snapd --edge
You can check if this worked by running snap version
.
Thank you!
I don't know what may be the problem then :/.
Can I ask the reporter to re-check with snapd snap using latest/edge channel:
sudo snap refresh snapd --edge
You can check if this worked by running
snap version
.Thank you!
The problem was probably particularly in 2.65.3 release which was later reverted. I also faced some similar problems
Describe the bug
When I drag and drop a file that is on a mounted drive, for example a USB drive or a drive mounted via fstab, from the nautilus file manager into the pdfarranger window, nothing happens. The same behavior occurs when I try to use "Open with". If the file is on the Desktop, it works.
I narrowed the problem down to a permission error (see below)
To Reproduce
Steps to reproduce the behavior:
or
To monitor the error:
No error occurs when the PDF file is on the Desktop.
Expected behavior
Drag and drop file into pdfarranger window, expect file to be loaded
Input files
Any PDF file
Screenshots
no screenshots
Terminal output
System and Versions