Public bug reported:

This was reported on
https://groups.google.com/forum/#!topic/chm2pdf/SeOGMcMFsBw/discussion

An example of file without toc is in the attchment chmtest_noToc.chm
When trying to convert it by chm2pdf:

chm2pdf --book chmtest_noToc.chm
Traceback (most recent call last):
  File "/usr/local/bin/chm2pdf", line 1156, in <module>
    main(sys.argv)
  File "/usr/local/bin/chm2pdf", line 1150, in main
    convert_to_pdf(cfile, filename, outputfilename, options)
  File "/usr/local/bin/chm2pdf", line 343, in convert_to_pdf
    html_list=get_html_list(cfile)
  File "/usr/local/bin/chm2pdf", line 109, 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

A fix has been posted here: lp:~grishkin/chm2pdf/chm2pdf_branch

** Affects: chm2pdf (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "chmtest_noToc.chm"
   
https://bugs.launchpad.net/bugs/1074699/+attachment/3422699/+files/chmtest_noToc.chm

** Branch linked: lp:~grishkin/chm2pdf/chm2pdf_branch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1074699

Title:
  Chm2pdf fails to process chm's without table of contents

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chm2pdf/+bug/1074699/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to