GNU bug report logs - #28692
Emacs fails to display images

Previous Next

Package: guix;

Reported by: Diego Nicola Barbato <dnbarbato <at> posteo.de>

Date: Tue, 3 Oct 2017 19:51:01 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 28692 in the body.
You can then email your comments to 28692 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#28692; Package guix. (Tue, 03 Oct 2017 19:51:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Diego Nicola Barbato <dnbarbato <at> posteo.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 03 Oct 2017 19:51:01 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: bug-guix <at> gnu.org
Subject: Emacs fails to display images
Date: Tue, 03 Oct 2017 21:44:10 +0200
Hello!

Several of emacs image related features have stopped working properly:
* Eww does not render images showing empty squares instead.
* When visiting an image in a buffer and pressing n to visit the next
  image the next image is either not displayed at all (showing an empty
  square instead) or a thumbnail sized version is displayed.
* Transformations such as "Fit to Window Width" or "Rotate Image" do not
  work at all. The following error message is displayed instead:
  ImageMagick error: no decode delegate for this image format `PBM' @
  error/constitute.c/ReadImage/504
  (This happens with all image formats not just .pbm)

This is independent of any init file as it still happens if emacs is run
with the -Q flag.
Everything works as it should if I roll back to the version from
2017-09-22.

I am running GuixSD on an x86-64 machine with the following config:

;; This is an operating system configuration file
;; for a "desktop" setup with StumpWM and EXWM where
;; the root partition is encrypted with LUKS.

(use-modules (gnu) (gnu packages) (gnu system nss))
(use-service-modules avahi dbus desktop networking xorg)
(use-package-modules certs emacs gnome lisp xdisorg)

(operating-system
  (host-name <>)
  (timezone <>)
  (locale <>)

  ;; Assuming /dev/sda is the target hard disk, and "osiris"
  ;; is the label of the target root file system.
  (bootloader (grub-configuration (target "/dev/sda")
                                  (timeout 1)))

  ;; Specify a mapped device for the encrypted root partition.
  ;; The UUID is that returned by 'cryptsetup luksUUID'.
  (mapped-devices
   (list (mapped-device
          (source (uuid <>))
          (target <>)
          (type luks-device-mapping))))

  (file-systems (cons* (file-system
                        (device <>)
                        (title 'label)
                        (mount-point "/")
                        (type "ext4"))
                      (file-system
                        (device <>)
                        (title 'label)
                        (mount-point "/home")
                        (type "ext4")
                        (dependencies mapped-devices))
                      %base-file-systems))

  (swap-devices '("/dev/sda2"))

  (users (cons (user-account
                (name <>)
                (comment <>)
                (group "users")
                (supplementary-groups '("lp"
                                        "wheel" "netdev"
                                        "audio" "video"))
                (home-directory <>))
               %base-user-accounts))

  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs         ;for HTTPS access
                   ;; gvfs              ;for user mounts
                   sbcl-stumpwm      ;StumpWM window manager
                   emacs emacs-exwm  ;emacs window manager
                   %base-packages))

  ;; Add desktop services to %base-services. This is a modified
  ;; version of %desktop-services with fewer services and wicd
  ;; instead of network-manager. Also adding tor, xscreensaver,
  ;; bluetooth and a <> console keymap.
  (services (cons* (tor-service)

                   ;; Login service
                   (slim-service)

                   ;; Screen lockers are a pretty useful thing
		   ;; and these are small.
                   (screen-locker-service xlockmore "xlock")
                   (screen-locker-service xscreensaver "xscreensaver")

                   ;; The D-Bus clique.
                   (bluetooth-service)
                   (avahi-service)
                   (wicd-service)
                   (udisks-service)
                   (upower-service)
                   (colord-service)
                   (geoclue-service)
                   (polkit-service)
                   (elogind-service)
                   (dbus-service)

                   (ntp-service)
                   
                   ;; Add swiss german keymap
                   (console-keymap-service <>)

                   %base-services))

  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))




Information forwarded to bug-guix <at> gnu.org:
bug#28692; Package guix. (Thu, 05 Oct 2017 15:14:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Cc: 28692 <at> debbugs.gnu.org
Subject: Re: bug#28692: Emacs fails to display images
Date: Thu, 05 Oct 2017 17:13:41 +0200
Hello Diego,

Diego Nicola Barbato <dnbarbato <at> posteo.de> skribis:

> Several of emacs image related features have stopped working properly:
> * Eww does not render images showing empty squares instead.
> * When visiting an image in a buffer and pressing n to visit the next
>   image the next image is either not displayed at all (showing an empty
>   square instead) or a thumbnail sized version is displayed.
> * Transformations such as "Fit to Window Width" or "Rotate Image" do not
>   work at all. The following error message is displayed instead:
>   ImageMagick error: no decode delegate for this image format `PBM' @
>   error/constitute.c/ReadImage/504
>   (This happens with all image formats not just .pbm)

Indeed, I experience this with DocView as well (when resizing), which
leads to:

  ImageMagick error: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/504

Could it be a CLI change in ImageMagick?  The package was upgraded in
87a9c53b7ca08bd490c94fe5579c3f26c19be78c.

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#28692; Package guix. (Thu, 05 Oct 2017 15:46:01 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: 28692 <at> debbugs.gnu.org
Subject: bug#28692: Emacs fails to display images
Date: Thu, 05 Oct 2017 17:45:12 +0200
Apparently this was a known bug in ImageMagick 6.9.9-15 (and 6.9.9-17)
(https://github.com/ImageMagick/ImageMagick/issues/825). It has been
fixed in version 6.9.9-18.




Information forwarded to bug-guix <at> gnu.org:
bug#28692; Package guix. (Thu, 05 Oct 2017 16:12:03 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 28692 <at> debbugs.gnu.org
Subject: Re: bug#28692: Emacs fails to display images
Date: Thu, 05 Oct 2017 18:11:39 +0200
Hello Ludo,

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

> Hello Diego,
>
> Diego Nicola Barbato <dnbarbato <at> posteo.de> skribis:
>
>> Several of emacs image related features have stopped working properly:
>> * Eww does not render images showing empty squares instead.
>> * When visiting an image in a buffer and pressing n to visit the next
>>   image the next image is either not displayed at all (showing an empty
>>   square instead) or a thumbnail sized version is displayed.
>> * Transformations such as "Fit to Window Width" or "Rotate Image" do not
>>   work at all. The following error message is displayed instead:
>>   ImageMagick error: no decode delegate for this image format `PBM' @
>>   error/constitute.c/ReadImage/504
>>   (This happens with all image formats not just .pbm)
>
> Indeed, I experience this with DocView as well (when resizing), which
> leads to:
>
>   ImageMagick error: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/504
>
> Could it be a CLI change in ImageMagick?  The package was upgraded in
> 87a9c53b7ca08bd490c94fe5579c3f26c19be78c.
>
> Ludo’.

I believe the bug was introduced in
030030f4416b54285dcdd58bddb863c0e6bda4c4. It appears to be a known bug
in ImageMagick (https://github.com/ImageMagick/ImageMagick/issues/825),
which was already present in version 6.9.9-15.
It has been fixed in version 6.9.9-18
(https://github.com/ImageMagick/ImageMagick/blob/ImageMagick-6/ChangeLog).

Diego





Information forwarded to bug-guix <at> gnu.org:
bug#28692; Package guix. (Thu, 05 Oct 2017 18:39:01 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: Diego Nicola Barbato <dnbarbato <at> posteo.de>, 28692 <at> debbugs.gnu.org
Subject: Re: bug#28692: Emacs fails to display images
Date: Thu, 05 Oct 2017 20:38:24 +0200
[Message part 1 (text/plain, inline)]
Diego Nicola Barbato <dnbarbato <at> posteo.de> writes:

> Apparently this was a known bug in ImageMagick 6.9.9-15 (and 6.9.9-17)
> (https://github.com/ImageMagick/ImageMagick/issues/825). It has been
> fixed in version 6.9.9-18.

Hello!  I just pushed an update to 6.9.9-18, can you verify that it
works?

Thanks for the report!
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#28692; Package guix. (Fri, 06 Oct 2017 09:57:01 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 28692 <at> debbugs.gnu.org
Subject: Re: bug#28692: Emacs fails to display images
Date: Fri, 06 Oct 2017 11:55:48 +0200
Marius Bakke <mbakke <at> fastmail.com> writes:

> Diego Nicola Barbato <dnbarbato <at> posteo.de> writes:
>
>> Apparently this was a known bug in ImageMagick 6.9.9-15 (and 6.9.9-17)
>> (https://github.com/ImageMagick/ImageMagick/issues/825). It has been
>> fixed in version 6.9.9-18.
>
> Hello!  I just pushed an update to 6.9.9-18, can you verify that it
> works?
>
> Thanks for the report!

Hello!

I upgraded Emacs and everything works as expected.

Thanks for fixing it!




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

Notification sent to Diego Nicola Barbato <dnbarbato <at> posteo.de>:
bug acknowledged by developer. (Fri, 06 Oct 2017 12:59:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Cc: Marius Bakke <mbakke <at> fastmail.com>, 28692-done <at> debbugs.gnu.org
Subject: Re: bug#28692: Emacs fails to display images
Date: Fri, 06 Oct 2017 14:58:14 +0200
Diego Nicola Barbato <dnbarbato <at> posteo.de> skribis:

> Marius Bakke <mbakke <at> fastmail.com> writes:
>
>> Diego Nicola Barbato <dnbarbato <at> posteo.de> writes:
>>
>>> Apparently this was a known bug in ImageMagick 6.9.9-15 (and 6.9.9-17)
>>> (https://github.com/ImageMagick/ImageMagick/issues/825). It has been
>>> fixed in version 6.9.9-18.
>>
>> Hello!  I just pushed an update to 6.9.9-18, can you verify that it
>> works?
>>
>> Thanks for the report!
>
> Hello!
>
> I upgraded Emacs and everything works as expected.
>
> Thanks for fixing it!

Awesome, thank you gentlefolks!

Ludo’.




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

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

Previous Next


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