Beautifulsoup is an optional package, if you don'use it, no need to install it. If you install chm2pdf you don't get beautifulsoup automatically.
If the --beautifulsoup option is passed, CHM2PDF executes from BeautifulSoup import BeautifulSoup, Tag and this will rise an exception. I added the code to intercept this exception generating some help + try: + from BeautifulSoup import BeautifulSoup + except Exception, e: + print + print '### An error occured importing soup ', e + print '### Check if beautifulsoup is installed or remove --beautifulsoup from the command line' + sys.exit() ** Patch added: "Check if beautifulsoup is installed before importing it!" https://bugs.launchpad.net/ubuntu/+source/chm2pdf/+bug/630520/+attachment/2606436/+files/chm2pdf_check_soup.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/630520 Title: chm2pdf crashed with ImportError in correct_file() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chm2pdf/+bug/630520/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs