[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Webglimpse Home]

wgall.html output



Hello all,

I am evaluating webglimpse 1.7.7 and having a problem.  The version
of glimpse I'm using is 4.12.5.  The problem is what when I use the
provided wgall.html page, there are few things that are a little
strange.

First, I get a message at the top of the html page that says "using
working-directory '/home/ritweb/Search' to locate dictionaries"

After hunting though the source, I've found where the message is coming
from and it's in agrep.c line ~3009.  For some reason agrep doesn't
think it's getting a COMP_DIR parameter, but it is.  The following 
line is in the comments of the generated html page from the "webglimpse"
cgi script:

<!-- Glimpse command: /opt/glimpse/bin/glimpse -U -W -j -y     -i -w -0
     -H /home/ritweb/Search -F '^/home/ritweb' 'RUTH' | -->

so the -H option should be filling that parameter, and I should never
see this message.  However, it's falling back to using getwd() and
then prints the above "using working..." error message.

Another oddity, when I run the above command from the command line, I
don't get the error.

Any help would be appreciated.  I can always just comment that
line out of the source, but I hesitate performing such a "hack"

I should also note that wgindex.html works without error.

Thanks in advance,

Bryan Jacquot
bryanj@fc.hp.com
970-898-0083