kchmviewer can't load chm in Gnome

Bug #229731 reported by muzuiget
34
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kchmviewer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: kchmviewer

I am using Ubuntu Hardy Heron, and installed kchmviewer 3.1(Using 3.5.9). In Gnome, right click a chm file choose "open with kchmviewer", then kchmeviewer run. kchmviewer can load the chm file content(left side field). But the right side field display

An error occurred while loading ms-its:/path/to/filename.chm::/<any_number>/<any_name>.html:
Could not read file ms-its:/path/to/filename.chm::/<any_number>/<any_name>.html.

After above problem happen. If have checked kchmviewer setting "Open the last used CHM file, if exist". Directly run kchmviewer , I will see a dialog "Unable to load the chm file /path/to/filename.chm", click "OK" to close, then another error dialog "The specified folder does not exist or was not readable", close it then a file select diaglog.

If have this problem, press "open" button to reopen chm file(also will see dialog "The specified folder does not exist or was not readable"), and kchmviewer can load chm file normally.
And I also install KDE3 desktop. In KDE3 directly click chm file won't have this problem. Also, run kchmviewer with chm file path as argument also won't have this problem.
After install libchm-dev package,but it didn't work.

muzuiget (muzuiget)
description: updated
Revision history for this message
lhj123 (lhj3-cn) wrote :

me too , I'm using gnome desktop.
when i launch kchmviewer in nautilus, I got this error too.
if run kchm first and select menu file->open-> *.chm, it's work fine.

Revision history for this message
fsando (stfs) wrote :

Same problem here

Revision history for this message
fsando (stfs) wrote :

Should add, I'm using Ubuntu intrepid 8.10, 32bit

Revision history for this message
fsando (stfs) wrote :

The workaround!
found here: http://www.alloytm.com/2008/06/page/3/

To rectify the issue, I went into the

kchmviewer > Settings > Change settings… > Version specific settings… > KDE version settings > To show HTML content, use > QTextBrowser-based widget > OK

Revision history for this message
Wang Daolong (ahlongxp-gmail) wrote :

Same problem on Ubuntu intrepid

Revision history for this message
capriccio (myster9) wrote :

Proper workaround found here: http://ubuntuforums.org/showthread.php?t=1012747

Synopsis: change the 'Exec' parameter
from: kchmviewer %U
to: kchmviewer %M

Instead of modifying the system-wide '/usr/share/applications/kchmviewer.desktop', you can simply copy it to your local ~/.local/share/applications directory. Any entry in that directory overrides the system default.

Revision history for this message
anand (ananda-halosys) wrote :

Hi fsando,

After following your instruction now my problem become solve.The same problem i was facing on linux also.But when i follow your instruction to change setting .My problem removed.

Thanks
Anand Agarwal

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Confirming this bug because it happens to several users.

Changed in kchmviewer (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.