I have a strange problem with omega. When I run it from the command line like: <oasisminus 118> ./omega.cgi omega - omega 0.8.3 (compiled Sep 21 2004 10:58:48) Enter NAME=VALUE lines, end with blank line FMT=xml xFILTERS=--O DB=/closed20/closed21/closed22/closed23/closed24/closed25/closed26/closed27/bugs/sbs/open/patches DEFAULTOP=and P=linda watkins I get the following: (truncated a bit) Content-Type: text/html <?xml version='1.0' encoding='UTF-8' ?> <results Query="linda watkins" TopDoc="0" Matches="13" Last="10" ThisPage="1" LastPage="2" xP="linda.watkin." xDB="closed20/closed21/closed22/closed23/closed24/closed25/closed26/closed27/bug s/sbs/open/patches" > <queryterms> <queryterm term="linda" show="linda" freq="3253" /> <queryterm term="watkin" show="watkins" freq="2076" /> </queryterms> <hits> <hit id="111328" relavence="100%" modtime="" ... But if I call it from a browser or using lwp from perl, I get the following: http://oasisminus.csd.sgi.com/cgi-bin/omega.cgi?FMT=xml&xFILTERS=--O&DB=/closed20/closed21/closed22/closed23/closed24/closed25/closed26/closed27/bugs/sbs/open/patches&DEFAULTOP=and&P=linda%20watkins (it's behind a firewall so you can't get to it) <?xml version='1.0' encoding='UTF-8' ?> <results Query="linda watkins" TopDoc="0" Matches="0" Last="0" ThisPage="1" LastPage="0" xP="linda.watkin." xDB="closed20/closed21/closed22/closed23/closed24/closed25/closed26/closed27/bugs" > <queryterms> <queryterm term="linda" show="linda" freq="2897" /> <queryterm term="watkin" show="watkins" freq="2015" /> </queryterms> <hits> </hits> </results> Any ideas where I should start looking for the problem? I'm running 0.8.3 on Irix. I'm fairly certain it used to work. Jim.
On Fri, Oct 22, 2004 at 03:14:16PM -0400, Jim Lynch wrote:> xDB="closed20/closed21/closed22/closed23/closed24/closed25/closed26/closed27/bug > s/sbs/open/patches"> xDB="closed20/closed21/closed22/closed23/closed24/closed25/closed26/closed27/bugs"The CGI run has lost the last 3 databases. But you did pass them in the DB parameter, so I don't know why. There's no hardcoded limit on the number of databases (though you'll run out of filehandles at some point as each one needs 5). But even then you should get an error, not them being silently ignored. Does IRIX have something like strace or truss to allow library and/or system calls to be traced? If so, a shell script wrapper for the CGI which dumps the trace to a file might give some clue. Cheers, Olly