epiphany crashes attempting to display PDFs outside of GNOME

  • Open
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal
L
L
Ludovic Courtès wrote on 21 Feb 2020 09:50
Epiphany fails to launch Evince
(address . bug-Guix@gnu.org)
87blpspbn0.fsf@inria.fr
Hello,

When running Epiphany on a non-GNOME system with:

guix environment --ad-hoc epiphany -- epiphany

and opening a PDF, it fails to launch Evince (referred to as
“Dokumentmontrilo” below :-)) and crashes:

Toggle snippet (14 lines)
$ guix environment --ad-hoc epiphany -- epiphany

** (epiphany:2419): WARNING **: 09:33:46.938: webkit_web_context_set_web_process_count_limit is deprecated and does nothing. Limiting the number of web processes is no longer possible for security reasons
** Message: 09:33:47.162: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files

** (epiphany:2419): WARNING **: 09:33:47.162: Failed to search secrets in password schema: The name org.freedesktop.secrets was not provided by any .service files

** (epiphany:2419): WARNING **: 09:45:47.949: Failed to acquire session inhibitor for active download. Is gnome-session running?

** (epiphany:2419): WARNING **: 09:45:51.859: Failed to launch Dokumentmontrilo: No s'ha pogut executar el procés fill «gio-launch-desktop» (Dosiero a? dosierujo ne ekzistas)

(epiphany:2419): GLib-GIO-CRITICAL **: 09:45:51.860: g_app_info_launch_uris: assertion 'G_IS_APP_INFO (appinfo)' failed

The problem is that ‘gio-launch-desktop’ is not found in $PATH.

Ludo’.
M
M
Maxim Cournoyer wrote on 11 Jul 2022 20:30
(name . Ludovic Courtès)(address . ludo@gnu.org)
87czebcxj5.fsf@gmail.com
Hi,

Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (24 lines)
> Hello,
>
> When running Epiphany on a non-GNOME system with:
>
> guix environment --ad-hoc epiphany -- epiphany
>
> and opening a PDF, it fails to launch Evince (referred to as
> “Dokumentmontrilo” below :-)) and crashes:
>
> $ guix environment --ad-hoc epiphany -- epiphany
>
> ** (epiphany:2419): WARNING **: 09:33:46.938: webkit_web_context_set_web_process_count_limit is deprecated and does nothing. Limiting the number of web processes is no longer possible for security reasons
> ** Message: 09:33:47.162: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
>
> ** (epiphany:2419): WARNING **: 09:33:47.162: Failed to search secrets in password schema: The name org.freedesktop.secrets was not provided by any .service files
>
> ** (epiphany:2419): WARNING **: 09:45:47.949: Failed to acquire session inhibitor for active download. Is gnome-session running?
>
> ** (epiphany:2419): WARNING **: 09:45:51.859: Failed to launch Dokumentmontrilo: No s'ha pogut executar el procés fill «gio-launch-desktop» (Dosiero a? dosierujo ne ekzistas)
>
> (epiphany:2419): GLib-GIO-CRITICAL **: 09:45:51.860: g_app_info_launch_uris: assertion 'G_IS_APP_INFO (appinfo)' failed
>
> The problem is that ‘gio-launch-desktop’ is not found in $PATH.

As of Epiphany 42, it doesn't rely on Evince anymore for viewing PDFs
(rather, it uses its PDF.js module). But the problem seems to remain
that displaying PDFs in Epiphany fails outside of GNOME. On my
ratpoison session, it consistently crashes when visiting PDF URLs.

I'm not sure how to debug this further.

Thanks,

Maxim
M
M
Maxim Cournoyer wrote on 11 Jul 2022 20:32
control message for bug #39711
(address . control@debbugs.gnu.org)
877d4jcxfa.fsf@gmail.com
retitle 39711 epiphany crashes attempting to display PDFs outside of GNOME
quit
?