Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89515 - building search index for kde 3.4 khelpcenter using htdig fails
Summary: building search index for kde 3.4 khelpcenter using htdig fails
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-18 05:11 UTC by Nik Raub
Modified: 2005-09-09 11:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nik Raub 2005-04-18 05:11:23 UTC
attempting to create a search index in the kde helpcenter results in the following:

Creating index for 'kde_application_manuals' 
 INDEXDIR: /home/bfkeats/.kde3.4/share/apps/khelpcenter/index/ 
 FINDCMD: find /usr/kde/3.4/share/doc/HTML/en/ -name index.docbook 
 Warning: unknown locale! 
 
 New server: home, 80 
 Unknown host: home 
 0:0:0:file://home/draub/.kde3.4/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html: --------------------------------------------------------------------------------------- size = 9075 
 htdig: Run complete 
 htdig: 1 server seen: 
 htdig:     home:80 1 document 
 htmerge: Document database has no URLs. Check your config file and try running htdig again. 
 
 htmerge failed

Reproducible: Always
Steps to Reproduce:
1. start khelpcenter
2. attempt to create search index
3. breaks

Actual Results:  
above message is displayed  

Expected Results:  
create a search index
Comment 1 Jos Delbar 2005-04-24 09:12:05 UTC
Similar problem here.

On a side note, maybe htdig should be a dependency for khelpcenter.
Comment 2 Tod Herman 2005-04-25 16:19:38 UTC
Same problem here.  Trying to create the application doc index which wasn't created yet causes an htdig error:

INDEXDIR: /home/therman/.kde/share/apps/khelpcenter/index
FINDCMD: find /usr/kde/3.4/share/doc/HTML/en/ -name index.docbook
Creating index for 'kde_application_manuals'
htdig failed

Not knowing any better, tried to emerge htdig, which got me the same error as reported by the bug reporter.  After reading more, I got the impression that KDE has its own htdig facility.  If so, then wouldn't that be the culprit here in some way?
Comment 3 Arkadiusz Kolacz 2005-04-27 05:40:28 UTC
I've just downloaded htdig 3.2.0b6 and compiled it from sources (./configure, make, sudo make install), then I've made symlinks to acces htdig, htmerge and htsearch. 

kde-helpcenter and kdevelop documentation index works fine for me.

Maybe somebady should create ebuild with this version...

(my system is ~amd64)
Comment 4 Jos Delbar 2005-06-04 06:07:44 UTC
This bug was reported upstream: http://bugs.kde.org/show_bug.cgi?id=102912 
 
Not much response except "possibly you need newer htdig version". 
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2005-07-14 10:17:23 UTC
looks like one of these bugs that will need someone to spend some time to 
figure out. :) 
Comment 6 Nik Raub 2005-07-14 23:41:20 UTC
actually, using the new unstable htdig ebuild, everyhing works fine :) 
Comment 7 Ruben Jenster 2005-09-09 11:08:46 UTC
@Nik 
 
I have also installed the newest htdig version.htdig seems to finishe 
"successfully" but fulltext search in the programm handbooks doesn't work 
anyhow. 
 
 
INDEXDIR: /home/ruben/.kde3.4/share/apps/khelpcenter/index/ 
FINDCMD: find /usr/kde/3.4/share/doc/HTML/en/ -name index.docbook 
Creating index for 'kde_application_manuals' 
ht://dig Start Time: Fri Sep  9 20:00:36 2005 
Warning: unknown locale! 
 
New server: localhost, 0 
0:2:0:file:///home/ruben/.kde3.4/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html:  
New server: ark, 80 
+ 
New server: kdf, 80 
[...] 
+ 
New server: korganizer, 80 
+ size = 18589 
1:58:1:help://ksirtet/index.docbook:  size = 13312 
2:112:1:help://kcontrol/index.docbook:  size = 17129 
3:90:1:help://passwords/index.docbook:  host not found 
4:135:1:help://kamera/index.docbook:  size = 1856 
5:52:1:help://faq/index.docbook:  host not found 
6:3:1:help://ark/index.docbook:  size = 21950 
7:184:1:help://korganizer/index.docbook:  size = 123577 
8:155:1:help://kuickshow/index.docbook:  size = 16936 
9:36:1:help://kjots/index.docbook:  size = 15257 
10:32:1:help://kdesu/index.docbook:  size = 12214 
11:149:1:help://noatun/index.docbook:  size = 16518 
12:66:1:help://kbackgammon/index.docbook:  size = 16339 
13:125:1:help://imgallery/index.docbook:  host not found 
[...] 
179:43:1:help://klipper/index.docbook:  size = 17212 
180:13:1:help://kmid/index.docbook:  size = 38171 
181:165:1:help://pci/index.docbook:  host not found 
182:97:1:help://crypto/index.docbook:  host not found 
htdig: Run complete 
htdig: 183 servers seen: 
htdig:     akregator:80 1 document 
htdig:     amarok:80 1 document 
htdig:     ark:80 1 document 
htdig:     arts:80 1 document 
htdig:     artsbuilder:80 1 document 
htdig:     babel:80 1 document 
htdig:     background:80 1 document 
htdig:     bell:80 1 document 
htdig:     cache:80 1 document 
htdig:     cervisia:80 1 document 
htdig:     clock:80 1 document 
htdig:     colors:80 1 document 
[...] 
 
htdig: Errors to take note of: 
Unknown host or unable to contact server: help://passwords/index.docbook Ref: 
file:///home/ruben/.kde3.4/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html 
Unknown host or unable to contact server: help://faq/index.docbook Ref: 
file:///home/ruben/.kde3.4/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html 
Unknown host or unable to contact server: help://imgallery/index.docbook Ref: 
file:///home/ruben/.kde3.4/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html 
Unknown host or unable to contact server: help://ioports/index.docbook Ref: 
file:///home/ruben/.kde3.4/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html 
Unknown host or unable to contact server: help://dirfilter/index.docbook Ref: 
file:///home/ruben/.kde3.4/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html 
[...] 
 
HTTP statistics 
=============== 
 Persistent connections    : Yes 
 HEAD call before GET      : Yes 
 Connections opened        : 0 
 Connections closed        : 0 
 Changes of server         : 0 
 HTTP Requests             : 0 
 HTTP KBytes requested     : 0 
 HTTP Average request time : 0 secs 
 HTTP Average speed        : 0 KBytes/secs 
ht://dig End Time: Fri Sep  9 20:01:37 2005 
Finished successfully.