According to Peter Neergaard:
> I recently installed Mandrake 7.2 where htdig version 3.1.5 is
> installed as part of the base installation to support KDE.  The
> Mandrake RPM installs a cron script that runs rundig daily.  For a
> good while that produced the following error message:
> 
>       DB2 problem...: missing or empty key value specified
> 
> I do not use htdig for indexing a web server, but as far as I can tell
> it is needed by kde for running.
> 
> Searching on your web page, the best clue to the error message I could
> find where the thread ``DB2 problem ...: missing or empty key value
> specified'' (http://www.htdig.org/mail/1999/08/0244.html).  Reading
> through the thread whether you have solved the problem.
> 
> In my case, I eventually worked around the error by installing a small
> non-empty web page (concretely, it contains the three words
> ``Intentionally empty page.'').  In my case, it thus seems that the
> message was generated by htmerge having to work with an empty word
> list (as suggested by the thread message
> about:http://www.htdig.org/mail/1999/08/0254.html).
> 
> If this is a general problem, it would seem that either htmerge or
> rundig should be changed to handle the case of an empty word list.  Or
> a least, have htmerge produce a less cryptic error message.
> 
> I hope this can be to some help.

Yes, thanks for the review and tips.  It actually took a while before we
got to the bottom of this problem, so now that we know what causes it, it
may be easier to check for.  At least we can give a reasonable answer when
it comes up, which isn't that frequently.  If I'm not mistaken, it's not
just an empty wordlist or database that causes this, but rather a database
that becomes empty when its last record is deleted.  If someone can suggest
a snippet of code that would test for this condition before it causes an
error, or a way of catching the error, then I can find the appropriate
places in htdig and/or htmerge to insert it.

> Best regards
> 
> Peter M�ller Neergaard
> -- 
> http://cs-people.bu.edu/turtle/contact.html
> ``Those who forget the past are condemned to repeat it''---Salman Rushdie

Actually, it was George Santayana who said: "Those who cannot remember the
past are condemned to repeat it."

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to