KCHM viewer will not open .chm files

Bug #252159 reported by Hurin
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
kchmviewer (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: synaptic

I installed kchm viewer using ADD/REMOVE synaptic
After installation I right-clicked a .chm document and instructed Nautilus to open such files with KCHM viewer
Then I doubled clicked the chm file and got an error message (see pic below)
This happens on another computer but with 32Bit Ubuntu.

Why this error occurs?
How to fix it?
Is it Nautilus the one who collects the instruction to open a file type with a specific application?

Thank you

ProblemType: Bug
Architecture: amd64
Date: Sat Jul 26 10:17:00 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/sbin/synaptic
NonfreeKernelModules: nvidia
Package: synaptic 0.61ubuntu9
PackageArchitecture: amd64
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: synaptic
Uname: Linux 2.6.24-19-generic x86_64

Revision history for this message
Hurin (auxcri) wrote :
Revision history for this message
Hurin (auxcri) wrote :

When I double click the file from a different Physical Volume where I store data, I get the error in my previous post and KCHM Viewer opens empty as in pic named error1.png.

Revision history for this message
Philipp Hagemeister (phihag) wrote :

Why did you attach this bug to synaptic? Looks like kchmviewer is misbehaving. Can you attach the offending .chm file?

Revision history for this message
Hurin (auxcri) wrote :
Revision history for this message
Philipp Hagemeister (phihag) wrote : Don't attach

I googled the file name. Looks like this file is not released by the author. Naturally, you shouldn't upload it to Launchpad. Can you reproduce the bug with http://www.php.net/get/php_manual_en.chm/from/a/mirror ?

Revision history for this message
Hurin (auxcri) wrote :

My apologies I have made a mess with the attachments and with the affected project. Is there a way I can change from synaptic to kchmviewer or something¿?
I can't attach the .chm as it is a copy righted document. But it happens with every single .chm document I find. If you want you can attach another and I will try to open it.

Thanks

Revision history for this message
Hurin (auxcri) wrote :

PHP Manual downloaded.
Here is the error shot
The time the path is user/Downloads/file.chm, and the error isn't display in a separate window, but inside the Viewer.

Revision history for this message
Philipp Hagemeister (phihag) wrote :

From the kchmviewer FAQ:

You have kio_chm installed, and because it installs itself as KIO slave for ms-its, sometime KDE uses it instead of kio_msits.
   To disable it, find the file chm.protocol in your KDE directory (~/.kde/), and remove it. Then run kdeinit to reread the configuration.

Revision history for this message
Hurin (auxcri) wrote :

I didn't find chm.protocol manually nor using the search file tool.
What is kio_chm and what is ms-its?

Thanks

note: I'm using ubuntu not kubuntu

Revision history for this message
fsando (stfs) wrote :

Are there solutions or workarounds to this bug?

Revision history for this message
santam chakraborty (pgiresident) wrote :

Seems to have originated due to recent implementation of disabling ms-itis in the recent package to avoid conflicts with okular-extra backends package

Revision history for this message
santam chakraborty (pgiresident) wrote :

he requested operation could not be completed
Cannot Initiate the ms-its Protocol
Technical Reason: Unable to Launch Process
Error on opening the book using the Khtmlpart based widget follows

Details of the Request:
URL: ms-its:/home/santam/Books/CHM Files/*****
Protocol: ms-its
Date and Time: Sunday 18 Oct 2009 4:50 pm
Additional Information: Unable to create io-slave: klauncher said: Unknown protocol 'ms-its'.
Description:
The program on your computer which provides access to the ms-its protocol could not be started. This is usually due to technical reasons.
Possible Causes:
The program which provides compatibility with this protocol may not have been updated with your last update of KDE. This can cause the program to be incompatible with the current version and thus not start.
You may have encountered a bug in the program.
Possible Solutions:
Update your software to the latest version. Your distribution should provide tools to update your software.
Contact your appropriate computer support system, whether the system administrator, or technical support group for further assistance.

Konsole log for kchmviewer --autotestmode
LCHMFileImpl::decodeEntity: could not decode HTML entity '#x2014'
LCHMFileImpl::decodeEntity: could not decode HTML entity '#x03b1'
LCHMFileImpl::decodeEntity: could not decode HTML entity '#x03b1'
LCHMFileImpl::decodeEntity: could not decode HTML entity '#x03b1'
LCHMFileImpl::decodeEntity: could not decode HTML entity '#x2014'
LCHMFileImpl::decodeEntity: could not decode HTML entity '#x03b1'
LCHMFileImpl::decodeEntity: could not decode HTML entity '#x03b1'
LCHMFileImpl::decodeEntity: could not decode HTML entity '#x03b1'
LCHMFileImpl::decodeEntity: could not decode HTML entity '#x2014'
LCHMFileImpl::decodeEntity: could not decode HTML entity '#x03b1'
LCHMFileImpl::decodeEntity: could not decode HTML entity '#x03b1'
LCHMFileImpl::decodeEntity: could not decode HTML entity '#x03b1'

Revision history for this message
burnsdm (thepoolice) wrote :

I have the same issue with kchmviewer - it is unable to load the msits protocol when I set it to use the KPart plugin (to allow the use of Java)

Revision history for this message
in han (ieyinhan) wrote :

I use ubuntu 9.10 .When I used the default configuration of Kchmviewer , it showed nothing in the inner viewer to open the _chm file. Then I just chose the Khtmlpart component, the error occured in the inner viewer!!

Revision history for this message
innervision (dguaraglia) wrote :

Same problem here in Lucid. I'm actually trying kchmviewer in Lucid after failing with that error in Karmic, so the upgrade doesn't solve that problem in particular.

I've been using ChmSee for the last few months, but it lacks CSS support and most CHM files look quite bad.

Revision history for this message
Nuno Sucena Almeida (slug-debian) wrote :

I ran into the same problem trying to use the KHTMLPart-based widget instead of QTextBrowser-based widget:

"The program on your computer which provides access to the ms-its protocol could not be started. This is usually due to technical reasons."

If https://bugs.launchpad.net/ubuntu/+source/kchmviewer/+bug/252159/comments/11 is true, why okular doesn't seem to have any chm support?

Revision history for this message
Nuno Sucena Almeida (slug-debian) wrote :

About the last point, it seems related to https://bugs.launchpad.net/kdegraphics/+bug/277007

Revision history for this message
santam chakraborty (pgiresident) wrote :

I tried compiling KCHMviewer from the source code. The error is still persistent

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

Looks like the problem with KHTMLViewer is that the right okular plugins are no longer installed on Ubuntu. Check out the following link, the solution it recommends works (namely, grabbing okular files from Hardy packages, and install those instead). It would be nice if someone would fix this though, as KCHMViewer is superior to the other CHM viewers on linux.

http://reformanda.wordpress.com/2011/03/05/kubuntu-and-kchmviewer/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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