Gnus development mailing list
 help / color / mirror / Atom feed
From: Andreas Seltenreich <andreas+ding@gate450.dyndns.org>
Subject: Re: nnir.el error
Date: Thu, 08 Jun 2006 07:47:25 +0200	[thread overview]
Message-ID: <87d5dkkxle.fsf@gate450.dyndns.org> (raw)
In-Reply-To: <87lks9nkof.fsf@nokile.rath.org>

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

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.

It looks like an unlucky interaction between nnir-read-server-parm
falling back to global variables, and nnoo managing the global
variables when they're used inside select methods.

This seems to cause various errors depending on the combination of
engines and backends used, and the order of them in
gnus-opened-servers.

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)?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: nnir.diff --]
[-- Type: text/x-patch, Size: 556 bytes --]

Index: nnir.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/contrib/nnir.el,v
retrieving revision 7.16
diff -c -r7.16 nnir.el
*** nnir.el	8 Jun 2006 05:40:50 -0000	7.16
--- nnir.el	8 Jun 2006 05:41:40 -0000
***************
*** 1506,1513 ****
  	  ((and nnir-mail-backend
  		(gnus-server-equal method nnir-mail-backend))
  	   (symbol-value key))
- 	  ((null nnir-mail-backend)
- 	   (symbol-value key))
  	  (t nil))))
  ;;     (if method
  ;;       (if (assq key (cddr method))
--- 1506,1511 ----

[-- Attachment #3: Type: text/plain, Size: 18 bytes --]


regards,
andreas

  reply	other threads:[~2006-06-08  5:47 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 [this message]
2006-06-08  9:49   ` Nikolaus Rath
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=87d5dkkxle.fsf@gate450.dyndns.org \
    --to=andreas+ding@gate450.dyndns.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).