According to Richard Andrews:
> When I run htdig (under KDevelop) the following is output with a final " *** 
> failed *** " message.
> 
> Here is the output:
> =====================
> New server: usr, 80
> Unknown host: usr
> 
> New server: localhost, 80
> 0:1:0:file://localhost/usr/share/doc/kdelibs-devel-3/dcop/DCOPConnection.html:
>  not changed
> .
> << SNIP lots of "not changed" messages - I've run htdig quite often now>>
> .
> 3630:3631:0:file://localhost/usr/lib/qt3/doc/html/xt-motif-examples.html:  not 
> changed
> htdig: Run complete
> htdig: 2 servers seen:
> htdig:     localhost:80 3631 documents
> htdig:     usr:80 0 documents
> htmerge: Sorting...
> htmerge: Merging...
> htmerge: 100:00b200              
> htmerge: 200:00liblibquis              
> htmerge: 300:010bch 
> .
> << SNIP lots of htmerge messages - all normal >>
> .
> htmerge: 99700:zzzy8bablfoo              
> 
> htmerge: Total word count: 99730
> htmerge: Document database has no URLs. Check your config file and try running 
> htdig again.
> Finished!

Based on the messages above, I'd guess that you're running htdig version
3.1.6.  But the 3.1.x versions don't handle file:/ URLs, so unless the
KDevelop developers have patched htdig so it can, this doesn't make a lot
of sense to me.

> The following files are created:
> db.docdb 14,6 MB
> db.docs.index  2,0 kb
> db.wordlist 18,9 MB
> db.words.db 19,3 MB
> 
> Is this a problem because htdig is only indexing local files (covered by the 
> local_urls: file://localhost/=/ attribute) ??

No, but it would seem that htmerge is rejecting all the file:/ URLs that
it finds in db.docdb, so it ends up putting nothing into db.docs.index
(hence the small size, and the error above).  htmerge can't tell whether
a given URL in the database was fetched via local_urls or not, as it doesn't
look at that attribute nor the file system(s) referenced by it.

> Could someone please tell me which parameter to adjust in the config file as 
> I've exhausted my ideas and I feel like I'm just shooting blindly in the 
> dark.

Is it possible that your db.docdb was created by a 3.2.x beta of htdig?
This seems unlikely to me, but I can't see how else all those file:/
URLs got in there otherwise (assuming vanilla htdig code).  The other
possibility is that you're using a version of the ht://Dig 3.1.x package
in which htdig was patched to allow file:/ URLs, but the htmerge 3.1.6
program you're using now hasn't been patched.  If that's the case, where
are the patches for this?  I don't recall seeing such a patch in the
standard patch archive at ftp.ccsf.org.

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

_______________________________________________
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