From: ludo@gnu.org (Ludovic Courtès)
To: Cyril Roelandt <tipecaml@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Evince
Date: Thu, 17 Oct 2013 22:23:26 +0200 [thread overview]
Message-ID: <87d2n3y7cx.fsf@gnu.org> (raw)
In-Reply-To: <20131016232338.GA6199@gmail.com> (Cyril Roelandt's message of "Thu, 17 Oct 2013 01:23:38 +0200")
Cyril Roelandt <tipecaml@gmail.com> skribis:
> On Mon, Oct 14, 2013 at 10:18:55PM +0200, Andreas Enge wrote:
>> Evince does not work at all for me.
>>
>
> I can confirm this issue.
>
>> When I call "evince file.pdf", the console output is
>> ** (evince:5791): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
>> Error registering document: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.evince.Daemon was not provided by any .service files
>> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>>
>> and the evince window itself shows a red banner with the message:
>> Dokument konnte nicht geöffnet werden
>> Der Dateityp application/octet-stream-Typ (application/octet-stream) wird nicht unterstützt.
>>
>> Well, at least it appears to be correctly localised...
>>
>> When just calling "evince" and choosing File, Open from the menu, the
>> program crashes with the message
>> (evince:5791): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed
[...]
> I can solve the error about the lack of schemas by running:
>
> $ GSETTINGS_SCHEMA_DIR=/home/cyril/.guix-profile/share/glib-2.0/schemas/ evince
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
> Segmentation fault
I don’t have the segfault. Could it be due to something specific to
your system such as loading an NSS module for a different libc version?
Could you strace it and see what .so get loaded?
I can run:
GSETTINGS_SCHEMA_DIR=$(./pre-inst-env guix build evince)/share/glib-2.0/schemas \
$(./pre-inst-env guix build evince)/bin/evince foo.pdf
and it starts flawlessly.
However, it’s unable to display the file contents:
File type application/octet-stream type (application/octet-stream) is not supported
but that’s because we need to put shared-mime-info in the search path
(I’ll try to fix this tonight.)
Looking at
<https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/gnome-3/core/evince/default.nix>
and
<https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/gnome-3/core/gsettings-desktop-schemas/default.nix>
gives a trick on how to handle schemas: instead of compiling them at
installation time as Andreas and I were discussing, they run
‘glib-compile-schemas’ on all the schemas for each package.
Thanks,
Ludo’.
next prev parent reply other threads:[~2013-10-17 20:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-14 20:18 Evince Andreas Enge
2013-10-14 21:10 ` Evince Ludovic Courtès
2013-10-15 7:44 ` Evince Andreas Enge
2013-10-16 23:23 ` Evince Cyril Roelandt
2013-10-17 20:23 ` Ludovic Courtès [this message]
2013-10-17 21:52 ` Evince Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d2n3y7cx.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=tipecaml@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.