Bug 77587 - dialogbox has text "Index creation finished." even if it failed
Summary: dialogbox has text "Index creation finished." even if it failed
Status: RESOLVED NOT A BUG
Alias: None
Product: khelpcenter
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Cornelius Schumacher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-14 19:36 UTC by eva
Modified: 2008-08-18 11:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.