Greetings!!!
An example of file without toc is at
http://dl.dropbox.com/u/7033680/chmtest.chm.
When trying to convert it by chm2pdf:
chm2pdf --continuous --verbose --verbositylevel high chmtest.chm.
No pdf is generated and here is the output:
rm: cannot remove `/tmp/chm2pdf/work/chmtest/*': No such file or
directory
chmtest.chm:
--> /#ITBITS
--> /#STRINGS
--> /#SYSTEM
--> /#TOPICS
--> /#URLSTR
--> /#URLTBL
--> /$FIftiMain
--> /$OBJINST
--> /1951_Chicago_Bears_season.html
--> /1951_Chicago_Bears_season_files/32px-Football_Template_USA.png
--> /1951_Chicago_Bears_season_files/50px-Question_book-new.png
--> /1951_Chicago_Bears_season_files/a
--> /1951_Chicago_Bears_season_files/ajax.js
--> /1951_Chicago_Bears_season_files/Button_hide.png
--> /1951_Chicago_Bears_season_files/combined.css
--> /1951_Chicago_Bears_season_files/commonPrint.css
--> /1951_Chicago_Bears_season_files/index.css
--> /1951_Chicago_Bears_season_files/index.php
--> /1951_Chicago_Bears_season_files/index_002.css
--> /1951_Chicago_Bears_season_files/index_002.php
--> /1951_Chicago_Bears_season_files/index_003.css
--> /1951_Chicago_Bears_season_files/index_004.css
--> /1951_Chicago_Bears_season_files/index_005.css
--> /1951_Chicago_Bears_season_files/jquery-ui-1.css
--> /1951_Chicago_Bears_season_files/jquery.js
--> /1951_Chicago_Bears_season_files/main-ltr.css
--> /1951_Chicago_Bears_season_files/MobileRedirect.js
--> /1951_Chicago_Bears_season_files/mwsuggest.js
--> /1951_Chicago_Bears_season_files/plugins.js
--> /1951_Chicago_Bears_season_files/poweredby_mediawiki_88x31.png
--> /1951_Chicago_Bears_season_files/search-ltr.png
--> /1951_Chicago_Bears_season_files/shared.css
--> /1951_Chicago_Bears_season_files/SpecialBannerController
--> /1951_Chicago_Bears_season_files/Vector.js
--> /1951_Chicago_Bears_season_files/wikibits.js
--> /1951_Chicago_Bears_season_files/wikimedia-button.png
--> /_#_README_#_
--> /Liberty_Bay.html
--> /Liberty_Bay_files/18px-Erioll_world.png
--> /Liberty_Bay_files/30px-Flag_of_Washington.png
--> /Liberty_Bay_files/a
--> /Liberty_Bay_files/ajax.js
--> /Liberty_Bay_files/Button_hide.png
--> /Liberty_Bay_files/combined.css
--> /Liberty_Bay_files/commonPrint.css
--> /Liberty_Bay_files/index.css
--> /Liberty_Bay_files/index.php
--> /Liberty_Bay_files/index_002.css
--> /Liberty_Bay_files/index_002.php
--> /Liberty_Bay_files/index_003.css
--> /Liberty_Bay_files/index_004.css
--> /Liberty_Bay_files/index_005.css
--> /Liberty_Bay_files/jquery-ui-1.css
--> /Liberty_Bay_files/jquery.js
--> /Liberty_Bay_files/main-ltr.css
--> /Liberty_Bay_files/MobileRedirect.js
--> /Liberty_Bay_files/mwsuggest.js
--> /Liberty_Bay_files/plugins.js
--> /Liberty_Bay_files/poweredby_mediawiki_88x31.png
--> /Liberty_Bay_files/search-ltr.png
--> /Liberty_Bay_files/shared.css
--> /Liberty_Bay_files/SpecialBannerController
--> /Liberty_Bay_files/Vector.js
--> /Liberty_Bay_files/wikibits.js
--> /Liberty_Bay_files/wikimedia-button.png
--> /Rahman-10000.hhc
--> /Rahman-10001.hhc
--> /Rahman-10002.hhc
Removing any previous temporary files...
Traceback (most recent call last):
File "/usr/local/bin/chm2pdf", line 1111, in <module>
main(sys.argv)
File "/usr/local/bin/chm2pdf", line 1107, in main
convert_to_pdf(cfile, filename, outputfilename, options)
File "/usr/local/bin/chm2pdf", line 325, in convert_to_pdf
html_list=get_html_list(cfile)
File "/usr/local/bin/chm2pdf", line 104, in get_html_list
lister.feed(topicstree)
File "/usr/lib/python2.6/sgmllib.py", line 103, in feed
self.rawdata = self.rawdata + data
TypeError: cannot concatenate 'str' and 'NoneType' objects
---
Best regards,
Max