Comment
Hi,
I couldn't start my Gnus (news/mail/rss reader in Emacs) tonight because it would crash trying to retrieve an RSS feed from codeberg.org, with the following backtrace:
Debugger entered--Lisp error: (wrong-type-argument listp html)
dom-search(html #f(compiled-function (node) #<bytecode -0x1fc5622e142519a4>))
nnrss-get-namespace-prefix((html ((lang . "en")) (head nil (title nil "Making sure you're not a bot!") (link ((rel . "stylesheet") (href . "/.within.website/x/xess/xess.min.css?cachebuster=1.20.0"))) (meta ((name . "viewport") (content . "width=device-width, initial-scale=1.0"))) (meta ((name . "robots") (content . "noindex,nofollow"))) (style nil "\n body,\n html {\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-left: auto;\n margin-right: auto;\n }\n\n .centered-div {\n text-align: center;\n }\n\n #status {\n font-variant-numeric: tabular-nums;\n }\n\n #progress {\n display: none;\n width: 90%;\n width: min(20rem, 90%);\n height: 2rem;\n border-radius: 1rem;\n overflow: hidden;\n margin: 1rem 0 2rem;\n11円11円11円11円11円outline-offset: 2px;\n11円11円11円11円11円outline: #b16286 solid 4px;\n11円11円11円11円}\n\n .bar-inner {\n background-color: #b16286;\n height: 100%;\n width: 0;\n transition: width 0.25s ease-in;\n }\n 11円") (script ((id . "anubis_version") (type . "application/json")) "\"1.20.0\"\n") (script ((id . "anubis_challenge") (type . "application/json")) "{\"rules\":{\"algorithm\":\"metarefresh\",\"difficulty\":1,\"report_as\":1},\"challenge\":\"e2f23f51df0d8a5f\"}\n") (script ((id . "anubis_base_prefix") (type . "application/json")) "\"\"\n")) (body ((id . "top")) (main nil (center nil (h1 ((id . "title") (class . ".centered-div")) "Making sure you're not a bot!")) (div ((class . "centered-div")) (img ((id . "image") (style . "width:100%;max-width:256px;") (src . "/.within.website/x/cmd/anubis/static/img/pensive.webp?cacheBuster=1.20.0"))) (img ((style . "display:none;") (src . "/.within.website/x/cmd/anubis/static/img/happy.webp?cacheBuster=1.20.0"))) (p ((id . "status")) "Loading...") (p nil "Please wait a moment while we ensure the security of your connection.") (meta ((http-equiv . "refresh") (content . "1; url=/.within.website/x/cmd/anubis/api/pass-challenge?challenge=e2f23f51df0d8a5f&redir=%2Fguix%2Fguix%2Frss%2Fbranch%2Fmaster")))) (footer nil (center nil (p nil "Protected by " (a ... "Anubis") " from " (a ... "Techaro") ". Made with ❤️ in 🇨🇦.") (p nil "Mascot design by " (a ... "CELPHASE") ".")))))) "http://purl.org/dc/elements/1.1/")
nnrss-check-group("Guix - Commits to master" "")
nnrss-retrieve-groups(("qt-team" "guix-ci" "gnome-team" "Guix - Commits to master") "")
gnus-retrieve-groups(("qt-team" "guix-ci" "gnome-team" "Guix - Commits to master") (nnrss ""))
gnus-read-active-file-2(("qt-team" "guix-ci" "gnome-team" "Guix - Commits to master") (nnrss ""))
gnus-read-active-for-groups((nnrss "") (("nnrss:qt-team" 3 ((1 . 970)) ((unexist) (seen (1 . 548) (674 . 970)) (expire 742) (reply 299)) (nnrss "")) ("nnrss:guix-ci" 4 ((1 . 19845)) ((unexist) (seen (1 . 2219) (2222 . 9466) (10466 . 15513) (18808 . 19771) (19775 . 19846)) (download 1502) (expire 2940 (3049 . 3050)) (reply 1547 1642 3038 3041 3043 3053 3227 3250 3253 3258 3271 3312 3315 3317 3342 3393 3651 4147 4511)) (nnrss "")) ("nnrss:gnome-team" 4 ((1 . 536)) ((unexist) (seen (1 . 536))) (nnrss "")) ("nnrss:Guix - Commits to master" 3 ((1 . 378)) ((unexist) (seen (1 . 70) (75 . 97) (102 . 306) (320 . 378))) (nnrss ""))) nil)
gnus-get-unread-articles(nil nil)
gnus-setup-news(nil nil nil)
#f(compiled-function () #<bytecode -0x93fa5d93a2b1f44>)()
gnus-1(nil nil nil)
gnus(nil)
funcall-interactively(gnus nil)
command-execute(gnus record)
counsel-M-x-action("gnus")
ivy-call()
ivy-read("M-x " #<obarray n=65070> :predicate #f(compiled-function (sym) #<bytecode -0x175fbfb7ecd0cd00>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x)
counsel-M-x()
funcall-interactively(counsel-M-x)
command-execute(counsel-M-x)
It seems Anubis got in-between and served some HTML page instead of a valid XML, which crashed Gnus.
Could Anubis be disabled for RSS feeds?