Gnus development mailing list
 help / color / mirror / Atom feed
* nnir and swish++?
@ 2001-06-20 21:31 Josh Huber
  2001-06-21  7:47 ` Marco Lonsing
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Josh Huber @ 2001-06-20 21:31 UTC (permalink / raw)


Well, swish++ looks to be working great, but I'm having trouble
getting nnir.el to interface properly with it.

here are my relevant settings:

(require 'nnir)
(setq nnir-search-engine 'swish++)

short!

I'm getting the error:

Signaling: (wrong-type-argument arrayp nil)
  nnir-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ...) "((query . \"from=josh huber\"))" "-ephemeral" nil)
  gnus-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ...) "nnir:((query . \"from=josh huber\"))" nil)
  gnus-cache-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ...) "nnir:((query . \"from=josh huber\"))" nil)
  gnus-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ...) "nnir:((query . \"from=josh huber\"))" nil)
  gnus-fetch-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ...))
  gnus-select-newsgroup("nnir:((query . \"from=josh huber\"))" t nil)
  gnus-summary-read-group-1("nnir:((query . \"from=josh huber\"))" t t nil nil nil)
  gnus-summary-read-group("nnir:((query . \"from=josh huber\"))" t t nil nil nil nil)
  gnus-group-read-group(t t "nnir:((query . \"from=josh huber\"))" nil)
  byte-code("..." [select-articles group gnus-group-read-group t] 5)
  gnus-group-read-ephemeral-group("((query . \"from=josh huber\"))" (nnir "") t (#<buffer "*Group*"> . message) nil)
  gnus-group-make-nnir-group(nil "from=josh huber")
  call-interactively(gnus-group-make-nnir-group)

any ideas?

-- 
Josh Huber


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: nnir and swish++?
  2001-06-20 21:31 nnir and swish++? Josh Huber
@ 2001-06-21  7:47 ` Marco Lonsing
  2001-06-21 14:06 ` Karl Kleinpaste
  2001-06-22 10:00 ` Kai Großjohann
  2 siblings, 0 replies; 9+ messages in thread
From: Marco Lonsing @ 2001-06-21  7:47 UTC (permalink / raw)


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

Josh Huber <huber@alum.wpi.edu> writes:

> Well, swish++ looks to be working great, but I'm having trouble
> getting nnir.el to interface properly with it.
> 
> here are my relevant settings:
> 
> (require 'nnir)
> (setq nnir-search-engine 'swish++)
> 

The following setup is working for me:

(require 'nnir)
(setq nnir-mail-backend (quote (nnml "mail")))
(setq nnir-search-engine (quote swish++))
(setq nnir-swish++-program "/usr/local/bin/search")
(setq nnir-swish++-configuration-file "/home/marco/.swish++/config.mail")
(setq nnir-swish++-remove-prefix "/home/marco/Mail/")


[-- Attachment #2: config.mail --]
[-- Type: text/plain, Size: 264 bytes --]

# Swish++ Konfiguration

IndexFile	/home/marco/.swish++/index.mail
FollowLinks	true 
TempDirectory   /tmp/

#Subject o.ä. kann in den ersten 25 Zeilen stehen
TitleLines	25

#Zu indizierende Dateien
IncludeFile	html *.htm*
IncludeFile	mail *.*
IncludeFile	mail *



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



-- 
Marco Lonsing
Mathematik XI - Numerik	       email: Marco.Lonsing@ruhr-uni-bochum.de
Ruhr-Universitaet Bochum       phone: +49-234-32-23244
Universitaetsstr. 150	       fax  : +49-234-32-03244
D-44721 Bochum, GERMANY	       www  : http://www.ruhr-uni-bochum.de/num1/marco/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: nnir and swish++?
  2001-06-20 21:31 nnir and swish++? Josh Huber
  2001-06-21  7:47 ` Marco Lonsing
@ 2001-06-21 14:06 ` Karl Kleinpaste
  2001-06-21 14:44   ` Josh Huber
  2001-06-21 18:46   ` Wes Hardaker
  2001-06-22 10:00 ` Kai Großjohann
  2 siblings, 2 replies; 9+ messages in thread
From: Karl Kleinpaste @ 2001-06-21 14:06 UTC (permalink / raw)


Personally, I'm simply annoyed that swish++ won't build under
RedHat7.1 at all.  I don't do c++; anyone holding a clue?  g++ is
"2.96".

g++ -DMOD_HTML -DMOD_MAIL -DMOD_MAN -DSEARCH_DAEMON -DMULTI_THREADED -D_REENTRANT  -DLinux   -O3 -fno-exceptions   -c -o conf_string.o conf_string.c
In file included from conf_string.c:27:
conf_string.h: In function `bool operator== (const conf<string> &, 
const conf<string> &)':
conf_string.h:49: no match for `const string & == const string &'
conf_string.h:48: candidates are: bool operator== (const conf<string> 
&, const conf<string> &)
conf_string.h:57:                 bool operator== (const conf<string> 
&, const string &)
conf_string.h:66:                 bool operator== (const string &, 
const conf<string> &)
conf_string.h:74:                 bool operator== (const conf<string> 
&, const char *)
conf_string.h:81:                 bool operator== (const char *, const 
conf<string> &)
conf_string.h: In function `bool operator== (const conf<string> &, 
const string &)':
conf_string.h:58: no match for `const string & == const 
basic_string<char, string_char_traits<char>, 
__default_alloc_template<true, 0> > &'
conf_string.h:48: candidates are: bool operator== (const conf<string> 
&, const conf<string> &)
conf_string.h:57:                 bool operator== (const conf<string> 
&, const string &)
conf_string.h:66:                 bool operator== (const string &, 
const conf<string> &)
conf_string.h:74:                 bool operator== (const conf<string> 
&, const char *)
conf_string.h:81:                 bool operator== (const char *, const 
conf<string> &)
make: *** [conf_string.o] Error 1

Interestingly, I tried compiling it under RH6.2 as well, which choked
as well, though differently (and later), using egcs 2.91.66:

g++ -DMOD_HTML -DMOD_MAIL -DMOD_MAN -DSEARCH_DAEMON -DMULTI_THREADED -D_REENTRANT  -DLinux   -O3 -fno-exceptions   -c -o file_list.o file_list.c
index_segment.h:90: sorry, not implemented: `namespace_decl' not supported by dump_type
In file included from file_list.h:31,
                 from file_list.c:27:
index_segment.h:90: no class template named `iterator' in `'
index_segment.h:90: confused by earlier errors, bailing out
make: *** [file_list.o] Error 1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: nnir and swish++?
  2001-06-21 14:06 ` Karl Kleinpaste
@ 2001-06-21 14:44   ` Josh Huber
  2001-06-21 15:15     ` Karl Kleinpaste
  2001-06-21 18:46   ` Wes Hardaker
  1 sibling, 1 reply; 9+ messages in thread
From: Josh Huber @ 2001-06-21 14:44 UTC (permalink / raw)


Karl Kleinpaste <karl@charcoal.com> writes:

> Personally, I'm simply annoyed that swish++ won't build under
> RedHat7.1 at all.  I don't do c++; anyone holding a clue?  g++ is
> "2.96".
> 

[...]

> 
> Interestingly, I tried compiling it under RH6.2 as well, which choked
> as well, though differently (and later), using egcs 2.91.66:
> 

[...]

I'm not sure what's gong on here, but it sounds like STL problems
perhaps?  I didn't have a problem building under debian unstable...

back to my original problem though, I tried specifying more
configuration variables (like Marco suggested) for nnir, but to no
avail.  I still have the same error.

I'll take a look later today and see if I can figure out what's going
on.

ttyl,

-- 
Josh Huber


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: nnir and swish++?
  2001-06-21 14:44   ` Josh Huber
@ 2001-06-21 15:15     ` Karl Kleinpaste
  0 siblings, 0 replies; 9+ messages in thread
From: Karl Kleinpaste @ 2001-06-21 15:15 UTC (permalink / raw)


Josh Huber <huber@alum.wpi.edu> writes:
> I'm not sure what's gong on here, but it sounds like STL problems
> perhaps?  I didn't have a problem building under debian unstable...

It turns out that there's an updated release, 5.0.1, which contains
this observation in Changes:

| 5.0.1
| *******************************************************************************
| 
| BUG FIXES
| ---------
| 
| * This releases fixes a lot of compile issues (mostly namespaces) with g++ 3.0.
| 
|   (This bug fix shall be known as bug fix GCC3.)
| 
| * The changes to fix the above have apparantly caused bugs in (at least) g++
|   2.95.3 to manifest themselves:
| 
| 	1. In some cases, the compiler "forgets" that operator<<(
| 	   ostream&, string const& ) has been defined.  The hack
| 	   workaround is to use operator<<( ostream&, char const* ) and
| 	   use string::c_str().
| 
| 	2. The compiler "forgets" that stream manipulators have been defined.
| 	   The workaround is not to use them.  :-(
| 
|   (This fix shall be known as fix OOS.)

A quick attempt at a build of 5.0.1 gave me the same problem, so I'll
have to try to figure out what this means this evening -- I don't have
time to hack on it right now.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: nnir and swish++?
  2001-06-21 14:06 ` Karl Kleinpaste
  2001-06-21 14:44   ` Josh Huber
@ 2001-06-21 18:46   ` Wes Hardaker
  1 sibling, 0 replies; 9+ messages in thread
From: Wes Hardaker @ 2001-06-21 18:46 UTC (permalink / raw)
  Cc: ding

>>>>> On 21 Jun 2001 10:06:25 -0400, Karl Kleinpaste <karl@charcoal.com> said:

Karl> Personally, I'm simply annoyed that swish++ won't build under
Karl> RedHat7.1 at all.  I don't do c++; anyone holding a clue?  g++
Karl> is "2.96".

The c++ compiler that shipped with RH7.1 was beta in nature and the
gcc authors are rather mad at RH for shipping it.  I'd "downgrade"
(which is actually somewhat of an upgrade) to gcc-2.95.2-7 instead.

-- 
"Ninjas aren't dangerous.  They're more afraid of you than you are of them."


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: nnir and swish++?
  2001-06-20 21:31 nnir and swish++? Josh Huber
  2001-06-21  7:47 ` Marco Lonsing
  2001-06-21 14:06 ` Karl Kleinpaste
@ 2001-06-22 10:00 ` Kai Großjohann
  2001-06-22 13:59   ` Josh Huber
  2 siblings, 1 reply; 9+ messages in thread
From: Kai Großjohann @ 2001-06-22 10:00 UTC (permalink / raw)


On 20 Jun 2001, Josh Huber wrote:

> Signaling: (wrong-type-argument arrayp nil)
>   nnir-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

Can you delete nnir.elc, start a new Emacs, and produce a more
complete backtrace?

And also, which version of nnir.el is it?  If not 1.68, does that one
work better?

kai
-- 
~/.signature: No such file or directory


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: nnir and swish++?
  2001-06-22 10:00 ` Kai Großjohann
@ 2001-06-22 13:59   ` Josh Huber
  2002-10-21  3:50     ` Christoph Conrad
  0 siblings, 1 reply; 9+ messages in thread
From: Josh Huber @ 2001-06-22 13:59 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Can you delete nnir.elc, start a new Emacs, and produce a more
> complete backtrace?
> 
> And also, which version of nnir.el is it?  If not 1.68, does that one
> work better?

Thanks, upgrading fixed the problem...nnir is _finally_ working.
After going through 2 previous databases (freeWAIS-sf and glimpse),
I've finally found one that doesn't segfault randomly on my powerpc
laptop. :)

Thanks for the help...

-- 
Josh Huber


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: nnir and swish++?
  2001-06-22 13:59   ` Josh Huber
@ 2002-10-21  3:50     ` Christoph Conrad
  0 siblings, 0 replies; 9+ messages in thread
From: Christoph Conrad @ 2002-10-21  3:50 UTC (permalink / raw)


    > Thanks, upgrading fixed the problem...nnir is _finally_ working.

In nnir 1.68 (the version you got now) a bug is fixed concerning
groups with dots within the name.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-10-21  3:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-20 21:31 nnir and swish++? Josh Huber
2001-06-21  7:47 ` Marco Lonsing
2001-06-21 14:06 ` Karl Kleinpaste
2001-06-21 14:44   ` Josh Huber
2001-06-21 15:15     ` Karl Kleinpaste
2001-06-21 18:46   ` Wes Hardaker
2001-06-22 10:00 ` Kai Großjohann
2001-06-22 13:59   ` Josh Huber
2002-10-21  3:50     ` Christoph Conrad

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