h1aji / chmsee

CHM viewer
GNU General Public License v2.0
1 stars 1 forks source link

打开chm文件 出现错误 #99

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
打开一个chm文件出现
"Index of file:///home/vaio/.chmsee/bookshelf/767746818d070c1b3061fdf50457887a/"
出来的是一个目录树 而不是chm文件的内容
我的系统是arch i686 chmsee版本是1.2.0 用pacman安装的最新版

Original issue reported on code.google.com by pspan...@gmail.com on 19 Nov 2010 at 6:43

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
图片链接http://i.6.cn/cvbnm/30/56/f7/877221d8178b0d5ab998be0a3a7565fd.png

Original comment by pspan...@gmail.com on 19 Nov 2010 at 6:53

GoogleCodeExporter commented 8 years ago
出现这种情况,是 chmsee 没有正确解析目录下面的 #SYSTEM 和 
#WINDOWS 文件。
你用 chmsee -vvv 命令方式打开,然后把输出信息里面贴上来。
如果可以,麻烦你将这份 chmsee 发给我一份,多谢!

Original comment by jungl...@gmail.com on 21 Nov 2010 at 1:59

GoogleCodeExporter commented 8 years ago
这是输出的结果:

Original comment by pspan...@gmail.com on 24 Nov 2010 at 4:17

Attachments:

GoogleCodeExporter commented 8 years ago
多谢!

上面回复我写错了,本来想说发这份 
chmfile,结果顺手写成了 chmsee :)
不过我已经从网上找到了这份 
Data.Structures.and.Algorithm.Analysis.in.C.chm 文件。

这个 chm 文件制作的不规范,里面的 #SYSTEM 和 #WINDOWS 
都是空的,没有提供应有的信息。
而且解压后的目录里面也不包含 .hhc、.hhk 等目录索引文件。

所以用 chmsee 
打开以后只能看到解压后的目录,这样需要点目录下的 
toc.htm 才能看到文章内容。

Original comment by jungl...@gmail.com on 24 Nov 2010 at 6:53

GoogleCodeExporter commented 8 years ago
恩 
点toc.htm能看……就是有些图片显示不了,应该是这个chm的问�
��
谢谢了~希望chmsee能越做越好,继续支持你~

Original comment by pspan...@gmail.com on 24 Nov 2010 at 1:49

GoogleCodeExporter commented 8 years ago
我仔细检查了一下代码,问题还是出在 chmsee,这个 toc.htm 
可以从 #STRINGS 里面读取。
修改后的代码已经提交到 github,稍后发布的 1.3.0 
版本就可以正确打开了。

至于图片无法显示,是因为这个 chm 
文件里面的目录层次不对。比如第一章 chap1.htm 文件里,
图片路径指向 ../images,正确的应该是 ./images, 
所以显示不出来。

Original comment by jungl...@gmail.com on 25 Nov 2010 at 8:19

GoogleCodeExporter commented 8 years ago
Fixed in chmsee 1.3.0-rc1

Original comment by jungl...@gmail.com on 14 Dec 2010 at 7:15