Bug 146010 - Error Building "Application Manuals" Indexes
Summary: Error Building "Application Manuals" Indexes
Status: RESOLVED FIXED
Alias: None
Product: khelpcenter
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Cornelius Schumacher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-27 03:19 UTC by Jacob Dorne
Modified: 2010-08-10 21:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kcrash file (6.12 KB, text/plain)
2008-07-21 15:36 UTC, Stroud Custer
Details
crash file (6.10 KB, text/plain)
2008-08-18 22:24 UTC, Ian Humphrey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Dorne 2007-05-27 03:19:43 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Mandriva RPMs
OS:                Linux

In the KDE Help Center on the "Search Options" tab I click Build Search Index, I selected "Application Manuals" and then I clicked Build Index, It said Index Creation finished but then I clicked Details and the following text appeared:

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

So the index creation actually failed.
Comment 1 Stroud Custer 2008-07-21 15:36:46 UTC
Created attachment 26302 [details]
kcrash file

Here's a crash file generated from this bug.
Comment 2 Ian Humphrey 2008-08-18 22:24:27 UTC
Created attachment 26924 [details]
crash file
Comment 3 KitchM 2008-09-21 22:52:44 UTC
I have experienced the same issue many times in the past, and am experiencing it right now on a fresh OS install.

Everything is exactly as related by Jacob.  I get the same message whether I am trying to index the Unix manual pages or a particular program.

I am using Mandriva 2007.0 Spring Free.  I am surprised this has not yet been fixed.  It makes it impossible to use any documentation that was installed initially with the distro.

Is there a patch for it or something?

Thanks.
Comment 4 David Faure 2009-09-17 20:49:05 UTC
SVN commit 1024989 by dfaure:

Show "htdig not found" when htdig is, well, not found. Much better than launching the index creation and then
it appears to have worked except for a small "htdig failed" line in the huge detailed output...
BUG: 146010


 M  +5 -1      kcmhelpcenter.cpp  
 M  +12 -12    searchengine.cpp  
 M  +15 -5     searchhandler.cpp  
 M  +5 -4      searchhandler.h  
 M  +1 -0      searchhandlers/docbook.desktop.cmake  
 M  +1 -0      searchhandlers/htdig.desktop.cmake  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1024989
Comment 5 Christopher Yeleighton 2010-08-10 21:38:11 UTC
(In reply to comment #4)
> SVN commit 1024989 by dfaure:
> 
> Show "htdig not found" when htdig is, well, not found. Much better than
> launching the index creation and then
> it appears to have worked except for a small "htdig failed" line in the huge
> detailed output...
> BUG: 146010

This purpose is better served by saying

#!/usr/bin/perl -w

in the first line of /usr/lib64/kde4/libexec/khc_docbookdig.pl.  Since that is also the recommended invocation string, I would reopen the bug if I knew how to do it.