GNU bug report logs - #23001
emacs in X has icons missing and throws warnings in tty

Previous Next

Package: guix;

Reported by: myglc2 <myglc2 <at> gmail.com>

Date: Sun, 13 Mar 2016 00:42:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23001 in the body.
You can then email your comments to 23001 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#23001; Package guix. (Sun, 13 Mar 2016 00:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to myglc2 <myglc2 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 13 Mar 2016 00:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: myglc2 <myglc2 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: emacs in X has icons missing and throws warnings in tty
Date: Sat, 12 Mar 2016 19:43:11 -0500
[Message part 1 (text/plain, inline)]
When running GuixSD on a headless server  ...

ssh
emacs

... produces emacs running in X but ...

- all of the menu icons are missing except one ('file drawers')

- lots of messages are shooting in the tty session (sample below).

This actually doesn't bother me because, hey, who uses the stinking
icons? But it is messy and <JeanLouis> on #guix reported the same thing:

VVVVVVVVVVVVVVVVVVVVVV
<JeanLouis> I was expecting if I do -i emacs -- to get binary emacs, not the
	    ony that was compiled without gdk-pixbuf incorrectly
<mark_weaver> JeanLouis: what do you mean by "that was compiled without
	      gdk-pixbuf incorrectly" ?
<JeanLouis> https://rcdrun.com/images/upload/tmp/2016-03-12-23:41:52.jpg
<JeanLouis> that is what I mean
<JeanLouis> (emacs-24-5:28561): Gdk-CRITICAL **:
	    gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF
	    (pixbuf)' failed					        [18:06]
<JeanLouis> I get many such when running it.
<JeanLouis> buttons missing
^^^^^^^^^^^^^^^^^^^^^^

Here is my setup:

M-x version:
GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.2) of
2016-02-27 on localhost

Guix commit:
* master 81a9653 gnu: webkitgtk: Update to 2.10.8 [fixes CVE-2016-1726].

Example of the messages in the tty session:
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
** (emacs-24-5:18164): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-JHb3wYZmX7: Connection refused

(emacs-24-5:18164): Gtk-WARNING **: Could not find the icon 'document-new'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
	http://icon-theme.freedesktop.org/releases

(emacs-24-5:18164): Gtk-WARNING **: Error loading theme icon 'document-new' for stock: Icon 'document-new' not present in theme Adwaita

(emacs-24-5:18164): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Icon 'image-missing' not present in theme Adwaita

(emacs-24-5:18164): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(emacs-24-5:18164): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(emacs-24-5:18164): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(emacs-24-5:18164): Gtk-WARNING **: Error loading theme icon 'document-new' for stock: Icon 'document-new' not present in theme Adwaita

(emacs-24-5:18164): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Icon 'image-missing' not present in theme Adwaita
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[c05glc.scm (application/octet-stream, attachment)]
[c05system.scm (application/octet-stream, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#23001; Package guix. (Sat, 02 Apr 2016 19:03:02 GMT) Full text and rfc822 format available.

Message #8 received at 23001 <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: 23001 <at> debbugs.gnu.org
Subject: Re: emacs in X has icons missing and throws warnings in tty
Date: Sat, 02 Apr 2016 12:01:59 -0700
[Message part 1 (text/plain, inline)]
Hi,

I'm using emacs in X on my GuixSD (version 0.10.0) laptop (not a
headless server), and all the icons seem to be showing up correctly for
me by default.

I think the adwaita icons are provided by the package adwaita-icon-theme
(although gnome-themes-standard also purports to supply a copy of it,
too):

--8<---------------cut here---------------start------------->8---
$ guix package --search=adwaita
name: adwaita-icon-theme
version: 3.18.0
outputs: out
systems: x86_64-linux i686-linux armhf-linux mips64el-linux
dependencies: gtk+-3.18.2 icon-naming-utils-0.8.90 intltool-0.51.0
+ pkg-config-0.29
location: gnu/packages/gnome.scm:597:2
homepage: http://art.gnome.org/
license: LGPL 3
synopsis: GNOME icon theme
description: Icons for the GNOME desktop.

name: gnome-themes-standard
version: 3.18.0
outputs: out
systems: x86_64-linux i686-linux armhf-linux mips64el-linux
dependencies: glib-2.46.1 glib-2.46.1 gtk+-2.24.28 gtk+-3.18.2 intltool-0.51.0
+ librsvg-2.40.13 libxml2-2.9.3 pkg-config-0.29
location: gnu/packages/gnome.scm:1609:2
homepage: https://launchpad.net/gnome-themes-standard
license: LGPL 2.1+
synopsis: Default GNOME 3 themes
description: The default GNOME 3 themes (Adwaita and some accessibility themes).
--8<---------------cut here---------------end--------------->8---

Are either of these packages installed on your system?  Also, are your XDG
environment variables set correctly?  See the following email thread,
which seems related to your issue:

https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00764.html

I hope that helps,

-- 
Chris
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#23001; Package guix. (Mon, 04 Apr 2016 16:14:01 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: myglc2 <myglc2 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Re: bug#23001: emacs in X has icons missing and throws warnings in tty
Date: Mon, 04 Apr 2016 12:12:35 -0400
Chris Marusich <cmmarusich <at> gmail.com> writes:

> Hi,
>
> I'm using emacs in X on my GuixSD (version 0.10.0) laptop (not a
> headless server), and all the icons seem to be showing up correctly for
> me by default.
>
> I think the adwaita icons are provided by the package adwaita-icon-theme
> (although gnome-themes-standard also purports to supply a copy of it,
> too):
[...]
> Are either of these packages installed on your system?

Thanks, no they were not. I tried installing adwaita-icon-theme and then
gnome-themes-standard to no effect.

> Also, are your XDG environment variables set correctly?  See the
> following email thread, which seems related to your issue:
>
> https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00764.html
>
> I hope that helps,

Thanks. Don't know. I looked at ...

https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00764.html

... and I have these vars ...

env | grep XDG
XDG_SESSION_ID=114
XDG_DATA_DIRS=/gnu/store/jswsfkynf6msmsbvsh2d7hnf4wym6pm9-glib-2.46.1/share:/gnu/store/wmcakj4kvmqs5l5hzbf7iqpxy6gkxkwr-gtk+-3.18.2/share:/gnu/store/xiniqmgmyjj4k85dv07l41ay6lhwk7gp-emacs-24.5/share:/gnu/store/jswsfkynf6msmsbvsh2d7hnf4wym6pm9-glib-2.46.1/share:/gnu/store/wmcakj4kvmqs5l5hzbf7iqpxy6gkxkwr-gtk+-3.18.2/share:/gnu/store/xiniqmgmyjj4k85dv07l41ay6lhwk7gp-emacs-24.5/share
XDG_RUNTIME_DIR=/run/user/1001

... but I don't have the 'XDG_CONFIG_DIRS' var shown in that post.

BTW, since I posted the bug I switched to running Guix/Debian. The same
icons are missing and I still get similar error messages ...

Example of the messages in the tty session:
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
** (emacs-24-5:932): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(emacs-24-5:932): Gtk-WARNING **: Could not find the icon 'document-new'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
	http://icon-theme.freedesktop.org/releases

(emacs-24-5:932): Gtk-WARNING **: Error loading theme icon 'document-new' for stock: Icon 'document-new' not present in theme Adwaita

(emacs-24-5:932): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Icon 'image-missing' not present in theme Adwaita

(emacs-24-5:932): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(emacs-24-5:932): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(emacs-24-5:932): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(emacs-24-5:932): Gtk-WARNING **: Error loading theme icon 'document-new' for stock: Icon 'document-new' not present in theme Adwaita

(emacs-24-5:932): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Icon 'image-missing' not present in theme Adwaita
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

PS: Currently running:

bf9eacd * master origin/master origin/HEAD doc: Mention 'guix challenge' in "Features".





Information forwarded to bug-guix <at> gnu.org:
bug#23001; Package guix. (Tue, 05 Apr 2016 04:16:01 GMT) Full text and rfc822 format available.

Message #14 received at 23001 <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: myglc2 <myglc2 <at> gmail.com>
Cc: 23001 <at> debbugs.gnu.org
Subject: Re: bug#23001: emacs in X has icons missing and throws warnings in tty
Date: Mon, 04 Apr 2016 21:14:54 -0700
[Message part 1 (text/plain, inline)]
myglc2 <myglc2 <at> gmail.com> writes:

> Chris Marusich <cmmarusich <at> gmail.com> writes:
>
>> Also, are your XDG environment variables set correctly?  See the
>> following email thread, which seems related to your issue:
>>
>> https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00764.html
>>
>> I hope that helps,
>
> Thanks. Don't know. I looked at ...
>
> https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00764.html
>
> ... and I have these vars ...
>
> env | grep XDG
> XDG_SESSION_ID=114
> XDG_DATA_DIRS=/gnu/store/jswsfkynf6msmsbvsh2d7hnf4wym6pm9-glib-2.46.1/share:/gnu/store/wmcakj4kvmqs5l5hzbf7iqpxy6gkxkwr-gtk+-3.18.2/share:/gnu/store/xiniqmgmyjj4k85dv07l41ay6lhwk7gp-emacs-24.5/share:/gnu/store/jswsfkynf6msmsbvsh2d7hnf4wym6pm9-glib-2.46.1/share:/gnu/store/wmcakj4kvmqs5l5hzbf7iqpxy6gkxkwr-gtk+-3.18.2/share:/gnu/store/xiniqmgmyjj4k85dv07l41ay6lhwk7gp-emacs-24.5/share
> XDG_RUNTIME_DIR=/run/user/1001
>
> ... but I don't have the 'XDG_CONFIG_DIRS' var shown in that post.
>
> BTW, since I posted the bug I switched to running Guix/Debian. The same
> icons are missing and I still get similar error messages ...

I see.  What if you try setting GTK_DATA_PREFIX [1] to the profile where you
installed the themes?  I don't know if that will work; it's just a guess.

[1] https://developer.gnome.org/gtk3/stable/gtk-running
"GTK_DATA_PREFIX.  If set, makes GTK+ use $GTK_DATA_PREFIX instead of
the prefix configured when GTK+ was compiled."

-- 
Chris
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#23001; Package guix. (Sat, 28 May 2016 12:19:01 GMT) Full text and rfc822 format available.

Message #17 received at 23001 <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> member.fsf.org (宋文武)
To: bug#23001 <23001 <at> debbugs.gnu.org>
Subject: Re: emacs in X has icons missing and throws warnings in tty
Date: Sat, 28 May 2016 20:18:21 +0800
Well, now the gtk+ is linked with gdk-pixbuf+svg, with
adwaita-icon-theme and shared-mime-info (used by gdk-pixbuf at runtime)
all my Emacs toolbar icons are missing (empty), but without any warning.




Information forwarded to bug-guix <at> gnu.org:
bug#23001; Package guix. (Thu, 16 Nov 2017 02:52:02 GMT) Full text and rfc822 format available.

Message #20 received at 23001 <at> debbugs.gnu.org (full text, mbox):

From: myglc2 <myglc2 <at> gmail.com>
To: 23001 <at> debbugs.gnu.org
Subject: Re: bug#23001: emacs in X has icons missing and throws warnings in tty
Date: Wed, 15 Nov 2017 21:51:23 -0500
[Message part 1 (text/plain, inline)]
Updating this for what I see in guix (GNU Guix) 0.13.0.4589-74bea6

On 03/12/2016 at 19:43 myglc2 writes:

> When running GuixSD on a headless server  ...
>
> ssh
> emacs
>
> ... produces emacs running in X but ...
>
> - all of the menu icons are missing except one ('file drawers')

Icons are all OK now. Yeah!

> - lots of messages are shooting in the tty session (sample below).
[...]

Now only two messages are being generated ...

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
g1 <at> g1 ~$ emacs
process 27189: D-Bus library appears to be incorrectly
set up; failed to read machine uuid: Failed to open "/etc/machine-id":
No such file or directory See the manual page for dbus-uuidgen to
correct this issue.

** (emacs-25-3:27189): WARNING **: Error retrieving accessibility bus
address: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.a11y.Bus was not provided by any .service files
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Attempting to follow the instructions in the first message, I installed
dbus, but I don't see any dbus-uuidgen man page, or any other dbus man
pages.

The second message is referenced in bug#28088 ...

Subject: bug#28088: "The name org.a11y.Bus was not provided by any
.service files" with multiple applications

The messages seem harmless. Perhaps the bug should be downgraded?

Current config:

[sys.scm (application/octet-stream, attachment)]
[g1-emacs-dbus.scm (application/octet-stream, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#23001; Package guix. (Thu, 05 Apr 2018 23:25:01 GMT) Full text and rfc822 format available.

Message #23 received at 23001 <at> debbugs.gnu.org (full text, mbox):

From: myglc2 <at> gmail.com
To: 23001 <at> debbugs.gnu.org
Subject: Re: bug#23001: emacs in X has icons missing and throws warnings in tty
Date: Thu, 05 Apr 2018 19:24:07 -0400
[Message part 1 (text/plain, inline)]
In guix (GNU Guix) 0.14.0.4032-cfb55 the attached config no longer
produces these errors, so I think this should be closed.

TIA - George

[eserv (application/octet-stream, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#23001; Package guix. (Fri, 06 Apr 2018 00:04:01 GMT) Full text and rfc822 format available.

Message #26 received at 23001 <at> debbugs.gnu.org (full text, mbox):

From: myglc2 <at> gmail.com
To: 23001 <at> debbugs.gnu.org
Subject: Re: bug#23001: emacs in X has icons missing and throws warnings in tty
Date: Thu, 05 Apr 2018 20:03:40 -0400
[Message part 1 (text/plain, inline)]
On 04/05/2018 at 19:24 myglc2 <at> gmail.com writes:

> In guix (GNU Guix) 0.14.0.4032-cfb55 the attached config no longer
> produces these errors, so I think this should be closed.
>
> TIA - George

Note: installation of dbus is not required & this config works too ...

[eservx (application/octet-stream, attachment)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Fri, 06 Apr 2018 07:38:02 GMT) Full text and rfc822 format available.

Notification sent to myglc2 <myglc2 <at> gmail.com>:
bug acknowledged by developer. (Fri, 06 Apr 2018 07:38:02 GMT) Full text and rfc822 format available.

Message #31 received at 23001-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: myglc2 <at> gmail.com
Cc: 23001-done <at> debbugs.gnu.org
Subject: Re: bug#23001: emacs in X has icons missing and throws warnings in tty
Date: Fri, 06 Apr 2018 09:37:12 +0200
Hi George,

myglc2 <at> gmail.com skribis:

> In guix (GNU Guix) 0.14.0.4032-cfb55 the attached config no longer
> produces these errors, so I think this should be closed.

Thanks for the update, closing!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 04 May 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 51 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.