* bug#23001: emacs in X has icons missing and throws warnings in tty
@ 2016-03-13 0:43 myglc2
2016-04-02 19:01 ` Chris Marusich
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: myglc2 @ 2016-03-13 0:43 UTC (permalink / raw)
To: 23001
[-- Attachment #1: Type: text/plain, Size: 2560 bytes --]
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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[-- Attachment #2: c05glc.scm --]
[-- Type: application/octet-stream, Size: 423 bytes --]
(use-package-modules
aspell
gettext
ghostscript ;; gs-fonts
fonts ;; font-dejavu font-gnu-freefont-ttf
base
ssh rsync wget screen
version-control
emacs
curl
xorg certs
graphviz
)
(packages->manifest
(list
;; gnu-gettext
gs-fonts font-dejavu font-gnu-freefont-ttf
gnu-make
openssh nss-certs xauth rsync wget git git-manpages
emacs magit screen aspell aspell-dict-en
curl ;; lpaste
graphviz
))
[-- Attachment #3: c05system.scm --]
[-- Type: application/octet-stream, Size: 1466 bytes --]
(use-modules (gnu))
(use-service-modules networking ssh)
(use-package-modules admin
disk
)
(operating-system
(host-name "g1")
(timezone "America/New_York")
(locale "en_US.utf8")
(bootloader (grub-configuration (device "/dev/sda")))
(file-systems (cons (file-system
(device "g1sd")
(title 'label)
(mount-point "/")
(type "ext4"))
%base-file-systems))
(users (cons* (user-account
(name "glc")
(comment "g l c")
(group "users")
(supplementary-groups '("wheel"))
(home-directory "/home/glc"))
(user-account
(name "glc2")
(comment "glc2")
(group "users")
(supplementary-groups '("wheel"))
(home-directory "/home/glc2"))
(user-account
(name "glc3")
(comment "glc3")
(group "users")
(supplementary-groups '("wheel"))
(home-directory "/home/glc3"))
(user-account
(name "glc4")
(comment "glc4")
(group "users")
(supplementary-groups '("wheel"))
(home-directory "/home/glc4"))
(user-account
(name "glc5")
(comment "glc5")
(group "users")
(supplementary-groups '("wheel"))
(home-directory "/home/glc5"))
(user-account
(name "glc6")
(comment "glc6")
(group "users")
(supplementary-groups '("wheel"))
(home-directory "/home/glc6"))
%base-user-accounts))
(packages
(cons*
glibc-utf8-locales
parted
%base-packages))
(services (cons* (dhcp-client-service)
(lsh-service #:port-number 22)
%base-services)))
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#23001: emacs in X has icons missing and throws warnings in tty
2016-03-13 0:43 bug#23001: emacs in X has icons missing and throws warnings in tty myglc2
@ 2016-04-02 19:01 ` Chris Marusich
2016-04-04 16:12 ` myglc2
2016-05-28 12:18 ` 宋文武
2017-11-16 2:51 ` myglc2
2 siblings, 1 reply; 9+ messages in thread
From: Chris Marusich @ 2016-04-02 19:01 UTC (permalink / raw)
To: 23001
[-- Attachment #1: Type: text/plain, Size: 1627 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#23001: emacs in X has icons missing and throws warnings in tty
2016-04-02 19:01 ` Chris Marusich
@ 2016-04-04 16:12 ` myglc2
2016-04-05 4:14 ` Chris Marusich
0 siblings, 1 reply; 9+ messages in thread
From: myglc2 @ 2016-04-04 16:12 UTC (permalink / raw)
To: 23001
Chris Marusich <cmmarusich@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".
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#23001: emacs in X has icons missing and throws warnings in tty
2016-03-13 0:43 bug#23001: emacs in X has icons missing and throws warnings in tty myglc2
2016-04-02 19:01 ` Chris Marusich
@ 2016-05-28 12:18 ` 宋文武
2017-11-16 2:51 ` myglc2
2 siblings, 0 replies; 9+ messages in thread
From: 宋文武 @ 2016-05-28 12:18 UTC (permalink / raw)
To: bug#23001
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#23001: emacs in X has icons missing and throws warnings in tty
2016-03-13 0:43 bug#23001: emacs in X has icons missing and throws warnings in tty myglc2
2016-04-02 19:01 ` Chris Marusich
2016-05-28 12:18 ` 宋文武
@ 2017-11-16 2:51 ` myglc2
2018-04-05 23:24 ` myglc2
2 siblings, 1 reply; 9+ messages in thread
From: myglc2 @ 2017-11-16 2:51 UTC (permalink / raw)
To: 23001
[-- Attachment #1: Type: text/plain, Size: 1391 bytes --]
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@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:
[-- Attachment #2: sys.scm --]
[-- Type: application/octet-stream, Size: 2053 bytes --]
;;; GuixSD headless server
(use-modules (gnu))
(use-service-modules networking ssh)
(use-package-modules
admin
base
certs
cups
disk
emacs
freeipmi
linux
virtualization
rsync
screen
ssh
version-control
wget
xorg
)
(operating-system
(host-name "g1")
(timezone "America/New_York")
(locale "en_US.utf8")
(kernel-arguments '("console=ttyS1,115200"))
;; RAID1 root using 1 NVMe SSD + 2 HDs
(bootloader (grub-configuration (target "/dev/nvme0n1")
(terminal-outputs '(console))
(terminal-inputs '(serial console))
(serial-speed 115200)
))
(initrd (lambda (file-systems . rest) (apply base-initrd file-systems
#:extra-modules '("raid1")
rest)))
(mapped-devices (list (mapped-device
(source '("/dev/nvme0n1p1" "/dev/sda1" "/dev/sdb1"))
(target "/dev/md3")
(type raid-device-mapping))))
(file-systems (cons (file-system
(title 'device)
(device "/dev/md3")
(mount-point "/")
(type "ext4")
(dependencies mapped-devices))
%base-file-systems))
(swap-devices '("/dev/nvme0n1p2" ))
(users (cons* (user-account (name "g1")
(group "users")
(supplementary-groups '("wheel" "kvm"))
(home-directory (string-append "/home/" name)))
(user-account (name "admin")
(group "users")
(supplementary-groups '("wheel" "kvm"))
(home-directory (string-append "/home/" name)))
%base-user-accounts))
(packages (cons*
cups
emacs-no-x-toolkit
emacs-guix
emacs-zenburn-theme
freeipmi
git
glibc-utf8-locales
gnu-make
mdadm
magit
nss-certs
openssh
parted
qemu
rsync
screen
smartmontools
tree
wget
xauth
%base-packages))
(services (cons* (dhcp-client-service)
(ntp-service)
(service openssh-service-type (openssh-configuration
(x11-forwarding? #t)))
(agetty-service (agetty-configuration (tty "ttyS1")
(baud-rate "115200")))
%base-services)))
[-- Attachment #3: g1-emacs-dbus.scm --]
[-- Type: application/octet-stream, Size: 769 bytes --]
;; Guix user config
(use-modules (gnu packages))
(specifications->manifest
'("aspell"
"aspell-dict-en"
"borg"
"emacs-ag"
"emacs-bui" ;; to build emacs-guix from git checkout
"emacs"
"dbus"
"emacs-debbugs"
"emacs-paredit" ;; AKA paredit
"emacs-pdf-tools"
"emacs-simple-httpd"
"emacs-web-mode"
"emacs-with-editor"
"emacs-zenburn-theme"
"emacs-flycheck"
"font-dejavu"
"font-gnu-freefont-ttf"
"geiser"
"ghostscript"
"git"
"git-modes"
"guile@2.2"
"make" ;; AKA gnu-make
"graphviz"
"gs-fonts"
"guile-charting"
"gv"
"icecat"
"isync"
"magit"
"mosh"
"mu"
"mupdf"
"notmuch"
"screen"
"sicp"
"the-silver-searcher"
"time"
"tree"
;; R related
"r" "emacs-ess"
;; git info related
"asciidoc"
)
)
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#23001: emacs in X has icons missing and throws warnings in tty
2017-11-16 2:51 ` myglc2
@ 2018-04-05 23:24 ` myglc2
2018-04-06 0:03 ` myglc2
2018-04-06 7:37 ` Ludovic Courtès
0 siblings, 2 replies; 9+ messages in thread
From: myglc2 @ 2018-04-05 23:24 UTC (permalink / raw)
To: 23001
[-- Attachment #1: Type: text/plain, Size: 140 bytes --]
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
[-- Attachment #2: eserv --]
[-- Type: application/octet-stream, Size: 1191 bytes --]
;; -*-Scheme-*-
;;; server v1 config
(use-modules (gnu))
(use-modules (gnu system nss))
(use-service-modules
avahi
networking ; dhcp-client-service
ssh ; openssh-service-type
)
(use-modules (gnu packages))
(operating-system
(host-name "v1")
(timezone "America/New_York")
(locale "en_US.utf8")
(bootloader (grub-configuration (target "/dev/sda")))
(file-systems (cons (file-system
(device "g1sd")
(title 'label)
(mount-point "/")
(type "ext4"))
%base-file-systems))
(users (cons*
(user-account
(name "g1")
(group "users")
(supplementary-groups '("wheel"))
(home-directory "/home/g1"))
%base-user-accounts))
(packages (append (map specification->package
'(
"dbus"
"emacs"
"font-dejavu"
)) %base-packages))
(services (cons*
(dhcp-client-service)
(service openssh-service-type
(openssh-configuration
(x11-forwarding? #t)
(permit-root-login #t)
(authorized-keys
`(
("g1" ,(local-file "glc.pub"))
("root" ,(local-file "glc.pub"))))))
(avahi-service)
(ntp-service)
%base-services))
(name-service-switch %mdns-host-lookup-nss))
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#23001: emacs in X has icons missing and throws warnings in tty
2018-04-05 23:24 ` myglc2
@ 2018-04-06 0:03 ` myglc2
2018-04-06 7:37 ` Ludovic Courtès
1 sibling, 0 replies; 9+ messages in thread
From: myglc2 @ 2018-04-06 0:03 UTC (permalink / raw)
To: 23001
[-- Attachment #1: Type: text/plain, Size: 267 bytes --]
On 04/05/2018 at 19:24 myglc2@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 ...
[-- Attachment #2: eservx --]
[-- Type: application/octet-stream, Size: 1178 bytes --]
;; -*-Scheme-*-
;;; server v1 config
(use-modules (gnu))
(use-modules (gnu system nss))
(use-service-modules
avahi
networking ; dhcp-client-service
ssh ; openssh-service-type
)
(use-modules (gnu packages))
(operating-system
(host-name "v1")
(timezone "America/New_York")
(locale "en_US.utf8")
(bootloader (grub-configuration (target "/dev/sda")))
(file-systems (cons (file-system
(device "g1sd")
(title 'label)
(mount-point "/")
(type "ext4"))
%base-file-systems))
(users (cons*
(user-account
(name "g1")
(group "users")
(supplementary-groups '("wheel"))
(home-directory "/home/g1"))
%base-user-accounts))
(packages (append (map specification->package
'(
"emacs"
"font-dejavu"
)) %base-packages))
(services (cons*
(dhcp-client-service)
(service openssh-service-type
(openssh-configuration
(x11-forwarding? #t)
(permit-root-login #t)
(authorized-keys
`(
("g1" ,(local-file "glc.pub"))
("root" ,(local-file "glc.pub"))))))
(avahi-service)
(ntp-service)
%base-services))
(name-service-switch %mdns-host-lookup-nss))
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#23001: emacs in X has icons missing and throws warnings in tty
2018-04-05 23:24 ` myglc2
2018-04-06 0:03 ` myglc2
@ 2018-04-06 7:37 ` Ludovic Courtès
1 sibling, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2018-04-06 7:37 UTC (permalink / raw)
To: myglc2; +Cc: 23001-done
Hi George,
myglc2@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’.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2018-04-06 7:38 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-13 0:43 bug#23001: emacs in X has icons missing and throws warnings in tty myglc2
2016-04-02 19:01 ` Chris Marusich
2016-04-04 16:12 ` myglc2
2016-04-05 4:14 ` Chris Marusich
2016-05-28 12:18 ` 宋文武
2017-11-16 2:51 ` myglc2
2018-04-05 23:24 ` myglc2
2018-04-06 0:03 ` myglc2
2018-04-06 7:37 ` Ludovic Courtès
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.