Bug 100845 - ht://Dig isn't mentioned in doc search error message
Summary: ht://Dig isn't mentioned in doc search error message
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Documentation viewer (show other bugs)
Version: 3.1.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-04 23:00 UTC by Jakob Petsovits
Modified: 2006-12-16 21:40 UTC (History)
2 users (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 Jakob Petsovits 2005-03-04 23:00:58 UTC
Version:           3.1.2 (using KDE KDE 3.3.2)
Installed from:    Gentoo Packages
OS:                Linux

When right clicking an expression in the editor, I can select 'Search in Documentation: [expression]'. The search interface of the Documentation plugin then uses the various ht://Dig programs (as I found out), but if they are not installed, I get an error message: "Cannot find the htsearch executable.".

Altough googling for the package that contains the htsearch executable was easy, it would be more convenient to add an explanation to the error message, which would on the whole look approximately like:

"Cannot find the htsearch executable.
It is part of the ht://Dig package that is used by KDevelop for index generating and searching the documentation. If you want to use the 'Search' functionality, please install a copy of ht://Dig (http://www.htdig.org) and fill in the executable locations in the Documentation / Full Text Search section of the KDevelop Settings Dialog."

Or something like that.
Comment 1 Matt Rogers 2005-03-11 22:15:07 UTC
because of the string freeze, the soonest we could add a more detailed error message would be for KDevelop 3.3. However, I'll add a better error message soon.
Comment 2 Matt Rogers 2005-09-23 05:22:00 UTC
Pushed back to KDevelop 3.4 since we're in string freeze for KDevelop 3.3 now.  I completely forgot about this bug. :(
Comment 3 Alexander Dymo 2006-12-16 21:40:16 UTC
SVN commit 614213 by dymo:

More verbose message about missing htsearch.
BUG: 100845


 M  +1 -1      searchview.cpp  


--- branches/kdevelop/3.4/parts/documentation/searchview.cpp #614212:614213
@@ -155,7 +155,7 @@
     QString exe = config->readPathEntry("htsearchbin", kapp->dirs()->findExe("htsearch"));
     if (exe.isEmpty())
     {
-        KMessageBox::error(this, i18n("Cannot find the htsearch executable."));
+        KMessageBox::error(this, i18n("Cannot find the htsearch executable.\nIt is part of the ht://Dig package that is used by KDevelop to perform full text search. Please install ht://Dig and use Documentation page in Configure KDevelop dialog to set the htsearch location."));
         kdDebug() << "Can not find htsearch" << endl;
         return;
     }