Gnus development mailing list
 help / color / mirror / Atom feed
From: Nikolaus Rath <Nikolaus@rath.org>
Subject: Re: nnir.el error
Date: Thu, 08 Jun 2006 11:49:40 +0200	[thread overview]
Message-ID: <878xo8q8nf.fsf@nokile.rath.org> (raw)
In-Reply-To: <87d5dkkxle.fsf@gate450.dyndns.org>

Andreas Seltenreich <andreas+ding@gate450.dyndns.org> writes:
> Nikolaus Rath <Nikolaus@rath.org> writes:
>
>> I just downloaded nnir.el from CVS and tried to run it with swish-e. I
>> added
>>
>>  gnus-secondary-select-methods '((nnml ""
>>                                        (nnml-directory "~/Gnus/Groups/")
>>                                        (nnml-use-compressed-files t)
>>                                        (nnir-search-engine swish-e)
>>                                        (nnir-swish-e-index-files ("/home/nikratio/Gnus/swish-e/index.swish-e"))
>>                                        (nnir-swish-e-remove-prefix "/home/nikratio/Gnus/swish-e/") )
>>                                  (nnimap ""
>>                                          (nnimap-server-address "xxxx")
>>                                          (nnimap-stream starttls)
>>                                          (nnir-search-engine imap)))
>>
>> to my configuration and created the index file. However, when I run G
>> G in the Group Buffer, this results in
>>
>> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>>   aset(nil 0 228)
>>   (mail-header-set-number novitem art)
>
> I faintly remember that this was the reason I once resorted to
> manually switching the global variables around instead of using server
> variables to search with multiple engines.
>
> Does it work for you with nnir.el from CVS plus the following patch
> and nnir-mail-backend set to nil (it isn't by default)?

No, similar error:

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  aset(nil 0 306)
  (mail-header-set-number novitem art)
  (while (not (null artlist)) (setq art (car artlist)) (or (numberp art) (nnheader-report ... "nnir-retrieve-headers doesn't grok message ids: %s" art)) (setq artitem (nnir-artlist-article nnir-artlist art)) (setq artrsv (nnir-artitem-rsv artitem)) (setq artfullgroup (nnir-artitem-group artitem)) (setq artno (nnir-artitem-number artitem)) (setq artgroup (gnus-group-real-name artfullgroup)) (setq server (nnir-group-server artfullgroup)) (set-buffer nntp-server-buffer) (nnir-possibly-change-server server) (let (...) (case ... ... ... ...)) (mail-header-set-number novitem art) (mail-header-set-from novitem (mail-header-from novitem)) (mail-header-set-subject novitem (format "[%d: %s/%d] %s" artrsv artgroup artno ...)) (push novitem novdata) (setq artlist (cdr artlist)))
  (let ((artlist ...) (art nil) (artitem nil) (artgroup nil) (artno nil) (artrsv nil) (artfullgroup nil) (novitem nil) (novdata nil) (foo nil) server) (while (not ...) (setq art ...) (or ... ...) (setq artitem ...) (setq artrsv ...) (setq artfullgroup ...) (setq artno ...) (setq artgroup ...) (setq server ...) (set-buffer nntp-server-buffer) (nnir-possibly-change-server server) (let ... ...) (mail-header-set-number novitem art) (mail-header-set-from novitem ...) (mail-header-set-subject novitem ...) (push novitem novdata) (setq artlist ...)) (setq novdata (nreverse novdata)) (set-buffer nntp-server-buffer) (erase-buffer) (mapcar (quote nnheader-insert-nov) novdata) (quote nov))
  (save-excursion (let (... ... ... ... ... ... ... ... ... ... server) (while ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (setq novdata ...) (set-buffer nntp-server-buffer) (erase-buffer) (mapcar ... novdata) (quote nov)))
[...]


   --Nikolaus

-- 
Die meisten Menschen pflegen im Kindesalter vom Zeigen auf Gegenstände
(Mausbewegung) und "ga" sagen (Mausklick) abzukommen, zugunsten eines
mächtigeren und langwierig zu erlernenden Tools (Sprache).
                              Achim Linder in de.comp.os.unix.linux.misc




  reply	other threads:[~2006-06-08  9:49 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-07 13:45 Nikolaus Rath
2006-06-08  5:47 ` Andreas Seltenreich
2006-06-08  9:49   ` Nikolaus Rath [this message]
2006-06-09 18:59     ` Andreas Seltenreich
2006-06-10  3:41       ` Andreas Seltenreich
2006-06-10 20:49         ` Nikolaus Rath
2006-06-10 22:07           ` Andreas Seltenreich
2006-06-11 10:43             ` Nikolaus Rath
2006-06-11 11:35               ` Reiner Steib
2006-06-11 12:14                 ` Nikolaus Rath
2006-06-11 21:07                   ` Reiner Steib
2006-06-11 14:51               ` Andreas Seltenreich
2006-06-12  7:32                 ` Nikolaus Rath
2006-06-12 22:12                   ` Andreas Seltenreich
2006-06-10  7:06       ` Nikolaus Rath
2006-06-10  7:59         ` Andreas Seltenreich
2006-06-10  9:30           ` Nikolaus Rath
2006-06-08  9:56   ` Nikolaus Rath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878xo8q8nf.fsf@nokile.rath.org \
    --to=nikolaus@rath.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).