all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
@ 2017-07-23 11:38 Jean Louis
  2017-07-23 12:24 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 16+ messages in thread
From: Jean Louis @ 2017-07-23 11:38 UTC (permalink / raw)
  To: 27799


I am using Emacs from GIT. When I use eww and wish to load SVG picture
or SVG is within HTML, I get the error:

error in process filter, invalid image type 'imagemagick'

Sample picture is
https://practicaldev-herokuapp-com.global.ssl.fastly.net/assets/favorite-heart-outline-button-2dcee70f90c0bc12bee8cbc5a8a409ba181e88912814fb0515214204bdc92c71.svg


In GNU Emacs 26.0.50 (build 3, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2017-07-12 built on protected.rcdrun.com
Repository revision: 7dd72d76effad5198c0d43a2b68aafbfe34b5ee7
Windowing system distributor 'The X.Org Foundation', version 11.0.11801000
System Description:	GNU/Linux OS (GNU.Support) 0.1

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Contacting host: practicaldev-herokuapp-com.global.ssl.fastly.net:443
error in process filter: image-type: Invalid image type ‘imagemagick’
error in process filter: Invalid image type ‘imagemagick’

Configured using:
 'configure --prefix=/package/text/emacs-26.0.50 --with-sound=alsa
 --with-modules --with-x --with-x-toolkit=lucid --without-gconf
 --without-gsettings --without-libsystemd --without-dbus --without-pop
 --with-mailutils
 PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/qt4/lib/pkgconfig:/opt/qt5/lib/pkgconfig'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND GPM NOTIFY ACL LIBSELINUX GNUTLS
LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 MODULES

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: eww

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired dired-loaddefs rfc822 mml
mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode
mailabbrev gmm-utils mailheader sendmail network-stream starttls
url-http tls gnutls mail-parse rfc2231 url-gw nsm subr-x url-cache
url-auth eww easymenu puny mm-url gnus nnheader gnus-util rmail
rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils wid-edit mm-util
mail-prsvr url-queue url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars mailcap
shr svg xml seq byte-opt gv bytecomp byte-compile cconv dom browse-url
format-spec cl-loaddefs cl-lib time-date mule-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win
x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote inotify dynamic-setting font-render-setting x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 127840 9711)
 (symbols 48 23603 1)
 (miscs 40 47 163)
 (strings 32 39826 1032)
 (string-bytes 1 1067964)
 (vectors 16 17773)
 (vector-slots 8 542030 6667)
 (floats 8 74 42)
 (intervals 56 263 0)
 (buffers 976 13)
 (heap 1024 53092 1281))






^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-23 11:38 bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick' Jean Louis
@ 2017-07-23 12:24 ` Lars Ingebrigtsen
  2017-07-23 13:03   ` Jean Louis
  0 siblings, 1 reply; 16+ messages in thread
From: Lars Ingebrigtsen @ 2017-07-23 12:24 UTC (permalink / raw)
  To: Jean Louis; +Cc: 27799

bugs@gnu.support (Jean Louis) writes:

> Recent messages:
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Contacting host: practicaldev-herokuapp-com.global.ssl.fastly.net:443
> error in process filter: image-type: Invalid image type ‘imagemagick’
> error in process filter: Invalid image type ‘imagemagick’

Sounds like shr is trying to display an image with imagemagick, and your
Emacs doesn't have imagemagick support?  Must be a missing test for
imagemagick availability somewhere, I think.

Can you get a backtrace by setting debug-on-error to t and post the
resulting backtrace when this error occurs?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-23 12:24 ` Lars Ingebrigtsen
@ 2017-07-23 13:03   ` Jean Louis
  2017-07-23 13:25     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 16+ messages in thread
From: Jean Louis @ 2017-07-23 13:03 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 27799, Jean Louis

Hello,

I have compiled emacs with Imagemagick exclusively
this time.

Here is how I did it:

$ ./configure --prefix=/package/text/emacs-26.0.50 --with-sound=alsa --with-modules --with-x --with-x-toolkit=lucid --without-gconf --without-gsettings --without-libsystemd --without-dbus --without-pop --with-mailutils


Here is the debug:

Debugger entered--Lisp error: (error "Invalid image type ‘imagemagick’")
  signal(error ("Invalid image type ‘imagemagick’"))
  error("Invalid image type `%s'" imagemagick)
  image-type("<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\015\n<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->\015\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\015\n<svg version=\"1.1\" id=\"Capa_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\015\n\011 width=\"510px\" height=\"510px\" viewBox=\"0 0 510 510\" style=\"enable-background:new 0 0 510 510;\" xml:space=\"preserve\">\015\n<g>\015\n\011<g id=\"favorite-outline\">\015\n\011\011<path d=\"M369.75,21.675c-43.35,0-86.7,20.4-114.75,53.55c-28.05-33.15-71.4-53.55-114.75-53.55C61.2,21.675,0,82.875,0,161.925\015\n\011\011\011c0,96.9,86.7,175.95,219.3,293.25l35.7,33.15l35.7-33.15c130.05-119.85,219.3-198.9,219.3-293.25\015\n\011\011\011C510,82.875,448.8,21.675,369.75,21.675z M257.55,419.475H255l-2.55-2.55C130.05,307.274,51,235.875,51,161.925\015\n\011\011\011c0-51,38.25-89.25,89.25-89.25c38.25,0,76.5,25.5,91.8,61.2h48.45c12.75-35.7,51-61.2,89.25-61.2c51,0,89.25,38.25,89.25,89.25\015\n\011\011\011C459,235.875,379.95,307.274,257.55,419.475z\"/>\015\n\011</g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n</svg>\015\n" imagemagick t)
  create-image("<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\015\n<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->\015\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\015\n<svg version=\"1.1\" id=\"Capa_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\015\n\011 width=\"510px\" height=\"510px\" viewBox=\"0 0 510 510\" style=\"enable-background:new 0 0 510 510;\" xml:space=\"preserve\">\015\n<g>\015\n\011<g id=\"favorite-outline\">\015\n\011\011<path d=\"M369.75,21.675c-43.35,0-86.7,20.4-114.75,53.55c-28.05-33.15-71.4-53.55-114.75-53.55C61.2,21.675,0,82.875,0,161.925\015\n\011\011\011c0,96.9,86.7,175.95,219.3,293.25l35.7,33.15l35.7-33.15c130.05-119.85,219.3-198.9,219.3-293.25\015\n\011\011\011C510,82.875,448.8,21.675,369.75,21.675z M257.55,419.475H255l-2.55-2.55C130.05,307.274,51,235.875,51,161.925\015\n\011\011\011c0-51,38.25-89.25,89.25-89.25c38.25,0,76.5,25.5,91.8,61.2h48.45c12.75-35.7,51-61.2,89.25-61.2c51,0,89.25,38.25,89.25,89.25\015\n\011\011\011C459,235.875,379.95,307.274,257.55,419.475z\"/>\015\n\011</g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n</svg>\015\n" imagemagick t :ascent 100)
  shr-put-image(("<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\015\n<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->\015\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\015\n<svg version=\"1.1\" id=\"Capa_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\015\n\011 width=\"510px\" height=\"510px\" viewBox=\"0 0 510 510\" style=\"enable-background:new 0 0 510 510;\" xml:space=\"preserve\">\015\n<g>\015\n\011<g id=\"favorite-outline\">\015\n\011\011<path d=\"M369.75,21.675c-43.35,0-86.7,20.4-114.75,53.55c-28.05-33.15-71.4-53.55-114.75-53.55C61.2,21.675,0,82.875,0,161.925\015\n\011\011\011c0,96.9,86.7,175.95,219.3,293.25l35.7,33.15l35.7-33.15c130.05-119.85,219.3-198.9,219.3-293.25\015\n\011\011\011C510,82.875,448.8,21.675,369.75,21.675z M257.55,419.475H255l-2.55-2.55C130.05,307.274,51,235.875,51,161.925\015\n\011\011\011c0-51,38.25-89.25,89.25-89.25c38.25,0,76.5,25.5,91.8,61.2h48.45c12.75-35.7,51-61.2,89.25-61.2c51,0,89.25,38.25,89.25,89.25\015\n\011\011\011C459,235.875,379.95,307.274,257.55,419.475z\"/>\015\n\011</g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n<g>\015\n</g>\015\n</svg>\015\n" image/svg+xml) nil)
  eww-display-image(#<buffer *eww*>)
  eww-render((:peer (:certificate (:version 3 :serial-number "06:28:1d:36:75:b4:1f:cc:b3:ff:18:fa:ec:f8:fd:df" :issuer "C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert SHA2 High Assurance Server CA" :valid-from "2014-12-08" :valid-to "2018-02-06" :subject "C=US,ST=California,L=San Francisco,O=Fastly\\, Inc.,CN=a.ssl.fastly.net" :public-key-algorithm "RSA" :certificate-security-level "Medium" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:27:49:80:96:9e:0b:f8:d7:81:6f:6b:e2:75:b9:88:e2:1b:87:31:8d" :certificate-id "sha1:98:97:03:4d:ad:78:62:48:5a:8e:24:67:ed:e8:38:21:3e:e2:4f:47") :key-exchange "ECDHE-RSA" :protocol "TLS1.2" :cipher "AES-128-GCM" :mac "AEAD")) "https://practicaldev-herokuapp-com.global.ssl.fastly.net/assets/favorite-heart-outline-button-2dcee70f90c0bc12bee8cbc5a8a409ba181e88912814fb0515214204bdc92c71.svg" nil #<buffer *eww*>)
  apply(eww-render ((:peer (:certificate (:version 3 :serial-number "06:28:1d:36:75:b4:1f:cc:b3:ff:18:fa:ec:f8:fd:df" :issuer "C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert SHA2 High Assurance Server CA" :valid-from "2014-12-08" :valid-to "2018-02-06" :subject "C=US,ST=California,L=San Francisco,O=Fastly\\, Inc.,CN=a.ssl.fastly.net" :public-key-algorithm "RSA" :certificate-security-level "Medium" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:27:49:80:96:9e:0b:f8:d7:81:6f:6b:e2:75:b9:88:e2:1b:87:31:8d" :certificate-id "sha1:98:97:03:4d:ad:78:62:48:5a:8e:24:67:ed:e8:38:21:3e:e2:4f:47") :key-exchange "ECDHE-RSA" :protocol "TLS1.2" :cipher "AES-128-GCM" :mac "AEAD")) "https://practicaldev-herokuapp-com.global.ssl.fastly.net/assets/favorite-heart-outline-button-2dcee70f90c0bc12bee8cbc5a8a409ba181e88912814fb0515214204bdc92c71.svg" nil #<buffer *eww*>))
  url-http-activate-callback()
  url-http-content-length-after-change-function(458 1088 630)
  url-http-generic-filter(#<process practicaldev-herokuapp-com.global.ssl.fastly.net> "\037\213\010\0\0\0\0\0\0\003\325S\333n\2340\020}\336H\371\007\327o\225|7\006\274\335m\324l\2424R\323Fj\232\252O\025\001\227E\241\200\200\275$_\337\261\331D\211\224\037\350\003\303x\346\370\2343#X\234\354\377\326h\353\372\241j\233%\226L`\344\232\274-\252\246\\\342jhi\232\032K%>\371x|\264xG)\272p\215\353\263\261\355\347\350S\321\3369tY\327\233a\f%$c&\230 \350\373\355\005:\337wm?\242\353zS\322\313\006\261P\274\235\224\346\010\200\002\235n\252\272@\342=B\224\006\376\263o\253\233_\327\347h\330\226\350\372\307\351\227\313\025\302\224\363\237z\305\371\331\315Y\240\220Lr~\376\025#\274\036\307n\316\371n\267c;\315\332\276\344\027}\326\255\253|\340\0\344\036\010\2278\220I\311\212\261\300^\303S\277\230WbT\025K\274\312\272\3547\344\260\215fX\276\301\254\204\020\236\351\0\231\357\353\252\271\177\013(\255\265<t\001\272\304\242\333c\3640\275\217\217fhW\025\343z\211\215\f\215\265\253\312\365\370|\334Vnw\332\372[H \250\371\007\243a|\250\335\022\273&\273\253\035\275\313\362\373\262o7M1o\334\016\275@~\010\336\346C\227\345\0\357z7\270~\353\302\320%\204\331\242\f\243\376\311\266m_\215\216\266\233\021l\006\300l\266\350\262q\215\240}\245c\313\022C\224dqbr\032i\246\015\0214\215YB\224`\021\2252\362\0\243\231\201\276J\2310Tk&\015M$\264C\375\0\232\016\253X2u $\202\244\212\245!\221P\267\312x\371Y.\210\215\231%AF&\206Yo\3012M\224\325L\231Z\033h\004\231\220N\212\271\324\302\313K@\246\207\013T\332\024\210\246|\272\034\024V\260\242'\355(JY\372\344\350\325\300\217\350J\231\004L\223\010\010\242\304|V\306\324T\371\231|XM\212D\213\204\251$\"F\022\005~<)\244\257'\242P\321)\350\323\324B$!Ny\036\352\260\203$f m X\011\226\374\246\326`.\202\321\224_`\030\333H\032V8\021\3704\007j1\235'\011\362Bb\03272\366\331\232N\254_\350\223\351\327\023>b\036>\017\356\277\222C\374/R\377?\302\373\037\202\007\316H\304\004\0\0")
  read-event(nil t 2)
  sit-for(2)
  execute-extended-command(nil "eww" nil)
  funcall-interactively(execute-extended-command nil "eww" nil)
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

On Sun, Jul 23, 2017 at 02:24:27PM +0200, Lars Ingebrigtsen wrote:
> bugs@gnu.support (Jean Louis) writes:
> 
> > Recent messages:
> > For information about GNU Emacs and the GNU system, type C-h C-a.
> > Contacting host: practicaldev-herokuapp-com.global.ssl.fastly.net:443
> > error in process filter: image-type: Invalid image type ‘imagemagick’
> > error in process filter: Invalid image type ‘imagemagick’
> 
> Sounds like shr is trying to display an image with imagemagick, and your
> Emacs doesn't have imagemagick support?  Must be a missing test for
> imagemagick availability somewhere, I think.
> 
> Can you get a backtrace by setting debug-on-error to t and post the
> resulting backtrace when this error occurs?
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-23 13:03   ` Jean Louis
@ 2017-07-23 13:25     ` Lars Ingebrigtsen
  2017-07-23 13:29       ` Lars Ingebrigtsen
  2017-07-24  6:09       ` Jean Louis
  0 siblings, 2 replies; 16+ messages in thread
From: Lars Ingebrigtsen @ 2017-07-23 13:25 UTC (permalink / raw)
  To: Jean Louis; +Cc: 27799

Jean Louis <bugs@gnu.support> writes:

> Hello,
>
> I have compiled emacs with Imagemagick exclusively
> this time.
>
> Here is how I did it:
>
> $ ./configure --prefix=/package/text/emacs-26.0.50 --with-sound=alsa
> --with-modules --with-x --with-x-toolkit=lucid --without-gconf
> --without-gsettings --without-libsystemd --without-dbus --without-pop
> --with-mailutils

[...]

> Debugger entered--Lisp error: (error "Invalid image type ‘imagemagick’")
>   signal(error ("Invalid image type ‘imagemagick’"))
>   error("Invalid image type `%s'" imagemagick)

Well, you still don't have imagemagick support in your Emacs, so I don't
think you got all the libraries needed.  The easiest way to pull in the
dependencies in Ubuntu/Debian is "sudo apt-get build-dep emacs25".

>   image-type("<?xml version=\"1.0\"

Anyway, I think it's a mistake to try to use imagemagick for svg images
here -- I think it's something I checked in inadvertently in January.
I've now reverted that bit, so that svg images should be displayed
properly now on the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-23 13:25     ` Lars Ingebrigtsen
@ 2017-07-23 13:29       ` Lars Ingebrigtsen
  2017-07-24  6:09       ` Jean Louis
  1 sibling, 0 replies; 16+ messages in thread
From: Lars Ingebrigtsen @ 2017-07-23 13:29 UTC (permalink / raw)
  To: Jean Louis; +Cc: 27799

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Anyway, I think it's a mistake to try to use imagemagick for svg images
> here -- I think it's something I checked in inadvertently in January.
> I've now reverted that bit, so that svg images should be displayed
> properly now on the Emacs trunk.

Can you update and see whether this works for you now?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-23 13:25     ` Lars Ingebrigtsen
  2017-07-23 13:29       ` Lars Ingebrigtsen
@ 2017-07-24  6:09       ` Jean Louis
  2017-07-24  7:53         ` Lars Ingebrigtsen
  1 sibling, 1 reply; 16+ messages in thread
From: Jean Louis @ 2017-07-24  6:09 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 27799, Jean Louis

Hello Lars,

I am doing following configure:

config.status: executing src/epaths.h commands
config.status: executing src/.gdbinit commands
config.status: executing doc/emacs/emacsver.texi commands
config.status: executing etc-refcards-emacsver.tex commands
<DEV> root [ /sources/emacs ]# grep imagemagick configure
with_imagemagick
  --without-imagemagick   don't compile with ImageMagick image support
# Check whether --with-imagemagick was given.
if test "${with_imagemagick+set}" = set; then :
  withval=$with_imagemagick;
     with_imagemagick=$with_features
  if test "${with_imagemagick}" != "no"; then
  Does Emacs use imagemagick?                             ${HAVE_IMAGEMAGICK}
<DEV> root [ /sources/emacs ]# ./configure --prefix=/package/text/emacs-26.0.50 --with-sound=alsa --with-modules --with-x --with-x-toolkit=lucid --without-gconf --without-gsettings --without-libsystemd --without-dbus --without-pop --with-mailutils --with-imagemagick

And I still do not get imagemagick, it says "Does
Emacs use imagemagick = no", even if I do have
imagemagick here.

Before it was just compiling fine. Then I chose
not to compile it, due to some crashes, but
recently, I do not use --without-imagemagick and
it is not compiling for some reason, I do not know
why.

Anyway I will try the version from Git today, to
see how SVG works.
On Sun, Jul 23, 2017 at 03:25:39PM +0200, Lars Ingebrigtsen wrote:
> Jean Louis <bugs@gnu.support> writes:
> 
> > Hello,
> >
> > I have compiled emacs with Imagemagick exclusively
> > this time.
> >
> > Here is how I did it:
> >
> > $ ./configure --prefix=/package/text/emacs-26.0.50 --with-sound=alsa
> > --with-modules --with-x --with-x-toolkit=lucid --without-gconf
> > --without-gsettings --without-libsystemd --without-dbus --without-pop
> > --with-mailutils
> 
> [...]
> 
> > Debugger entered--Lisp error: (error "Invalid image type ‘imagemagick’")
> >   signal(error ("Invalid image type ‘imagemagick’"))
> >   error("Invalid image type `%s'" imagemagick)
> 
> Well, you still don't have imagemagick support in your Emacs, so I don't
> think you got all the libraries needed.  The easiest way to pull in the
> dependencies in Ubuntu/Debian is "sudo apt-get build-dep emacs25".
> 
> >   image-type("<?xml version="1.0"
> 
> Anyway, I think it's a mistake to try to use imagemagick for svg images
> here -- I think it's something I checked in inadvertently in January.
> I've now reverted that bit, so that svg images should be displayed
> properly now on the Emacs trunk.
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-24  6:09       ` Jean Louis
@ 2017-07-24  7:53         ` Lars Ingebrigtsen
  2017-07-24  8:10           ` Jean Louis
  0 siblings, 1 reply; 16+ messages in thread
From: Lars Ingebrigtsen @ 2017-07-24  7:53 UTC (permalink / raw)
  To: Jean Louis; +Cc: 27799

Jean Louis <bugs@gnu.support> writes:

> And I still do not get imagemagick, it says "Does
> Emacs use imagemagick = no", even if I do have
> imagemagick here.

Did you say "sudo apt-get build-dep emacs25"?  What ./configure options
you give doesn't matter unless you have the required libraries installed
on your machine.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-24  7:53         ` Lars Ingebrigtsen
@ 2017-07-24  8:10           ` Jean Louis
  2017-07-24 14:25             ` Eli Zaretskii
  0 siblings, 1 reply; 16+ messages in thread
From: Jean Louis @ 2017-07-24  8:10 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 27799, Jean Louis

Dear Lars,

Thank you, I do not use distributions, thus also
no package manager.

Latest Imagemagick is installed and with all
development files there as well.

I guess Emacs did not recognize it.

Today with latest Emacs from git, I can nicely see
some example SVG images, which makes browsing with
EWW so much nicer, and without interruption.

I am still testing it, at least there are no
complaints.

In regards to imagemagick, I do not know why it is
not recognized. I do have all required libraries,
and it was being recognized before months without
problems. 

Jean

On Mon, Jul 24, 2017 at 09:53:32AM +0200, Lars Ingebrigtsen wrote:
> Jean Louis <bugs@gnu.support> writes:
> 
> > And I still do not get imagemagick, it says "Does
> > Emacs use imagemagick = no", even if I do have
> > imagemagick here.
> 
> Did you say "sudo apt-get build-dep emacs25"?  What ./configure options
> you give doesn't matter unless you have the required libraries installed
> on your machine.
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-24  8:10           ` Jean Louis
@ 2017-07-24 14:25             ` Eli Zaretskii
  2017-07-24 15:19               ` Jean Louis
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2017-07-24 14:25 UTC (permalink / raw)
  To: Jean Louis; +Cc: 27799, larsi

> Date: Mon, 24 Jul 2017 11:10:07 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: 27799@debbugs.gnu.org, Jean Louis <bugs@gnu.support>
> 
> In regards to imagemagick, I do not know why it is
> not recognized. I do have all required libraries,
> and it was being recognized before months without
> problems. 

You should be able to get at least some hint by looking at config.log,
where it tests for ImageMagick.  You will probably see some failed
test there, and the error message(s) might provide a clue about what's
wrong.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-24 14:25             ` Eli Zaretskii
@ 2017-07-24 15:19               ` Jean Louis
  2017-07-24 15:42                 ` Eli Zaretskii
  2017-07-24 15:47                 ` Glenn Morris
  0 siblings, 2 replies; 16+ messages in thread
From: Jean Louis @ 2017-07-24 15:19 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 27799, larsi, Jean Louis

Hello,

Thank you. There are many strings with magick
inside. Please let me know could it be this
undefined reference and ld returned 1 exit status
below?

Jean Louis

*configure:12013: checking for IMAGEMAGICK
*configure:12020: $PKG_CONFIG --exists --print-errors "$IMAGEMAGICK_MODULE"
 configure:12023: $? = 0
*configure:12037: $PKG_CONFIG --exists --print-errors "$IMAGEMAGICK_MODULE"
 configure:12040: $? = 0
 configure:12078: result: yes
*configure:12093: checking for MagickRelinquishMemory
 configure:12093: gcc -o conftest  -g3 -O2 -pthread -isystem /usr/include/librsvg-2.0 -isystem /u sr/include/gdk-pixbuf-2.0 -isystem /usr/include/libpng16 -isystem /usr/include/cairo -isystem /u sr/include/pixman-1 -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr /include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/l*ib/glib-2.0/include -isystem /usr/include/libpng16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKC*ORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -isystem */usr/include/ImageMagick-6 -isystem /package/graphics/ImageMagick-7.0.6-0/include/ImageMagick-7 *      conftest.c -L/package/graphics/ImageMagick-7.0.6-0/lib -lMagickWand-6.Q16HDRI -lMagickCore*-7.Q16HDRI -lX11   >&5 
 
*/package/graphics/ImageMagick-7.0.6-0/lib/libMagickCore-7.Q16HDRI.so: undefined reference to `Pi*xelSetPixelColor'
 collect2: error: ld returned 1 exit status
 configure:12093: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "GNU Emacs"


On Mon, Jul 24, 2017 at 05:25:20PM +0300, Eli Zaretskii wrote:
> > Date: Mon, 24 Jul 2017 11:10:07 +0300
> > From: Jean Louis <bugs@gnu.support>
> > Cc: 27799@debbugs.gnu.org, Jean Louis <bugs@gnu.support>
> > 
> > In regards to imagemagick, I do not know why it is
> > not recognized. I do have all required libraries,
> > and it was being recognized before months without
> > problems. 
> 
> You should be able to get at least some hint by looking at config.log,
> where it tests for ImageMagick.  You will probably see some failed
> test there, and the error message(s) might provide a clue about what's
> wrong.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-24 15:19               ` Jean Louis
@ 2017-07-24 15:42                 ` Eli Zaretskii
  2017-07-24 15:47                   ` Jean Louis
  2017-07-24 15:47                 ` Glenn Morris
  1 sibling, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2017-07-24 15:42 UTC (permalink / raw)
  To: Jean Louis; +Cc: 27799, larsi

> Date: Mon, 24 Jul 2017 18:19:26 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: Jean Louis <bugs@gnu.support>, larsi@gnus.org,
>   27799@debbugs.gnu.org
> 
> Thank you. There are many strings with magick
> inside. Please let me know could it be this
> undefined reference and ld returned 1 exit status
> below?
> 
> Jean Louis
> 
> *configure:12013: checking for IMAGEMAGICK
> *configure:12020: $PKG_CONFIG --exists --print-errors "$IMAGEMAGICK_MODULE"
>  configure:12023: $? = 0
> *configure:12037: $PKG_CONFIG --exists --print-errors "$IMAGEMAGICK_MODULE"
>  configure:12040: $? = 0
>  configure:12078: result: yes
> *configure:12093: checking for MagickRelinquishMemory
>  configure:12093: gcc -o conftest  -g3 -O2 -pthread -isystem /usr/include/librsvg-2.0 -isystem /u sr/include/gdk-pixbuf-2.0 -isystem /usr/include/libpng16 -isystem /usr/include/cairo -isystem /u sr/include/pixman-1 -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr /include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/l*ib/glib-2.0/include -isystem /usr/include/libpng16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKC*ORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -isystem */usr/include/ImageMagick-6 -isystem /package/graphics/ImageMagick-7.0.6-0/include/ImageMagick-7 *      conftest.c -L/package/graphics/ImageMagick-7.0.6-0/lib -lMagickWand-6.Q16HDRI -lMagickCore*-7.Q16HDRI -lX11   >&
 5 
> */package/graphics/ImageMagick-7.0.6-0/lib/libMagickCore-7.Q16HDRI.so: undefined reference to `Pi*xelSetPixelColor'
>  collect2: error: ld returned 1 exit status
>  configure:12093: $? = 1
>  configure: failed program was:
>  | /* confdefs.h */
>  | #define PACKAGE_NAME "GNU Emacs"

No, I don't think this is the culprit.  This test just checks whether
MagickRelinquishMemory exists.  Are there any ImageMagick related
failures after this one?  Can you show them?





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-24 15:19               ` Jean Louis
  2017-07-24 15:42                 ` Eli Zaretskii
@ 2017-07-24 15:47                 ` Glenn Morris
  2017-07-24 16:20                   ` Jean Louis
  1 sibling, 1 reply; 16+ messages in thread
From: Glenn Morris @ 2017-07-24 15:47 UTC (permalink / raw)
  To: Jean Louis; +Cc: 27799, larsi

Jean Louis wrote:

> */package/graphics/ImageMagick-7.0.6-0/lib/libMagickCore-7.Q16HDRI.so:

Emacs doesn't support ImageMagick 7.
https://debbugs.gnu.org/25967





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-24 15:42                 ` Eli Zaretskii
@ 2017-07-24 15:47                   ` Jean Louis
  2017-07-24 16:22                     ` Eli Zaretskii
  0 siblings, 1 reply; 16+ messages in thread
From: Jean Louis @ 2017-07-24 15:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 27799, larsi, Jean Louis

Hello Eli,

Here is config.log on this link.

https://rcdrun.com/files/tmp/config.log



Jean





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-24 15:47                 ` Glenn Morris
@ 2017-07-24 16:20                   ` Jean Louis
  0 siblings, 0 replies; 16+ messages in thread
From: Jean Louis @ 2017-07-24 16:20 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 27799, larsi, Jean Louis

Alright, now I get it. Thank you.

Jean Louis

On Mon, Jul 24, 2017 at 11:47:02AM -0400, Glenn Morris wrote:
> Jean Louis wrote:
> 
> > */package/graphics/ImageMagick-7.0.6-0/lib/libMagickCore-7.Q16HDRI.so:
> 
> Emacs doesn't support ImageMagick 7.
> https://debbugs.gnu.org/25967





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-24 15:47                   ` Jean Louis
@ 2017-07-24 16:22                     ` Eli Zaretskii
  2017-07-24 16:55                       ` Jean Louis
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2017-07-24 16:22 UTC (permalink / raw)
  To: Jean Louis; +Cc: 27799, larsi

> Date: Mon, 24 Jul 2017 18:47:20 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: Jean Louis <bugs@gnu.support>, larsi@gnus.org,
>   27799@debbugs.gnu.org
> 
> Here is config.log on this link.
> 
> https://rcdrun.com/files/tmp/config.log

I think Glenn just said it: Emacs doesn't yet support Imagemagick 7.
If you want Imagemagick in Emacs, you will have to downgrade to
Imagemagick 6.

Sorry.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
  2017-07-24 16:22                     ` Eli Zaretskii
@ 2017-07-24 16:55                       ` Jean Louis
  0 siblings, 0 replies; 16+ messages in thread
From: Jean Louis @ 2017-07-24 16:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 27799, larsi, Jean Louis

Alright, I got it, thank you much.

Right now I do not need it with Imagemagick, I
will wait rather on Emacs upgrade.

Jean

On Mon, Jul 24, 2017 at 07:22:24PM +0300, Eli Zaretskii wrote:
> > Date: Mon, 24 Jul 2017 18:47:20 +0300
> > From: Jean Louis <bugs@gnu.support>
> > Cc: Jean Louis <bugs@gnu.support>, larsi@gnus.org,
> >   27799@debbugs.gnu.org
> > 
> > Here is config.log on this link.
> > 
> > https://rcdrun.com/files/tmp/config.log
> 
> I think Glenn just said it: Emacs doesn't yet support Imagemagick 7.
> If you want Imagemagick in Emacs, you will have to downgrade to
> Imagemagick 6.
> 
> Sorry.





^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2017-07-24 16:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-23 11:38 bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick' Jean Louis
2017-07-23 12:24 ` Lars Ingebrigtsen
2017-07-23 13:03   ` Jean Louis
2017-07-23 13:25     ` Lars Ingebrigtsen
2017-07-23 13:29       ` Lars Ingebrigtsen
2017-07-24  6:09       ` Jean Louis
2017-07-24  7:53         ` Lars Ingebrigtsen
2017-07-24  8:10           ` Jean Louis
2017-07-24 14:25             ` Eli Zaretskii
2017-07-24 15:19               ` Jean Louis
2017-07-24 15:42                 ` Eli Zaretskii
2017-07-24 15:47                   ` Jean Louis
2017-07-24 16:22                     ` Eli Zaretskii
2017-07-24 16:55                       ` Jean Louis
2017-07-24 15:47                 ` Glenn Morris
2017-07-24 16:20                   ` Jean Louis

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.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.