Subject: bug#46047: 28.0.50; Namazu-based mail searching not working anymore

From: Torsten Bronger <[email-masked]>
Date: Mon, 17 May 2021 08:02:32 +0200

Hallöchen!

Eric Abrahamsen writes:

> [...]
>
> I'm assuming you've also got `gnus-search-namazu-raw-queries-p'
> set to t, otherwise you would have hit an error earlier than this.

No, but I did now.

> [...]
>
> Earlier in the day I pushed a change to Emacs master to use
> `condition-case-unless-debug' in `nnselect-run'. If you're in the
> habit of running a recent Emacs, would you pull from source and
> rebuild, then `toggle-debug-on-error' and run this search again,
> posting the backtrace?

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-readable-p(nil)
  #f(compiled-function (engine server query &optional groups) #<bytecode -0x1512e15628ab6a16>)(#<gnus-search-namazu gnus-search-namazu-156189856662> "nnml:" ((query . "+from:[email-masked]") (raw)) ("nnml:KFA-FBL"))
  apply(#f(compiled-function (engine server query &optional groups) #<bytecode -0x1512e15628ab6a16>) #<gnus-search-namazu gnus-search-namazu-156189856662> ("nnml:" ((query . "+from:[email-masked]") (raw)) ("nnml:KFA-FBL")))
  gnus-search-indexed-parse-output(#<gnus-search-namazu gnus-search-namazu-156189856662> "nnml:" ((query . "+from:[email-masked]") (raw)) ("nnml:KFA-FBL"))
  #f(compiled-function (engine server query groups) "Run QUERY against SERVER using ENGINE.\nThis method is common to all indexed search engines.\n\nReturns a list of [group article score] vectors." #<bytecode -0x14990fb58c523306>)(#<gnus-search-namazu gnus-search-namazu-156189856662> "nnml:" ((query . "+from:[email-masked]") (raw)) ("nnml:KFA-FBL"))
  apply(#f(compiled-function (engine server query groups) "Run QUERY against SERVER using ENGINE.\nThis method is common to all indexed search engines.\n\nReturns a list of [group article score] vectors." #<bytecode -0x14990fb58c523306>) (#<gnus-search-namazu gnus-search-namazu-156189856662> "nnml:" ((query . "+from:[email-masked]") (raw)) ("nnml:KFA-FBL")))
  #f(compiled-function (&rest cnm-args) #<bytecode 0xf8e552620c26b56>)()
  #f(compiled-function (cl--cnm e server query groups) #<bytecode -0xee958af24c64d80>)(#f(compiled-function (&rest cnm-args) #<bytecode 0xf8e552620c26b56>) #<gnus-search-namazu gnus-search-namazu-156189856662> "nnml:" ((query . "+from:[email-masked]") (raw)) ("nnml:KFA-FBL"))
  apply(#f(compiled-function (cl--cnm e server query groups) #<bytecode -0xee958af24c64d80>) #f(compiled-function (&rest cnm-args) #<bytecode 0xf8e552620c26b56>) (#<gnus-search-namazu gnus-search-namazu-156189856662> "nnml:" ((query . "+from:[email-masked]") (raw)) ("nnml:KFA-FBL")))
  #f(compiled-function (&rest args) #<bytecode 0xda2e1934f892579>)(#<gnus-search-namazu gnus-search-namazu-156189856662> "nnml:" ((query . "+from:[email-masked]") (raw)) ("nnml:KFA-FBL"))
  apply(#f(compiled-function (&rest args) #<bytecode 0xda2e1934f892579>) #<gnus-search-namazu gnus-search-namazu-156189856662> ("nnml:" ((query . "+from:[email-masked]") (raw)) ("nnml:KFA-FBL")))
  gnus-search-run-search(#<gnus-search-namazu gnus-search-namazu-156189856662> "nnml:" ((query . "+from:[email-masked]") (raw)) ("nnml:KFA-FBL"))
  #f(compiled-function (arg0) #<bytecode -0x9685499bb4f6a22>)(("nnml:" "nnml:KFA-FBL"))
  mapc(#f(compiled-function (arg0) #<bytecode -0x9685499bb4f6a22>) (("nnml:" "nnml:KFA-FBL")))
  gnus-search-run-query(((search-query-spec (query . "+from:[email-masked]") (raw)) (search-group-spec ("nnml:" "nnml:KFA-FBL"))))
  nnselect-run(((nnselect-function . gnus-search-run-query) (nnselect-args (search-query-spec (query . "+from:[email-masked]") (raw)) (search-group-spec ("nnml:" "nnml:KFA-FBL")))))
  nnselect-request-group("nnselect-87tun1dhn9.fsf" "nnselect-ephemeral" t ("nnselect:nnselect-87tun1dhn9.fsf" 3 nil nil (nnselect "nnselect-ephemeral" (nnselect-address "nnselect")) ((quit-config #<buffer *Group*> . group) (nnselect-specs (nnselect-function . gnus-search-run-query) (nnselect-args (search-query-spec (query . "+from:[email-masked]") (raw)) (search-group-spec ("nnml:" "nnml:KFA-FBL")))) (nnselect-artlist))))
  gnus-request-group("nnselect:nnselect-87tun1dhn9.fsf" t nil ("nnselect:nnselect-87tun1dhn9.fsf" 3 nil nil (nnselect "nnselect-ephemeral" (nnselect-address "nnselect")) ((quit-config #<buffer *Group*> . group) (nnselect-specs (nnselect-function . gnus-search-run-query) (nnselect-args (search-query-spec (query . "+from:[email-masked]") (raw)) (search-group-spec ("nnml:" "nnml:KFA-FBL")))) (nnselect-artlist))))
  gnus-select-newsgroup("nnselect:nnselect-87tun1dhn9.fsf" t nil)
  gnus-summary-read-group-1("nnselect:nnselect-87tun1dhn9.fsf" t t nil nil nil)
  gnus-summary-read-group("nnselect:nnselect-87tun1dhn9.fsf" t t nil nil nil nil)
  gnus-group-read-group(t t "nnselect:nnselect-87tun1dhn9.fsf" nil)
  gnus-group-read-ephemeral-group("nnselect-87tun1dhn9.fsf" (nnselect "nnselect") nil (#<buffer *Group*> . group) nil nil ((nnselect-specs (nnselect-function . gnus-search-run-query) (nnselect-args (search-query-spec (query . "+from:[email-masked]") (raw)) (search-group-spec ("nnml:" "nnml:KFA-FBL")))) (nnselect-artlist)))
  gnus-group-read-ephemeral-search-group(nil)
  funcall-interactively(gnus-group-read-ephemeral-search-group nil)
  call-interactively(gnus-group-read-ephemeral-search-group nil nil)
  command-execute(gnus-group-read-ephemeral-search-group)

Regards,
Torsten.

-- 
Torsten Bronger