unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38507: eww error: error in process filter: Window system frame should be used
@ 2019-12-06  2:33 Stuart Little
  2019-12-06  5:09 ` A.C.
  2019-12-12 13:23 ` Robert Pluim
  0 siblings, 2 replies; 7+ messages in thread
From: Stuart Little @ 2019-12-06  2:33 UTC (permalink / raw)
  To: 38507

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

I am running the latest emacs compiled from source (27.0.50). My configuration parameters are in the configure.txt attached file.

My problem:

M-x eww RET arxiv.org RET

returns the error in the title of this message:

error in process filter: Window system frame should be used

I am attaching the debugger trace produced upon setting debug-on-error to 't' (the file is trace.txt).  


[-- Attachment #2: trace.txt --]
[-- Type: text/plain, Size: 32780 bytes --]

Debugger entered--Lisp error: (error "Window system frame should be used")
  image-size((image :type svg :data "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Genera..." :scale 1 :scaling 1) t)
  svg--wrap-svg("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Genera...")
  shr-parse-image-data()
  shr-get-image-data("https://static.arxiv.org/static/browse/0.2.6/image...")
  shr-tag-img((img ((src . "https://static.arxiv.org/static/browse/0.2.6/image...") (alt . "Cornell University"))))
  shr-descend((img ((src . "https://static.arxiv.org/static/browse/0.2.6/image...") (alt . "Cornell University"))))
  shr-tag-a((a ((href . "https://www.cornell.edu/")) (img ((src . "https://static.arxiv.org/static/browse/0.2.6/image...") (alt . "Cornell University")))))
  eww-tag-a((a ((href . "https://www.cornell.edu/")) (img ((src . "https://static.arxiv.org/static/browse/0.2.6/image...") (alt . "Cornell University")))))
  shr-descend((a ((href . "https://www.cornell.edu/")) (img ((src . "https://static.arxiv.org/static/browse/0.2.6/image...") (alt . "Cornell University")))))
  shr-tag-div((div ((id . "cu-logo")) "\n        " (a ((href . "https://www.cornell.edu/")) (img ((src . "https://static.arxiv.org/static/browse/0.2.6/image...") (alt . "Cornell University")))) "\n      "))
  shr-descend((div ((id . "cu-logo")) "\n        " (a ((href . "https://www.cornell.edu/")) (img ((src . "https://static.arxiv.org/static/browse/0.2.6/image...") (alt . "Cornell University")))) "\n      "))
  shr-tag-div((div ((id . "cu-identity")) "\n      " (div ((id . "cu-logo")) "\n        " (a ((href . "https://www.cornell.edu/")) (img ((src . "https://static.arxiv.org/static/browse/0.2.6/image...") (alt . "Cornell University")))) "\n      ") "\n      " (div ((id . "support-ack")) "\n        " (a ((href . "https://confluence.cornell.edu/x/ALlRF")) "We gratefully acknowledge support from" (br nil) "the Simons Foundation and member institutions.") "\n      ") "\n    "))
  shr-descend((div ((id . "cu-identity")) "\n      " (div ((id . "cu-logo")) "\n        " (a ((href . "https://www.cornell.edu/")) (img ((src . "https://static.arxiv.org/static/browse/0.2.6/image...") (alt . "Cornell University")))) "\n      ") "\n      " (div ((id . "support-ack")) "\n        " (a ((href . "https://confluence.cornell.edu/x/ALlRF")) "We gratefully acknowledge support from" (br nil) "the Simons Foundation and member institutions.") "\n      ") "\n    "))
  shr-descend((header nil (a ((href . "#content") (class . "is-sr-only")) "Skip to main content") "\n    " (div ((id . "cu-identity")) "\n      " (div ((id . "cu-logo")) "\n        " (a ((href . "https://www.cornell.edu/")) (img ((src . "https://static.arxiv.org/static/browse/0.2.6/image...") (alt . "Cornell University")))) "\n      ") "\n      " (div ((id . "support-ack")) "\n        " (a ((href . "https://confluence.cornell.edu/x/ALlRF")) "We gratefully acknowledge support from" (br nil) "the Simons Foundation and member institutions.") "\n      ") "\n    ") "\n\n    " (div ((id . "header")) "\n      " (a ((aria-hidden . "true") (href . "{url_path('ignore_me')}"))) "\n      " (h1 nil "arXiv.org") "\n      " (div ((class . "login")) "\n\n  " (a ((href . "https://arxiv.org/login")) "Login") "\n\n") "\n      \n  " (div ((class . "search-block level-right")) "\n    " (form ((class . "level-item mini-search") (method . "GET") (action . "https://arxiv.org/search")) "\n      " (div ((class . "field has-addons")) "\n        " (div (...) "\n          " (input ...) (p ... ... " | " ...) "\n        ") "\n        " (div (...) "\n          " (div ... "\n            " ...) "\n        ") "\n        " (input (... ... ...)) (button (...) "Search") "\n      ") "\n    ") "\n  ") "\n     \n    ") "\n  "))
  shr-tag-body((body nil (p nil "<?xml version=\"1.0\" encoding=\"UT...") "\n  " (title nil "arXiv.org e-Print archive") (link ((rel . "shortcut icon") (href . "https://static.arxiv.org/static/...") (type . "image/x-icon"))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/..."))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/..."))) (comment nil " Matomo ") (script ((type . "text/javascript")) "\n    var _paq = window._paq || [...") (comment nil " End Matomo Code ") (link ((rel . "stylesheet") (href . "https://maxcdn.bootstrapcdn.com/..."))) (div ((class . "slider-wrapper") (style . "display:none")) "\n  " (a (... ...) (img ...)) "\n  " (div (...) "\n    " (h1 nil "Donate to arXiv") "\n    " (p nil "\n      Please join the " ... " and our\n      generous " ... "\n      in supporting arXiv durin...") "\n  ") "\n  " (div (...) "\n    " (div ... "\n      " ... "\n    ") "\n  ") "\n") (noscript nil (img (... ... ...))) "\n  " (header nil (a (... ...) "Skip to main content") "\n    " (div (...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n\n    " (div (...) "\n      " (a ...) "\n      " (h1 nil "arXiv.org") "\n      " (div ... "\n\n  " ... "\n\n") "\n      \n  " (div ... "\n    " ... "\n  ") "\n     \n    ") "\n  ") (main nil (div (...) "\n      " (p ... "Open access to 1,628,829\n e-prin...") "\n" (br nil) (form ... "\n  Subject search and browse:\n  " ... ... ... ...) "\n\n" (script ... "\n function doAdvSearchBtn(event)...") (p nil "31 Oct 2019: 2019 Fall/Winter Ho..." ... "." ... "\n23 Oct 2019: We are hiring: " ... ... "\n30 Aug 2019: We are hiring: " ... ... "\n12 Jun 2019: We are hiring: " ... ... "See cumulative " ... " pages.\nRead " ... " before attempting any automated...") (h2 nil "Physics") "\n  " (ul nil ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    \n  ") (h2 nil "Mathematics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Computer Science") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Biology") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Finance") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Statistics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Electrical Engineering and Syste...") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Economics") ...) "\n  ") (footer ((style . "clear: both;")) (div (... ... ... ...) "\n      " (comment nil " Macro-Column 1 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 1 ") "\n      " (comment nil " Macro-Column 2 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 2 ") "\n    ") "\n\n    " (div (... ...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n  ")))
  shr-descend((body nil (p nil "<?xml version=\"1.0\" encoding=\"UT...") "\n  " (title nil "arXiv.org e-Print archive") (link ((rel . "shortcut icon") (href . "https://static.arxiv.org/static/...") (type . "image/x-icon"))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/..."))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/..."))) (comment nil " Matomo ") (script ((type . "text/javascript")) "\n    var _paq = window._paq || [...") (comment nil " End Matomo Code ") (link ((rel . "stylesheet") (href . "https://maxcdn.bootstrapcdn.com/..."))) (div ((class . "slider-wrapper") (style . "display:none")) "\n  " (a (... ...) (img ...)) "\n  " (div (...) "\n    " (h1 nil "Donate to arXiv") "\n    " (p nil "\n      Please join the " ... " and our\n      generous " ... "\n      in supporting arXiv durin...") "\n  ") "\n  " (div (...) "\n    " (div ... "\n      " ... "\n    ") "\n  ") "\n") (noscript nil (img (... ... ...))) "\n  " (header nil (a (... ...) "Skip to main content") "\n    " (div (...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n\n    " (div (...) "\n      " (a ...) "\n      " (h1 nil "arXiv.org") "\n      " (div ... "\n\n  " ... "\n\n") "\n      \n  " (div ... "\n    " ... "\n  ") "\n     \n    ") "\n  ") (main nil (div (...) "\n      " (p ... "Open access to 1,628,829\n e-prin...") "\n" (br nil) (form ... "\n  Subject search and browse:\n  " ... ... ... ...) "\n\n" (script ... "\n function doAdvSearchBtn(event)...") (p nil "31 Oct 2019: 2019 Fall/Winter Ho..." ... "." ... "\n23 Oct 2019: We are hiring: " ... ... "\n30 Aug 2019: We are hiring: " ... ... "\n12 Jun 2019: We are hiring: " ... ... "See cumulative " ... " pages.\nRead " ... " before attempting any automated...") (h2 nil "Physics") "\n  " (ul nil ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    \n  ") (h2 nil "Mathematics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Computer Science") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Biology") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Finance") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Statistics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Electrical Engineering and Syste...") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Economics") ...) "\n  ") (footer ((style . "clear: both;")) (div (... ... ... ...) "\n      " (comment nil " Macro-Column 1 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 1 ") "\n      " (comment nil " Macro-Column 2 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 2 ") "\n    ") "\n\n    " (div (... ...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n  ")))
  shr-tag-html((html nil (body nil (p nil "<?xml version=\"1.0\" encoding=\"UTF-8\"?>...") "\n  " (title nil "arXiv.org e-Print archive") (link ((rel . "shortcut icon") (href . "https://static.arxiv.org/static/browse...") (type . "image/x-icon"))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/browse..."))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/browse..."))) (comment nil " Matomo ") (script ((type . "text/javascript")) "\n    var _paq = window._paq || [];\n   ...") (comment nil " End Matomo Code ") (link ((rel . "stylesheet") (href . "https://maxcdn.bootstrapcdn.com/font-a..."))) (div ((class . "slider-wrapper") (style . "display:none")) "\n  " (a (... ...) (img ...)) "\n  " (div (...) "\n    " (h1 nil "Donate to arXiv") "\n    " (p nil "\n      Please join the " ... " and our\n      generous " ... "\n      in supporting arXiv during our ...") "\n  ") "\n  " (div (...) "\n    " (div ... "\n      " ... "\n    ") "\n  ") "\n") (noscript nil (img (... ... ...))) "\n  " (header nil (a (... ...) "Skip to main content") "\n    " (div (...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n\n    " (div (...) "\n      " (a ...) "\n      " (h1 nil "arXiv.org") "\n      " (div ... "\n\n  " ... "\n\n") "\n      \n  " (div ... "\n    " ... "\n  ") "\n     \n    ") "\n  ") (main nil (div (...) "\n      " (p ... "Open access to 1,628,829\n e-prints in ...") "\n" (br nil) (form ... "\n  Subject search and browse:\n  " ... ... ... ...) "\n\n" (script ... "\n function doAdvSearchBtn(event) {\n   ...") (p nil "31 Oct 2019: 2019 Fall/Winter Holiday ..." ... "." ... "\n23 Oct 2019: We are hiring: " ... ... "\n30 Aug 2019: We are hiring: " ... ... "\n12 Jun 2019: We are hiring: " ... ... "See cumulative " ... " pages.\nRead " ... " before attempting any automated downl...") (h2 nil "Physics") "\n  " (ul nil ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    \n  ") (h2 nil "Mathematics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Computer Science") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Biology") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Finance") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Statistics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Electrical Engineering and Systems Sci...") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Economics") "\n  " (ul nil ... "\n    \n  ") (hr nil) (h2 nil "About arXiv") "\n" (ul nil ... "\n  " ... "\n  " ... "\n  " ... "\n  " ... "\n")) "\n  ") (footer ((style . "clear: both;")) (div (... ... ... ...) "\n      " (comment nil " Macro-Column 1 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 1 ") "\n      " (comment nil " Macro-Column 2 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 2 ") "\n    ") "\n\n    " (div (... ...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n  "))))
  shr-descend((html nil (body nil (p nil "<?xml version=\"1.0\" encoding=\"UTF-8\"?>...") "\n  " (title nil "arXiv.org e-Print archive") (link ((rel . "shortcut icon") (href . "https://static.arxiv.org/static/browse...") (type . "image/x-icon"))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/browse..."))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/browse..."))) (comment nil " Matomo ") (script ((type . "text/javascript")) "\n    var _paq = window._paq || [];\n   ...") (comment nil " End Matomo Code ") (link ((rel . "stylesheet") (href . "https://maxcdn.bootstrapcdn.com/font-a..."))) (div ((class . "slider-wrapper") (style . "display:none")) "\n  " (a (... ...) (img ...)) "\n  " (div (...) "\n    " (h1 nil "Donate to arXiv") "\n    " (p nil "\n      Please join the " ... " and our\n      generous " ... "\n      in supporting arXiv during our ...") "\n  ") "\n  " (div (...) "\n    " (div ... "\n      " ... "\n    ") "\n  ") "\n") (noscript nil (img (... ... ...))) "\n  " (header nil (a (... ...) "Skip to main content") "\n    " (div (...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n\n    " (div (...) "\n      " (a ...) "\n      " (h1 nil "arXiv.org") "\n      " (div ... "\n\n  " ... "\n\n") "\n      \n  " (div ... "\n    " ... "\n  ") "\n     \n    ") "\n  ") (main nil (div (...) "\n      " (p ... "Open access to 1,628,829\n e-prints in ...") "\n" (br nil) (form ... "\n  Subject search and browse:\n  " ... ... ... ...) "\n\n" (script ... "\n function doAdvSearchBtn(event) {\n   ...") (p nil "31 Oct 2019: 2019 Fall/Winter Holiday ..." ... "." ... "\n23 Oct 2019: We are hiring: " ... ... "\n30 Aug 2019: We are hiring: " ... ... "\n12 Jun 2019: We are hiring: " ... ... "See cumulative " ... " pages.\nRead " ... " before attempting any automated downl...") (h2 nil "Physics") "\n  " (ul nil ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    \n  ") (h2 nil "Mathematics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Computer Science") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Biology") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Finance") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Statistics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Electrical Engineering and Systems Sci...") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Economics") "\n  " (ul nil ... "\n    \n  ") (hr nil) (h2 nil "About arXiv") "\n" (ul nil ... "\n  " ... "\n  " ... "\n  " ... "\n  " ... "\n")) "\n  ") (footer ((style . "clear: both;")) (div (... ... ... ...) "\n      " (comment nil " Macro-Column 1 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 1 ") "\n      " (comment nil " Macro-Column 2 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 2 ") "\n    ") "\n\n    " (div (... ...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n  "))))
  shr-tag-base((base ((href . "https://arxiv.org/")) (html nil (body nil (p nil "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n\n\n") "\n  " (title nil "arXiv.org e-Print archive") (link ((rel . "shortcut icon") (href . "https://static.arxiv.org/static/browse/0.2.6...") (type . "image/x-icon"))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/browse/0.2.6..."))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/browse/0.2.6..."))) (comment nil " Matomo ") (script ((type . "text/javascript")) "\n    var _paq = window._paq || [];\n    /* tr...") (comment nil " End Matomo Code ") (link ((rel . "stylesheet") (href . "https://maxcdn.bootstrapcdn.com/font-awesome..."))) (div ((class . "slider-wrapper") (style . "display:none")) "\n  " (a (... ...) (img ...)) "\n  " (div (...) "\n    " (h1 nil "Donate to arXiv") "\n    " (p nil "\n      Please join the " ... " and our\n      generous " ... "\n      in supporting arXiv during our giving...") "\n  ") "\n  " (div (...) "\n    " (div ... "\n      " ... "\n    ") "\n  ") "\n") (noscript nil (img (... ... ...))) "\n  " (header nil (a (... ...) "Skip to main content") "\n    " (div (...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n\n    " (div (...) "\n      " (a ...) "\n      " (h1 nil "arXiv.org") "\n      " (div ... "\n\n  " ... "\n\n") "\n      \n  " (div ... "\n    " ... "\n  ") "\n     \n    ") "\n  ") (main nil (div (...) "\n      " (p ... "Open access to 1,628,829\n e-prints in the fi...") "\n" (br nil) (form ... "\n  Subject search and browse:\n  " ... ... ... ...) "\n\n" (script ... "\n function doAdvSearchBtn(event) {\n     sel ...") (p nil "31 Oct 2019: 2019 Fall/Winter Holiday schedu..." ... "." ... "\n23 Oct 2019: We are hiring: " ... ... "\n30 Aug 2019: We are hiring: " ... ... "\n12 Jun 2019: We are hiring: " ... ... "See cumulative " ... " pages.\nRead " ... " before attempting any automated download\n") (h2 nil "Physics") "\n  " (ul nil ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    \n  ") (h2 nil "Mathematics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Computer Science") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Biology") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Finance") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Statistics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Electrical Engineering and Systems Science") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Economics") "\n  " (ul nil ... "\n    \n  ") (hr nil) (h2 nil "About arXiv") "\n" (ul nil ... "\n  " ... "\n  " ... "\n  " ... "\n  " ... "\n")) "\n  ") (footer ((style . "clear: both;")) (div (... ... ... ...) "\n      " (comment nil " Macro-Column 1 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 1 ") "\n      " (comment nil " Macro-Column 2 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 2 ") "\n    ") "\n\n    " (div (... ...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n  ")))))
  shr-descend((base ((href . "https://arxiv.org/")) (html nil (body nil (p nil "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n\n\n") "\n  " (title nil "arXiv.org e-Print archive") (link ((rel . "shortcut icon") (href . "https://static.arxiv.org/static/browse/0.2.6...") (type . "image/x-icon"))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/browse/0.2.6..."))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/browse/0.2.6..."))) (comment nil " Matomo ") (script ((type . "text/javascript")) "\n    var _paq = window._paq || [];\n    /* tr...") (comment nil " End Matomo Code ") (link ((rel . "stylesheet") (href . "https://maxcdn.bootstrapcdn.com/font-awesome..."))) (div ((class . "slider-wrapper") (style . "display:none")) "\n  " (a (... ...) (img ...)) "\n  " (div (...) "\n    " (h1 nil "Donate to arXiv") "\n    " (p nil "\n      Please join the " ... " and our\n      generous " ... "\n      in supporting arXiv during our giving...") "\n  ") "\n  " (div (...) "\n    " (div ... "\n      " ... "\n    ") "\n  ") "\n") (noscript nil (img (... ... ...))) "\n  " (header nil (a (... ...) "Skip to main content") "\n    " (div (...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n\n    " (div (...) "\n      " (a ...) "\n      " (h1 nil "arXiv.org") "\n      " (div ... "\n\n  " ... "\n\n") "\n      \n  " (div ... "\n    " ... "\n  ") "\n     \n    ") "\n  ") (main nil (div (...) "\n      " (p ... "Open access to 1,628,829\n e-prints in the fi...") "\n" (br nil) (form ... "\n  Subject search and browse:\n  " ... ... ... ...) "\n\n" (script ... "\n function doAdvSearchBtn(event) {\n     sel ...") (p nil "31 Oct 2019: 2019 Fall/Winter Holiday schedu..." ... "." ... "\n23 Oct 2019: We are hiring: " ... ... "\n30 Aug 2019: We are hiring: " ... ... "\n12 Jun 2019: We are hiring: " ... ... "See cumulative " ... " pages.\nRead " ... " before attempting any automated download\n") (h2 nil "Physics") "\n  " (ul nil ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    \n  ") (h2 nil "Mathematics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Computer Science") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Biology") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Finance") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Statistics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Electrical Engineering and Systems Science") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Economics") "\n  " (ul nil ... "\n    \n  ") (hr nil) (h2 nil "About arXiv") "\n" (ul nil ... "\n  " ... "\n  " ... "\n  " ... "\n  " ... "\n")) "\n  ") (footer ((style . "clear: both;")) (div (... ... ... ...) "\n      " (comment nil " Macro-Column 1 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 1 ") "\n      " (comment nil " Macro-Column 2 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 2 ") "\n    ") "\n\n    " (div (... ...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n  ")))))
  shr-insert-document((base ((href . "https://arxiv.org/")) (html nil (body nil (p nil "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n\n\n") "\n  " (title nil "arXiv.org e-Print archive") (link ((rel . "shortcut icon") (href . "https://static.arxiv.org/static/browse/0.2.6...") (type . "image/x-icon"))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/browse/0.2.6..."))) (link ((rel . "stylesheet") (type . "text/css") (media . "screen") (href . "https://static.arxiv.org/static/browse/0.2.6..."))) (comment nil " Matomo ") (script ((type . "text/javascript")) "\n    var _paq = window._paq || [];\n    /* tr...") (comment nil " End Matomo Code ") (link ((rel . "stylesheet") (href . "https://maxcdn.bootstrapcdn.com/font-awesome..."))) (div ((class . "slider-wrapper") (style . "display:none")) "\n  " (a (... ...) (img ...)) "\n  " (div (...) "\n    " (h1 nil "Donate to arXiv") "\n    " (p nil "\n      Please join the " ... " and our\n      generous " ... "\n      in supporting arXiv during our giving...") "\n  ") "\n  " (div (...) "\n    " (div ... "\n      " ... "\n    ") "\n  ") "\n") (noscript nil (img (... ... ...))) "\n  " (header nil (a (... ...) "Skip to main content") "\n    " (div (...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n\n    " (div (...) "\n      " (a ...) "\n      " (h1 nil "arXiv.org") "\n      " (div ... "\n\n  " ... "\n\n") "\n      \n  " (div ... "\n    " ... "\n  ") "\n     \n    ") "\n  ") (main nil (div (...) "\n      " (p ... "Open access to 1,628,829\n e-prints in the fi...") "\n" (br nil) (form ... "\n  Subject search and browse:\n  " ... ... ... ...) "\n\n" (script ... "\n function doAdvSearchBtn(event) {\n     sel ...") (p nil "31 Oct 2019: 2019 Fall/Winter Holiday schedu..." ... "." ... "\n23 Oct 2019: We are hiring: " ... ... "\n30 Aug 2019: We are hiring: " ... ... "\n12 Jun 2019: We are hiring: " ... ... "See cumulative " ... " pages.\nRead " ... " before attempting any automated download\n") (h2 nil "Physics") "\n  " (ul nil ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    " ... "\n    \n  ") (h2 nil "Mathematics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Computer Science") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Biology") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Quantitative Finance") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Statistics") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Electrical Engineering and Systems Science") "\n  " (ul nil ... "\n    \n  ") (h2 nil "Economics") "\n  " (ul nil ... "\n    \n  ") (hr nil) (h2 nil "About arXiv") "\n" (ul nil ... "\n  " ... "\n  " ... "\n  " ... "\n  " ... "\n")) "\n  ") (footer ((style . "clear: both;")) (div (... ... ... ...) "\n      " (comment nil " Macro-Column 1 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 1 ") "\n      " (comment nil " Macro-Column 2 ") "\n      " (div ... "\n        " ... "\n      ") "\n      " (comment nil " End Macro-Column 2 ") "\n    ") "\n\n    " (div (... ...) "\n      " (div ... "\n        " ... "\n      ") "\n      " (div ... "\n        " ... "\n      ") "\n    ") "\n  ")))))
  eww-display-html(utf-8 "https://arxiv.org/" nil nil #<buffer *eww*> nil)
  eww-render((:redirect "https://arxiv.org/" :peer (:certificates ((:version 3 :serial-number "79:dc:d4:c6:78:69:2a:3d:ce:b0:5f:6c:e8:7c:e4:02" :issuer "C=US,ST=MI,L=Ann Arbor,O=Internet2,OU=InCommon,CN=..." :valid-from "2019-11-27" :valid-to "2021-11-26" :subject "C=US,postalCode=14853,ST=New York,L=Ithaca,street=..." :public-key-algorithm "RSA" :certificate-security-level "Medium" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:b9:25:ec:f7:f9:cf:f9:71:70:73:5d:eb:80:be:9e:..." :certificate-id "sha1:70:71:d0:6d:c9:5e:cd:46:bf:0f:19:a2:0c:41:33:..." :pem "-----BEGIN CERTIFICATE-----\nMIII+zCCB+OgAwIBAgIQed...") (:version 3 :serial-number "47:20:d0:fa:85:46:1a:7e:17:a1:64:02:91:84:63:74" :issuer "C=US,ST=New Jersey,L=Jersey City,O=The USERTRUST N..." :valid-from "2014-10-06" :valid-to "2024-10-05" :subject "C=US,ST=MI,L=Ann Arbor,O=Internet2,OU=InCommon,CN=..." :public-key-algorithm "RSA" :certificate-security-level "Medium" :signature-algorithm "RSA-SHA384" :public-key-id "sha1:ed:7b:7b:ac:ae:bd:fe:35:ec:16:02:1c:46:52:29:..." :certificate-id "sha1:f5:fb:01:de:a6:e5:9c:a6:dd:05:70:54:f4:a3:ff:..." :pem "-----BEGIN CERTIFICATE-----\nMIIF+TCCA+GgAwIBAgIQRy...") (:version 3 :serial-number "13:ea:28:70:5b:f4:ec:ed:0c:36:63:09:80:61:43:36" :issuer "C=SE,O=AddTrust AB,OU=AddTrust External TTP Networ..." :valid-from "2000-05-30" :valid-to "2020-05-30" :subject "C=US,ST=New Jersey,L=Jersey City,O=The USERTRUST N..." :public-key-algorithm "RSA" :certificate-security-level "High" :signature-algorithm "RSA-SHA384" :public-key-id "sha1:c8:95:13:68:01:97:28:0a:2c:55:c3:fc:d3:90:f5:..." :certificate-id "sha1:ea:b0:40:68:9a:0d:80:5b:5d:6f:d6:54:fc:16:8c:..." :pem "-----BEGIN CERTIFICATE-----\nMIIFdzCCBF+gAwIBAgIQE+...") (:version 3 :serial-number "01" :issuer "C=SE,O=AddTrust AB,OU=AddTrust External TTP Networ..." :valid-from "2000-05-30" :valid-to "2020-05-30" :subject "C=SE,O=AddTrust AB,OU=AddTrust External TTP Networ..." :public-key-algorithm "RSA" :certificate-security-level "Medium" :signature-algorithm "RSA-SHA1" :public-key-id "sha1:4f:9c:7d:21:79:9c:ad:0e:d8:b9:0c:57:9f:1a:02:..." :certificate-id "sha1:02:fa:f3:e2:91:43:54:68:60:78:57:69:4d:f5:e4:..." :pem "-----BEGIN CERTIFICATE-----\nMIIENjCCAx6gAwIBAgIBAT...")) :certificate (:version 3 :serial-number "79:dc:d4:c6:78:69:2a:3d:ce:b0:5f:6c:e8:7c:e4:02" :issuer "C=US,ST=MI,L=Ann Arbor,O=Internet2,OU=InCommon,CN=..." :valid-from "2019-11-27" :valid-to "2021-11-26" :subject "C=US,postalCode=14853,ST=New York,L=Ithaca,street=..." :public-key-algorithm "RSA" :certificate-security-level "Medium" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:b9:25:ec:f7:f9:cf:f9:71:70:73:5d:eb:80:be:9e:..." :certificate-id "sha1:70:71:d0:6d:c9:5e:cd:46:bf:0f:19:a2:0c:41:33:..." :pem "-----BEGIN CERTIFICATE-----\nMIII+zCCB+OgAwIBAgIQed...") :key-exchange "ECDHE-RSA" :protocol "TLS1.2" :cipher "AES-256-GCM" :mac "AEAD" :compression "NULL" :encrypt-then-mac nil :safe-renegotiation t)) "http://arxiv.org/" nil #<buffer *eww*>)
  apply(eww-render ((:redirect "https://arxiv.org/" :peer (:certificates ((:version 3 :serial-number "79:dc:d4:c6:78:69:2a:3d:ce:b0:5f:6c:e8:7c:e4:02" :issuer "C=US,ST=MI,L=Ann Arbor,O=Internet2,OU=InCommon,CN=..." :valid-from "2019-11-27" :valid-to "2021-11-26" :subject "C=US,postalCode=14853,ST=New York,L=Ithaca,street=..." :public-key-algorithm "RSA" :certificate-security-level "Medium" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:b9:25:ec:f7:f9:cf:f9:71:70:73:5d:eb:80:be:9e:..." :certificate-id "sha1:70:71:d0:6d:c9:5e:cd:46:bf:0f:19:a2:0c:41:33:..." :pem "-----BEGIN CERTIFICATE-----\nMIII+zCCB+OgAwIBAgIQed...") (:version 3 :serial-number "47:20:d0:fa:85:46:1a:7e:17:a1:64:02:91:84:63:74" :issuer "C=US,ST=New Jersey,L=Jersey City,O=The USERTRUST N..." :valid-from "2014-10-06" :valid-to "2024-10-05" :subject "C=US,ST=MI,L=Ann Arbor,O=Internet2,OU=InCommon,CN=..." :public-key-algorithm "RSA" :certificate-security-level "Medium" :signature-algorithm "RSA-SHA384" :public-key-id "sha1:ed:7b:7b:ac:ae:bd:fe:35:ec:16:02:1c:46:52:29:..." :certificate-id "sha1:f5:fb:01:de:a6:e5:9c:a6:dd:05:70:54:f4:a3:ff:..." :pem "-----BEGIN CERTIFICATE-----\nMIIF+TCCA+GgAwIBAgIQRy...") (:version 3 :serial-number "13:ea:28:70:5b:f4:ec:ed:0c:36:63:09:80:61:43:36" :issuer "C=SE,O=AddTrust AB,OU=AddTrust External TTP Networ..." :valid-from "2000-05-30" :valid-to "2020-05-30" :subject "C=US,ST=New Jersey,L=Jersey City,O=The USERTRUST N..." :public-key-algorithm "RSA" :certificate-security-level "High" :signature-algorithm "RSA-SHA384" :public-key-id "sha1:c8:95:13:68:01:97:28:0a:2c:55:c3:fc:d3:90:f5:..." :certificate-id "sha1:ea:b0:40:68:9a:0d:80:5b:5d:6f:d6:54:fc:16:8c:..." :pem "-----BEGIN CERTIFICATE-----\nMIIFdzCCBF+gAwIBAgIQE+...") (:version 3 :serial-number "01" :issuer "C=SE,O=AddTrust AB,OU=AddTrust External TTP Networ..." :valid-from "2000-05-30" :valid-to "2020-05-30" :subject "C=SE,O=AddTrust AB,OU=AddTrust External TTP Networ..." :public-key-algorithm "RSA" :certificate-security-level "Medium" :signature-algorithm "RSA-SHA1" :public-key-id "sha1:4f:9c:7d:21:79:9c:ad:0e:d8:b9:0c:57:9f:1a:02:..." :certificate-id "sha1:02:fa:f3:e2:91:43:54:68:60:78:57:69:4d:f5:e4:..." :pem "-----BEGIN CERTIFICATE-----\nMIIENjCCAx6gAwIBAgIBAT...")) :certificate (:version 3 :serial-number "79:dc:d4:c6:78:69:2a:3d:ce:b0:5f:6c:e8:7c:e4:02" :issuer "C=US,ST=MI,L=Ann Arbor,O=Internet2,OU=InCommon,CN=..." :valid-from "2019-11-27" :valid-to "2021-11-26" :subject "C=US,postalCode=14853,ST=New York,L=Ithaca,street=..." :public-key-algorithm "RSA" :certificate-security-level "Medium" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:b9:25:ec:f7:f9:cf:f9:71:70:73:5d:eb:80:be:9e:..." :certificate-id "sha1:70:71:d0:6d:c9:5e:cd:46:bf:0f:19:a2:0c:41:33:..." :pem "-----BEGIN CERTIFICATE-----\nMIII+zCCB+OgAwIBAgIQed...") :key-exchange "ECDHE-RSA" :protocol "TLS1.2" :cipher "AES-256-GCM" :mac "AEAD" :compression "NULL" :encrypt-then-mac nil :safe-renegotiation t)) "http://arxiv.org/" nil #<buffer *eww*>))
  url-http-activate-callback()
  url-http-chunked-encoding-after-change-function(7140 7145 5)
  url-http-generic-filter(#<process arxiv.org<1>> "0\15\n\15\n")
  read-event(nil t 2)
  sit-for(2)
  execute-extended-command(nil "eww" "eww")
  funcall-interactively(execute-extended-command nil "eww" "eww")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

[-- Attachment #3: config.txt --]
[-- Type: text/plain, Size: 2948 bytes --]

Configured for 'x86_64-pc-linux-gnu'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               gcc -g3 -O2
  Should Emacs use the GNU version of malloc?             no
    (The GNU allocators don't work with this system configuration.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          GTK2
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use a png library?                           yes -lpng16 -lz
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use cairo?                                   no
  Does Emacs use -llcms2?                                 yes
  Does Emacs use imagemagick?                             yes
  Does Emacs support sound?                               yes
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               yes
  Does Emacs use a file notification library?             yes -lglibc (inotify)
  Does Emacs use access control lists?                    no
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use HarfBuzz?                                yes
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   yes
  Does Emacs use -lsystemd?                               no
  Does Emacs use -ljansson?                               no
  Does Emacs use -lgmp?                                   yes
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                yes
  Does Emacs use toolkit scroll bars?                     yes
  Does Emacs support Xwidgets (requires gtk3)?            no
  Does Emacs have threading support in lisp?              yes
  Does Emacs support the portable dumper?                 yes
  Does Emacs support legacy unexec dumping?               no
  Which dumping strategy does Emacs use?                  pdumper

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

* bug#38507: eww error: error in process filter: Window system frame should be used
  2019-12-06  2:33 bug#38507: eww error: error in process filter: Window system frame should be used Stuart Little
@ 2019-12-06  5:09 ` A.C.
  2019-12-06  5:11   ` bug#38507: Fwd: " A.C.
  2019-12-12 13:23 ` Robert Pluim
  1 sibling, 1 reply; 7+ messages in thread
From: A.C. @ 2019-12-06  5:09 UTC (permalink / raw)
  To: 38507

[-- Attachment #1: Type: text/plain, Size: 1120 bytes --]

To follow up with some more info:

As the trace indicates, the problem seems to be caused by an svg image that website tries to load. This happens only when I start emacs in a terminal (with the '-nw' flag). The website loads fine

- when emacs runs in an x window (so plain 'emacs' rather than 'emacs -nw');
- in a terminal, provided I disable svg images with 

 (setq shr-blocked-images "svg")

So there are ways around this, but surely eww could handle this more gracefully? Perhaps with the right combination of compile config options?

On December 5, 2019 9:33:24 PM EST, Stuart Little <achirvasub@gmail.com> wrote:
>I am running the latest emacs compiled from source (27.0.50). My
>configuration parameters are in the configure.txt attached file.
>
>My problem:
>
>M-x eww RET arxiv.org RET
>
>returns the error in the title of this message:
>
>error in process filter: Window system frame should be used
>
>I am attaching the debugger trace produced upon setting debug-on-error
>to 't' (the file is trace.txt).  

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

[-- Attachment #2: Type: text/html, Size: 1401 bytes --]

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

* bug#38507: Fwd: Re: eww error: error in process filter: Window system frame should be used
  2019-12-06  5:09 ` A.C.
@ 2019-12-06  5:11   ` A.C.
  0 siblings, 0 replies; 7+ messages in thread
From: A.C. @ 2019-12-06  5:11 UTC (permalink / raw)
  To: 38507

[-- Attachment #1: Type: text/plain, Size: 1428 bytes --]




-------- Original Message --------
From: "A.C." <achirvasub@gmail.com>
Sent: December 6, 2019 12:09:46 AM EST
To: bug-gnu-emacs@gnu.org
Subject: Re: eww error: error in process filter: Window system frame should be used

To follow up with some more info:

As the trace indicates, the problem seems to be caused by an svg image that website tries to load. This happens only when I start emacs in a terminal (with the '-nw' flag). The website loads fine

- when emacs runs in an x window (so plain 'emacs' rather than 'emacs -nw');
- in a terminal, provided I disable svg images with 

 (setq shr-blocked-images "svg")

So there are ways around this, but surely eww could handle this more gracefully? Perhaps with the right combination of compile config options?

On December 5, 2019 9:33:24 PM EST, Stuart Little <achirvasub@gmail.com> wrote:
>I am running the latest emacs compiled from source (27.0.50). My
>configuration parameters are in the configure.txt attached file.
>
>My problem:
>
>M-x eww RET arxiv.org RET
>
>returns the error in the title of this message:
>
>error in process filter: Window system frame should be used
>
>I am attaching the debugger trace produced upon setting debug-on-error
>to 't' (the file is trace.txt).  

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

[-- Attachment #2: Type: text/html, Size: 1890 bytes --]

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

* bug#38507: Fwd: Re: eww error: error in process filter: Window system frame should be used
  2019-12-06  2:33 bug#38507: eww error: error in process filter: Window system frame should be used Stuart Little
  2019-12-06  5:09 ` A.C.
@ 2019-12-12 13:23 ` Robert Pluim
  2019-12-17 17:03   ` Robert Pluim
  1 sibling, 1 reply; 7+ messages in thread
From: Robert Pluim @ 2019-12-12 13:23 UTC (permalink / raw)
  To: A.C.; +Cc: Lars Ingebrigtsen, 38507

>>>>> On Fri, 06 Dec 2019 00:11:54 -0500, "A.C." <achirvasub@gmail.com> said:

    AC> -------- Original Message --------
    AC> From: "A.C." <achirvasub@gmail.com>
    AC> Sent: December 6, 2019 12:09:46 AM EST
    AC> To: bug-gnu-emacs@gnu.org
    AC> Subject: Re: eww error: error in process filter: Window system frame should be used

    AC> To follow up with some more info:

    AC> As the trace indicates, the problem seems to be caused by an svg image
    AC> that website tries to load. This happens only when I start emacs in a
    AC> terminal (with the '-nw' flag). The website loads fine

    AC> - when emacs runs in an x window (so plain 'emacs' rather than 'emacs -nw');
    AC> - in a terminal, provided I disable svg images with 

    AC>  (setq shr-blocked-images "svg")

    AC> So there are ways around this, but surely eww could handle
    AC> this more gracefully? Perhaps with the right combination of
    AC> compile config options?

Eww really shouldn't try to display images when running in terminal
mode. This should do it, unless Lars can suggest
something better:

diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 22d4cde34a..aec4a9e465 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -1197,8 +1197,9 @@ shr-parse-image-data
 	     (libxml-parse-xml-region (point) (point-max)) 'utf-8)))
     ;; SVG images often do not have a specified foreground/background
     ;; color, so wrap them in styles.
-    (when (eq content-type 'image/svg+xml)
-      (setq data (svg--wrap-svg data)))
+    (and (display-graphic-p)
+         (eq content-type 'image/svg+xml)
+         (setq data (svg--wrap-svg data)))
     (list data content-type)))
 
 (defun svg--wrap-svg (data)






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

* bug#38507: Fwd: Re: eww error: error in process filter: Window system frame should be used
  2019-12-12 13:23 ` Robert Pluim
@ 2019-12-17 17:03   ` Robert Pluim
  2019-12-24 16:21     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Pluim @ 2019-12-17 17:03 UTC (permalink / raw)
  To: A.C.; +Cc: Lars Ingebrigtsen, 38507

Or perhaps this is slightly better:

diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 22d4cde34a..e34425299e 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -1197,8 +1197,9 @@ shr-parse-image-data
 	     (libxml-parse-xml-region (point) (point-max)) 'utf-8)))
     ;; SVG images often do not have a specified foreground/background
     ;; color, so wrap them in styles.
-    (when (eq content-type 'image/svg+xml)
-      (setq data (svg--wrap-svg data)))
+    (and (display-images-p)
+         (eq content-type 'image/svg+xml)
+         (setq data (svg--wrap-svg data)))
     (list data content-type)))
 
 (defun svg--wrap-svg (data)






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

* bug#38507: Fwd: Re: eww error: error in process filter: Window system frame should be used
  2019-12-17 17:03   ` Robert Pluim
@ 2019-12-24 16:21     ` Lars Ingebrigtsen
  2019-12-24 21:56       ` A.C.
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2019-12-24 16:21 UTC (permalink / raw)
  To: Robert Pluim; +Cc: A.C., 38507

Robert Pluim <rpluim@gmail.com> writes:

> -    (when (eq content-type 'image/svg+xml)
> -      (setq data (svg--wrap-svg data)))
> +    (and (display-images-p)
> +         (eq content-type 'image/svg+xml)
> +         (setq data (svg--wrap-svg data)))
>      (list data content-type)))

Thanks; applied with a minor tweak to Emacs 27.

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





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

* bug#38507: Fwd: Re: eww error: error in process filter: Window system frame should be used
  2019-12-24 16:21     ` Lars Ingebrigtsen
@ 2019-12-24 21:56       ` A.C.
  0 siblings, 0 replies; 7+ messages in thread
From: A.C. @ 2019-12-24 21:56 UTC (permalink / raw)
  To: Lars Ingebrigtsen, Robert Pluim; +Cc: 38507

Can confirm it's all in order: compiled the emacs-27 branch just now, and the error is gone.

On December 24, 2019 11:21:33 AM EST, Lars Ingebrigtsen <larsi@gnus.org> wrote:
>Robert Pluim <rpluim@gmail.com> writes:
>
>> -    (when (eq content-type 'image/svg+xml)
>> -      (setq data (svg--wrap-svg data)))
>> +    (and (display-images-p)
>> +         (eq content-type 'image/svg+xml)
>> +         (setq data (svg--wrap-svg data)))
>>      (list data content-type)))
>
>Thanks; applied with a minor tweak to Emacs 27.





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

end of thread, other threads:[~2019-12-24 21:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06  2:33 bug#38507: eww error: error in process filter: Window system frame should be used Stuart Little
2019-12-06  5:09 ` A.C.
2019-12-06  5:11   ` bug#38507: Fwd: " A.C.
2019-12-12 13:23 ` Robert Pluim
2019-12-17 17:03   ` Robert Pluim
2019-12-24 16:21     ` Lars Ingebrigtsen
2019-12-24 21:56       ` A.C.

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).