Thanks for the help!   I believe the build_select_lists is exactly what
I'm looking for in regards to passing the information between screens.

You mentioned being able to use multiple config parameters.  I do that
right now with several different config files...each one represents a
different year / different filing type ...as well as a different
database for each.  Is it possible to have a user choose one config
parameter and point to two databases (say for the two I couldn't merge
when I rec'd segmentation fault errors?)

I tried running htdig again on the files I need to index and rec'd this
error message:

FATAL ERROR:Compressor::get_vals invalid comptype
FATAL ERROR at file:WordBitCompress.cc line:827!!!
Segmentation fault

Is there anything that I can do to avoid or fix this error?  I've tried
removing the files it seems to choke on, but it ends up choking on a
different one when I rerun htdig.  I've tried running htdig with -i as
well as -a...both seem to die.

Thanks for all the previous help!

Abbie  

-----Original Message-----
From: Jim Cole [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 23, 2003 11:23 PM
To: Abbie Greene
Cc: [EMAIL PROTECTED]
Subject: Re: [htdig] HTDig Aborted and Segmentation Faults

On Friday, March 21, 2003, at 05:32 AM, Abbie Greene wrote:

> I'm having some problems running HTDig on two certain folders.  The
> documents it's indexing are either HTML or TXT.  I ran HTDig awhile 
> back
> on one of the folders (2002 10Ks), and it indexed everything fine (the
> database is around 1.1G, and takes a couple of days to run).  However
I
> received some new files to index in with these older ones, so I ran
> htdig -a -c [conf file] -vvv -s to index the new files.  However, I 
> kept
> receiving a segmentation fault after about 2 hours of htdig running.
I
> thought 'oh the problem must be the new files'...however I ran .htdig 
> on
> the new files, (only 100 or so), and everything indexed great.  So now

> I
> have an 'old' files database that does not contain the new ones and a
> new file database.  However when I run htdig on all the files it
always
> fails.  It doesn't seem to fail on the same file each time, but around
> the same timespan after it started.  I tried running .htmerge to merge
> the two databases...no way.  It 'killed' my linux box...totally
brought
> it to a screeching halt after about 3 hours ... just ate up all the
> resources.  Any ideas how I might get these two databases together?

With the 3.2 code you can supply multiple config parameters in your 
search page. So if you set up separate config files for each database 
you want to search and specify each in the search page, htsearch should 
hit all of the database and present the merged results. Perhaps this 
would serve as a temporary work around?

> The other is an abort notice I'm receiving when I run HTDig on a set
of

There is a known problem with database corruption in recent 3.2 
snapshots. This is likely the problem responsible for the aborts and 
segfaults you are running into. Efforts are currently being made to 
track down and correct the problem.

> Last question (I promise).  My htsearch.htm file has several different
> conf files to choose from using radio buttons.  When a user chooses a
> certain cof file on the first screen, how can that variable be passed 
> to
> the next screen (like header.html) so that the relevant radio button
is
> checked?  I see that htsearch uses $&(CONF)" however I wasn't sure how
> to utilize this in the sense of 'checking' radio buttons.

If you haven't already done so, you might want to take a look at the 
following two attributes.

http://www.htdig.org/dev/htdig-3.2/attrs.html#allow_in_form
ttp://www.htdig.org/dev/htdig-3.2/attrs.html#build_select_lists

Jim

> I'm running htdig 3.2.0b4 on redhat linux 8.0.



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to