You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I double click on an EPUB file in the file explorer or use the command "foliate ... .epub", it fails to open the file
Foliate is installed with snap
The error log is:
** (com.github.johnfactotum.Foliate:58466): WARNING **: 18:51:59.997: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied
** (com.github.johnfactotum.Foliate:58466): WARNING **: 18:51:59.997: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied
(process:58624): GLib-GIO-WARNING **: 18:52:00.075: GDBus.Error:org.freedesktop.portal.Error.NotAllowed: This call is not available inside the sandbox
** (process:58632): WARNING **: 18:52:00.298: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied
** (process:58632): WARNING **: 18:52:00.298: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied
** (process:58632): WARNING **: 18:52:00.299: Failed to get atspi registered event listeners: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.48" (uid=1000 pid=58632 comm="/usr/lib/x86_64-linux-gnu/webkitgtk-6.0/WebKitWebP" label="snap.foliate.foliate (enforce)") interface="org.a11y.atspi.Registry" member="GetRegisteredEvents" error name="(unset)" requested_reply="0" destination=":1.3" (uid=1000 pid=2268 comm="/usr/libexec/at-spi2-registryd --use-gnome-session" label="unconfined")
To Reproduce
Steps to reproduce the behavior:
use command line to open a file
See error
Workaround
Installing the snap in --devmode solves the issue
Version:
Foliate version: 3.0.1
OS/Distribution and version: Ubuntu 22.04.3 LTS
Desktop environment: gnome 42.9
Installation method: snap
The text was updated successfully, but these errors were encountered:
LaurentBxl
changed the title
Unable to open epub from file explorer or command line
Unable to open epub from file explorer or command line when snap installed in strict mode
Nov 24, 2023
johnfactotum
changed the title
Unable to open epub from file explorer or command line when snap installed in strict mode
Snap: Unable to open epub from file explorer or command line
Dec 13, 2023
Describe the bug
When I double click on an EPUB file in the file explorer or use the command "foliate ... .epub", it fails to open the file
Foliate is installed with snap
The error log is:
To Reproduce
Steps to reproduce the behavior:
Workaround
Installing the snap in --devmode solves the issue
Version:
The text was updated successfully, but these errors were encountered: