From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63323 Path: news.gmane.org!not-for-mail From: Nikolaus Rath Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir.el error Date: Thu, 08 Jun 2006 11:49:40 +0200 Message-ID: <878xo8q8nf.fsf@nokile.rath.org> References: <87lks9nkof.fsf@nokile.rath.org> <87d5dkkxle.fsf@gate450.dyndns.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1149761665 5726 80.91.229.2 (8 Jun 2006 10:14:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Jun 2006 10:14:25 +0000 (UTC) Original-X-From: ding-owner+m11851@lists.math.uh.edu Thu Jun 08 12:14:23 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FoHWx-00039y-6H for ding-account@gmane.org; Thu, 08 Jun 2006 12:14:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FoHWg-0008Km-00; Thu, 08 Jun 2006 05:14:06 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FoHSr-0008Kg-00 for ding@lists.math.uh.edu; Thu, 08 Jun 2006 05:10:09 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FoHSp-0008Iu-A4 for ding@lists.math.uh.edu; Thu, 08 Jun 2006 05:10:09 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FoHSo-0001Yd-00 for ; Thu, 08 Jun 2006 12:10:06 +0200 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FoHSk-0002ON-4W for ding@gnus.org; Thu, 08 Jun 2006 12:10:02 +0200 Original-Received: from dslb-084-061-040-100.pools.arcor-ip.net ([84.61.40.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Jun 2006 12:10:02 +0200 Original-Received: from Nikolaus by dslb-084-061-040-100.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Jun 2006 12:10:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 49 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dslb-084-061-040-100.pools.arcor-ip.net Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:kX1iO2utNsN5eD6wyVVW38zlzsM= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63323 Archived-At: Andreas Seltenreich writes: > Nikolaus Rath 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