Bug 77587

Summary: dialogbox has text "Index creation finished." even if it failed
Product: [Applications] khelpcenter Reporter: eva
Component: generalAssignee: Cornelius Schumacher <schumacher>
Status: RESOLVED NOT A BUG    
Severity: normal CC: sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description eva 2004-03-14 19:36:57 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    SuSE RPMs
OS:          Linux

It's quite difficult to understand, that an error occured. You can only see it, if you open the "details" field. Also the documentation still has the Status "Missing" afterwards.
Comment 1 Will Stephenson 2005-12-06 11:12:23 UTC
One way it can fail without erroring is if the user cancels a kdesu dialog - in this case, kdesu returns 0 and kcmhelpcenter assumes the indexing took place.  Maybe we can add an additional check that there is an index in the selected directory.
Comment 2 Unknown 2007-09-29 16:47:55 UTC
This is true even vor KDE 3.5.7 in Kubuntu GutsyGibbon Beta.
Dialog says all finished, but in the detailed-box below are erorr messages like:

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

Comment 3 Harald Sitter 2008-08-18 11:08:23 UTC
Install htdig.

Also the message is not completely wrong - it finished processing, but it doesn't claim it was successful. Yes, this is awful, but I am aiming at a replacement of the current index builder, so that should get fixed some day.