Just checked a little more:
In my version of the script, I modified the place which gives you the
error you posted like this:
for line in flist.readlines()[3:]:
#print 'line',line
#This won't work if internal paths of CHM contains spaces:
e.g. /doc space/ will only become /doc
#spline=line.split()
#urls_list.append(spline[5])
#this should work better:
spline= re.sub(r".*?normal file\s*(.*?)\n$", "\\1", line)
if spline[0]=="/":
#print "got spline="+spline
urls_list.append( spline)
flist.close()
Please give some feedback if it works also for you or not!
On need, I can email you the chm2pdf file...
Ciao
Reto