By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 370 - problem to build khelpcenter search index
Summary: problem to build khelpcenter search index
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: 3.5.12 [Trinity]
Hardware: i386 Debian Squeeze
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks: 2014
  Show dependency treegraph
 
Reported: 2010-11-06 01:31 CDT by Denis Prost
Modified: 2014-06-16 23:14 CDT (History)
6 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
khelpcenter index build failure (69.67 KB, image/png)
2014-03-02 23:12 CST, Michele Calgaro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Prost 2010-11-06 01:31:23 CDT
in khelpcenter, in the build search index window, the list where we're supposed to check what documentation should be indexed is empty. It should have at least an "application manuals" entry like it was in kde 3.5.10.
Comment 1 Darrell 2013-05-22 22:17:25 CDT
Is this report still valid?

In GIT (2013-05-22), selecting the Settings menu->Build Search Index..., results in a dialog that shows one unchecked item: Application Manuals.
Comment 2 Denis Prost 2013-05-23 01:20:18 CDT
I'm sorry, I'm using Debian Wheezy now and trinity does not seem ready for it yet (unless there is an install process I don't know : trinity wiki only gives information for lenny and squeeze : I tried to replace lenny/squeeze by "wheezy" in the sources.list lines, but I get a 404 not found error when performing apt-get update).
Comment 3 Darrell 2013-08-17 13:49:02 CDT
Is this report still valid? Instructions for installing 3.5.13.2 in Wheezy:

http://www.trinitydesktop.org/wiki/bin/view/Documentation/DebianBinaryInstallation
Comment 4 Denis Prost 2013-08-17 15:43:13 CDT
(In reply to comment #3)
> Is this report still valid? Instructions for installing 3.5.13.2 in Wheezy:
> 
> http://www.trinitydesktop.org/wiki/bin/view/Documentation/DebianBinaryInstallation

Yes it is.
Comment 5 Keith 2013-12-06 18:05:56 CST
12-06-13

I'm reporting on the ISO version of R14 on Debian Wheeze and on the 3.5.13-2 version on Debian Squeeze.  R14 was a clean install and 3.5.113-2 was an upgrade.

Both of those still match Denis' first post exactly.  This bug prevents the TDE Help files from being indexed and searchable.

Seems to me it would be advantageous to fix this for new users.  This another case of something that our adversaries could us to demean Trinity.

Keith
Comment 6 Timothy Pearson 2013-12-14 21:11:21 CST
This might be a beagle problem (is beagle even maintained any more?)

The log when I attempt to build the index is:
Can't exec "beagle-config": No such file or directory at /opt/trinity/bin/khc_beagle_index.pl line 19.
readline() on closed filehandle IN at /opt/trinity/bin/khc_beagle_index.pl line 22.
Can't exec "beagle-config": No such file or directory at /opt/trinity/bin/khc_beagle_index.pl line 31.
Can't exec "beagle-config": No such file or directory at /opt/trinity/bin/khc_beagle_index.pl line 32.
Can't exec "beagle-config": No such file or directory at /opt/trinity/bin/khc_beagle_index.pl line 31.
Can't exec "beagle-config": No such file or directory at /opt/trinity/bin/khc_beagle_index.pl line 32.
Comment 7 Timothy Pearson 2013-12-14 21:57:11 CST
Looks like this report is actually a combination of problems...
First, OpenSUSE changed the htdig search to use Beagle.  Beagle is no longer maintained, therefore I have switched the engine back to htdig in GIT hash 5250782.

Second, libxslt grew a bug in the past few years.  KDE has this bug as reported (https://bugs.kde.org/show_bug.cgi?id=209415) but not yet resolved.  This has been fixed in TDE in GIT hash 2259d55 (tdelibs).

Please confirm that this is fixed!
Comment 8 Darrell 2013-12-14 22:15:06 CST
Interesting. I presume I saw partial success because I don't build or install beagle? I'll provide an update after I rebuild.
Comment 9 Darrell 2013-12-15 10:31:10 CST
No change here from what I posted in comment 1, but I expected no change on my (Slackware) system.
Comment 10 Michele Calgaro 2014-03-02 23:12:30 CST
Created attachment 1971 [details]
khelpcenter index build failure

I also can not build an index in khelpcenter.
The application manual list is "missing" and then when trying to build, I got an error message (see screenshot)
Comment 11 Michele Calgaro 2014-03-24 06:19:05 CDT
(In reply to Michele Calgaro from comment #10)
While investigating other bugs, I came across the reason for the "htdig failed" message. It turns out that I did not have htdig installed in my system.
A dependency needs to be add to tdebase/khelpcenter to take care of that.

This is just an annotation for future reference. There may be more things we have to dig into.
Comment 12 Michele Calgaro 2014-06-09 04:30:18 CDT
(In reply to Timothy Pearson from comment #7)
> Please confirm that this is fixed!

Using the latest GIT sources (so talking about v14.0.0, not v3.5.13.2), the problem seems fixed.
The "Application Manuals" entry is there and if selected the index is built correctly, provided that htdig is installed.

In Debian/Ubuntu, htdig is not listed as a dependency but only as a suggested package, which I think we should fix (working on that :) )

Anyhow the htdig dependency is distro specific and not strictly related to this bug. 
I think we could close the bug if there are no objections.
Denis, Keith, once you update to v14.0.0 (after release) or nightly builds (currently), you could reopen the bug if you still notice any problem. Hopefully you should not have any :)
Comment 13 Michele Calgaro 2014-06-11 04:25:37 CDT
> In Debian/Ubuntu, htdig is not listed as a dependency but only as a suggested > package, which I think we should fix (working on that :) )
This was fixed in commit ee058ce.
Comment 14 Michele Calgaro 2014-06-16 23:14:31 CDT
Since Tim changes seems to have fixed the problem and there has been no objection for more than a week, I am marking this bug as resolved.
Should you encounter this bug again when v14.0.0 is released, don't hesitate to reopen this bug report.