Whenever I try to run kchm, it crashes with the error
"Header has invalid size (-1)". Here's an example:
$ kchm /home/ebooks/Developing\ User\ Interfaces\ for\
Microsoft\ Windows.CHM
kio_kiochm: *** Starting kio_kiochm
kio_kiochm: kio_kiochmProtocol::kio_kiochmProtocol()
kio_kiochm: ERROR: Header read failed, errno=104
kio_kiochm: ERROR: Header has invalid size (-1)
KCrash: Application 'kchm' crashing...
You might wonder what version of kiochm I'm using, and
I wonder too. I have an archive that I unpacked and
built, called kiochm-src.tgz. But it has no version
information anywhere in it that I can find. Not only
that, but I can't find kiochm anywhere on the net now.
I'd appreciate any light you could shine on that,
since it seems that kchm needs kiochm.
Thanks,
Andrew.
Logged In: YES
user_id=884460
Hello.
Sorry for not have answered you but I expect the bugs to be
submitted via email and I didn't look at the bugs option
until now.
kiochm is compiled with kchm and it's the component that the
main program uses for its I/O operations (it's the KDE
programming paradigm). The KIO component must be installed
in some KDE directory (I think the installation does it).
It is a while since I touched the program, but it seems
something is not recognized by Chmlib, which is the library
I use to retrieve data from the .chm file. Have you tried
with another .chm file?