[Bug 241916] [NEW] Kde help index creation fails due to dash incompatability
mugginz
mugginz1 at gmail.com
Sat Jun 21 14:46:21 UTC 2008
Public bug reported:
Binary package hint: kdebase
kdebase 4:3.5.9-0ubuntu7
When building the Search Index inside KHelpCenter, it falsely reports
success even though it fails.
The cause of the failure is that docbookparser isn't compatible with dash. When its run using dash instead of bash, it produces errors such as
/home/mugginz/.kde/share/apps/khelpcenter/index//kde_application_manuals.tmp/docbookparser: 11: Bad substitution
The Fix.
--------
The following file
"~/.kde/share/apps/khelpcenter/index/kde_application_manuals.tmp/docbookparser"
is where the 'Bad substitution' errors come from.
It needs line 1 changed from
#! /bin/sh
to
#! /bin/bash
The above file 'docbookparser' is created from inside the following python script
"/usr/bin/khc_docbookdig.pl"
The source for the python script is
"kdebase-3.5.9/khelpcenter/searchhandlers/khc_docbookdig.pl.in"
So if we change line 127 of khc_docbookdig.pl.in from
#! /bin/sh
to
#! /bin/bash
the prob is fixed.
Also related to:
Bug #19767 in kdebase (Ubuntu) - htdig should be a dependecy of the base kde packages.
** Affects: kdebase (Ubuntu)
Importance: Undecided
Status: New
--
Kde help index creation fails due to dash incompatability
https://bugs.launchpad.net/bugs/241916
You received this bug notification because you are a member of Kubuntu
Team, which is subscribed to kdebase in ubuntu.
More information about the kubuntu-bugs
mailing list