Public bug reported:

I tested chm2pdf on Bionic, which is the last Ubuntu release where this
package is available.

chm2pdf crashes with a Python 2 runtime error even when processing a
minimal, valid CHM containing only plain HTML text and no images.

The CHM was created using Microsoft HTML Help Workshop and renders
correctly on Windows.

Both normal conversion (--webpage) and --extract-only fail with:

TypeError: cannot concatenate 'str' and 'NoneType' objects
originating from Python 2 sgmllib.

This issue was discovered while investigating Bug #890874, but occurs
even without images or mixed-case paths.

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

** Attachment added: "test.chm"
   https://bugs.launchpad.net/bugs/2139259/+attachment/5941202/+files/test.chm

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

Title:
  chm2pdf crashes with TypeError on valid CHM files

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to