bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invali


From: Jean Louis
Subject: bug#27799: 26.0.50; SVG pictures in EWW: error in process filter, invalid image type 'imagemagick'
Date: Sun, 23 Jul 2017 16:03:13 +0300

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]