#89 open_link:IndexError when opening a chm file

open
nobody
gnochm (68)
5
2011-03-23
2011-03-23
Anonymous
No

== How to reproduce ==
open http://ilnumerics.net/files/ILNumerics.Core+.Drawing.chm with gnochm-0.9.11 on Fedora 14.

== Backtrace ==

gnochm:1278:open_link:IndexError: list index out of range

Traceback (most recent call last):
File "/usr/bin/gnochm", line 1108, in request_url
f, pathname = self.resolve_link(link, 1)
File "/usr/bin/gnochm", line 1344, in resolve_link
return func(link, internal)
File "/usr/bin/gnochm", line 1278, in open_link
if val[-1] and val[-3]:
IndexError: list index out of range

Local variables in innermost frame:
self: <__main__.MainApp instance at 0x19a7b48>
internal: 1
link: 'ms-help://Hx/HxRuntime/HxLink.css'
val: ['ms-help', '//Hx/HxRuntime/HxLink.css']

Discussion