[Xapian-discuss] Omega cgi question

Olly Betts olly at survex.com
Wed Sep 1 20:07:45 BST 2004


On Wed, Sep 01, 2004 at 06:46:37PM +0100, Olly Betts wrote:
> On Wed, Sep 01, 2004 at 01:40:31PM -0400, Jim Lynch wrote:
> > Fixed.  The database directories weren't open for "other" read/execute 
> > access. 
> 
> Aha!  We should handle this case better - I'll address that.

Using GCC on Linux, I don't get an exception.  Instead I get "Searching
0 documents" (not ideal, but at least cleaner).

Hmm, I wonder if we're dividing by zero or similar somewhere when trying
to use a Database object with no databases inside it.  Perhaps GCC is
giving NaN while SGI's CC throws an exception.

Are you able to run this under a debugger and find out where the
exception originates from?

> > >What do you mean by "run it from the command line with no parameters"
> > >exactly?  How does that differ from what you describe below?
> >
> > No input lines at all.
> 
> Oh, I see.  This may be a separate problem then.  I'll take a look.

Jim pointed out in a private mail that he has no default database, so
it's probably actually the same issue.

Cheers,
    Olly



More information about the Xapian-discuss mailing list