Package: chm2pdf
Version: 0.9.1-1.2
Severity: grave
Justification: renders package unusable
Dear Maintainer,
whenever I try to use chm2pdf on chm Book I get error message and the program
aborts:
$ chm2pdf --book --title book.chm book.pdf
GetTopicsTree: file size = 0
Traceback (most recent call last):
File "/usr/bin/chm2pdf", line 1098, in <module>
main(sys.argv)
File "/usr/bin/chm2pdf", line 1092, in main
convert_to_pdf(cfile, filename, outputfilename, options)
File "/usr/bin/chm2pdf", line 317, in convert_to_pdf
html_list=get_html_list(cfile)
File "/usr/bin/chm2pdf", line 106, in get_html_list
lister.feed(topicstree)
File "/usr/lib/python2.7/sgmllib.py", line 103, in feed
self.rawdata = self.rawdata + data
TypeError: cannot concatenate 'str' and 'NoneType' objects
Same with extract-only:
$ chm2pdf --extract-only book.chm
GetTopicsTree: file size = 0
Traceback (most recent call last):
File "/usr/bin/chm2pdf", line 1098, in <module>
main(sys.argv)
File "/usr/bin/chm2pdf", line 1092, in main
convert_to_pdf(cfile, filename, outputfilename, options)
File "/usr/bin/chm2pdf", line 317, in convert_to_pdf
html_list=get_html_list(cfile)
File "/usr/bin/chm2pdf", line 106, in get_html_list
lister.feed(topicstree)
File "/usr/lib/python2.7/sgmllib.py", line 103, in feed
self.rawdata = self.rawdata + data
TypeError: cannot concatenate 'str' and 'NoneType' objects
Size of book.chm is 1,0MB.
Thanks for your help!
Olga
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.16-2-486
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages chm2pdf depends on:
ii htmldoc 1.8.27-8+b2
ii libchm-bin 2:0.40a-3+b1
ii python 2.7.11-1
ii python-chm 0.8.4.1-1
pn python:any <none>
chm2pdf recommends no packages.
Versions of packages chm2pdf suggests:
ii python-beautifulsoup 3.2.1-1