Bug 399735 - help does not work
Summary: help does not work
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-12 19:09 UTC by adalbert.hanssen
Modified: 2020-05-03 22:10 UTC (History)
3 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 adalbert.hanssen 2018-10-12 19:09:10 UTC
SUMMARY
I get the error message
"Die angeforderte Hilfedatei ist nicht lesbar:<br />/usr/share/doc/kde/HTML/en/krusader/index.docbook"
(the first part means that the help file is not readable).

I checked that such a file exists: 
ls -l /usr/share/doc/kde/HTML/en/krusader/index.docbook
-rw-r--r-- 1 root root 11510 Okt 21  2012 /usr/share/doc/kde/HTML/en/krusader/index.docbook


STEPS TO REPRODUCE
1. start krusader
2. press <F1>
3. 

OBSERVED RESULT
the error message 
"Die angeforderte Hilfedatei ist nicht lesbar:<br />/usr/share/doc/kde/HTML/en/krusader/index.docbook"

EXPECTED RESULT
entering the help system of krusader.


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: qmake --version
QMake version 3.0
Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu


ADDITIONAL INFORMATION
The error happens with Xubuntu 16.04.5 LTS
Comment 1 Davide Gianforte 2020-05-03 05:02:12 UTC
Is the problem still present? Did you tried to reinstall Krusader?
Comment 2 adalbert.hanssen 2020-05-03 12:18:29 UTC
(In reply to Davide Gianforte from comment #1)
> Is the problem still present? Did you tried to reinstall Krusader?

Davide, thank you for looking at this very old book. Meanwhile I have upgraded the version of the operating system from Xubuntu 16.04 to Xubuntu 18.04.4 LTS. During these changes I also have reinstalled Krusader, which is for me the best file management tool. In general I use Thunar, but once I have something not very basic in mind, I switch to Krusader.

Now I have Krusader version 2.6.0 „stiff challenges“. 

When I press F1 in this version of Krusader, firefox opens  https://docs.kde.org/stable5/de/extragear-utils/krusader// which shows me a Krusader manual of version 2.7.2 (2019-08-25).

Searching the place on my computer where a local version of the handbook should reside, I find that it is not there. But now I have a German installation and there exists a similar place:

a@w:~$ ls -lR /usr/share/doc/kde/HTML/de/onlinehelp/
/usr/share/doc/kde/HTML/de/onlinehelp/:
insgesamt 8
lrwxrwxrwx 1 root root    9 2018-03-17 15:45 common -> ../common
-rw-r--r-- 1 root root 1835 2018-03-17 15:45 index.cache.bz2
-rw-r--r-- 1 root root 3272 2013-07-08 16:25 index.docbook
a@w:~$ 

Looking at the time stamps of those files, they must be outdated (comparing them to the version in the internet).

Any idea how to install a local version of the handbook belonging to my version of Krusader?
Comment 3 Davide Gianforte 2020-05-03 12:31:44 UTC
According to https://packages.ubuntu.com/bionic/amd64/krusader/filelist, local help files should be placed in /usr/share/doc/HTML/de/krusader/

The absence of these files could explain why the online help is opened.
Comment 4 adalbert.hanssen 2020-05-03 13:09:53 UTC
(In reply to Davide Gianforte from comment #3)
> According to https://packages.ubuntu.com/bionic/amd64/krusader/filelist,
> local help files should be placed in /usr/share/doc/HTML/de/krusader/
> 
> The absence of these files could explain why the online help is opened.

Thank you for this quick help. BTW: do you know from where to download the German help for Krusader such that it can be used locally, i.e. in order to the folder given by you?
Comment 5 Toni Asensi Esteve 2020-05-03 21:00:28 UTC
In order to try to use what you have already installed in your system: what does it happen if you execute
    khelpcenter help:/krusader
?
Comment 6 adalbert.hanssen 2020-05-03 22:10:31 UTC
(In reply to Toni Asensi Esteve from comment #5)
> In order to try to use what you have already installed in your system: what
> does it happen if you execute
>     khelpcenter help:/krusader
> ?

first, khelpcenter was not installed. Then I installed it.

The I followed your advice and invoked it from the command line as

khelpcenter help:/krusader

Then a German version of the Krusader help ("Das Handbuch zu Krusader") opened! Great!

The terminal showed these lines:

a@w:~$ khelpcenter help:/krusader
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "khelpcenter"
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "khelpcenter"
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "khelpcenter"
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "khelpcenter"
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "glossentry"
Icon theme "adwaita" not found.
kf5.kservice.services: KServiceTypeTrader: serviceType "QImageIOPlugins" not found
Icon theme "adwaita" not found.
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
a@w:~$ 

Then I closed the help center and started Krusader. Then I could invoke the Krusader help from Krusader by pressing F1. 

I am completely satisfied with the solution. Thank you for reopening this age-old case. We can close this issue as resolved&fixed! Tahnk you!