[Bug 10901] New: Build of search index in khelpcenter fails for kubuntu 5.04
bugzilla-daemon at bugzilla.ubuntu.com
bugzilla-daemon at bugzilla.ubuntu.com
Tue May 17 15:46:19 UTC 2005
Please do not reply to this email. You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=10901
Ubuntu (kubuntu) | khelpcenter
Summary: Build of search index in khelpcenter fails for kubuntu
5.04
Product: Ubuntu
Version: unspecified
Platform: amd64
OS/Version: Linux
Status: UNCONFIRMED
Keywords: kubuntu
Severity: normal
Priority: P2
Component: khelpcenter
AssignedTo: debzilla at ubuntu.com
ReportedBy: cpflumm at ic.ac.uk
QAContact: kubuntu-bugs at lists.ubuntu.com
I can't build a search index for the application manuals in khelpcenter. I am
working with kubuntu 5.04 (amd64 version). khelpcenter should be the latest version:
dpkg -l
ii khelpcenter 3.4.0-0ubuntu18
Output when trying to build the search index:
INDEXDIR: /home/pflumm/.kde/share/apps/khelpcenter/index/
FINDCMD: find /usr/share/doc/HTML/en/ -name index.docbook
Creating index for 'kde_application_manuals'
find: /usr/share/doc/HTML/en/: No such file or directory
Warning: unknown locale!
New server: home, 80
Unknown host: home
0:0:0:file://home/pflumm/.kde/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html:
size = 0
htdig: Run complete
htdig: 1 server seen:
htdig: home:80 1 document
DB2 problem...: missing or empty key value specified
Finished successfully.
One problem certainly is that /usr/share/doc/HTML/en/ does not exist. The
documentation resides in /usr/share/doc/kde/HTML/en/ Because of this,
/usr/bin/khc_docbookdig.pl can't find the docu. But even if the pathes in
/usr/bin/khc_docbookdig.pl are corrected, it does not work. First, it looks as
if the build is successful, but using htdig -vvv in /usr/bin/khc_docbookdig.pl
(instead of -v only) shows that the docus are not generated because the
corresponding files are rejected by htdig with messages like
href: help://kedit/index.docbook (/usr/share/doc/kde/HTML/en/kedit/index.docbook)
Rejected: Not an http or relative link!
url rejected: (level 1)help://kedit/index.docbook
(see also more detailed output towards the end) After some trying around, I
think that the problem is that the mime type of the docbook files is not
obtained correctly, but I am not sure about this.
Christof
Output when paths corrected and htdig -vvv is used:
INDEXDIR: /home/pflumm/.kde/share/apps/khelpcenter/index/
FINDCMD: find /usr/share/doc/kde/HTML/en/ -name index.docbook
Creating index for 'kde_application_manuals'
Warning: unknown locale!
1:1:file://home/pflumm/.kde/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html
New server: home, 80
Unknown host: home
pushed
pick: home, # servers = 1
0:0:0:file://home/pflumm/.kde/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html:
Trying local files
found existing file
/home/pflumm/.kde/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html
Read 8192 from document
Read 7210 from document
Read a total of 15402 bytes
href: help://akregator/index.docbook
(/usr/share/doc/kde/HTML/en/akregator/index.docbook)
Rejected: Not an http or relative link!
url rejected: (level 1)help://akregator/index.docbook
...snip...
href: help://kedit/index.docbook (/usr/share/doc/kde/HTML/en/kedit/index.docbook)
Rejected: Not an http or relative link!
url rejected: (level 1)help://kedit/index.docbook
size = 15402
pick: home, # servers = 1
htdig: Run complete
htdig: 1 server seen:
htdig: home:80 1 document
Finished successfully.
--
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the kubuntu-bugs
mailing list