Page MenuHomePhorge

Windows: Kontact help cannot be opened.
Closed, ResolvedPublic8 Story Points

Description

On windows khelpcenter can't open the kontact documentation.
The documentation is installed (the index.docbook file), it looks like khelpcenter actually opens the right file, but it then somehow fails to parse it or so.

Details

Ticket Type
Task

Event Timeline

mollekopf raised the priority of this task from to High.
mollekopf updated the task description. (Show Details)
mollekopf added a project: KDE PIM.
mollekopf changed Ticket Type from Task to Task.
mollekopf subscribed.
mollekopf added a project: Restricted Project.Aug 3 2015, 3:13 PM
mollekopf edited a custom field.
mollekopf moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Aug 5 2015, 11:34 AM

When starting khelpcenter from the install directory instead of the builddirectory, meinproc4.exe is not started according to processmonitor.

The problem seems to be that the kio job to generate the help files is not started.
If I copy the cache files from .kde to .kontact the help opens just fine. Debugging kio seems to be next no impossible, while I can configure debug output going to a file with the uninstalled version, the installed version does not create the debug output file, nor give any indication why it isn't doing that.

petersen moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Aug 11 2015, 2:11 PM

Testcase: kioclient.exe cat help:/kmail/index.html

Looks like kio_help.cpp fails somewhere. It get's called at leaset.
Debug output of kio needs to be redirected to files to become visible.

This is the call that somehow fails in kdoctools/xslt.cpp:

xsltParseStylesheetFile

The passed in path to the styleshee (tss) is correct though.

DOCBOOK_XML_CURRDTD just above is certainly invalid (file:///r:/share/xml/docbook/schema/dtd/4.2), but that doesn't seem to affect the problem directly (tried commenting the whole block above).

Same testcase with meinproc:
meinproc4 --stdout "C:/Program Files (x86)/Kontact E5/share/doc/HTML/en//kmail/index.docbook"

And with explicit stylesheet:
meinproc4 --stylesheet "C:/Program Files (x86)/Kontact E5/share/apps/ksgmltools2/customization/kde-chunk.xsl" --stdout "C:/Program Files (x86)/Kontact E5/share/doc/HTML/en//kmail/index.docbook"

This one works though:
meinproc4 --stylesheet "C:/Users/kolab/kderoot/share/apps/ksgmltools2/customization/kde-chunk.xsl" --stdout "C:/Program Files (x86)/Kontact E5/share/doc/HTML/en//kmail/index.docbook"

...and the problem was that kde-include-common.xsl was missing. What a brilliant fucking system.

While the relevant file has now been included in input.nsi, it doesn't seem to get picked up by the installer...

mollekopf moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Aug 14 2015, 12:44 PM
mollekopf moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
mollekopf claimed this task.

The file was matched by one of the blacklist expressions, and inputfiles.nsh was not actually used.

mollekopf moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Aug 17 2015, 6:56 PM