Comment 2 for bug 1831511

Revision history for this message
komer (thekomer) wrote :

I think this .chm is not protected by any copyright.
I downloaded it from https://submain.com/ghostdoc/samples/PowerCollections/CHM/
It's just a sample chm. And also can not be opened under mentioned Calibre version.

Trying to open this file also produces this output:
calibre, version 3.43.0
ERROR: Could not open e-book: Failed to read book, /home/komer/Downloads/PowerCollections.chm click "Show Details" for more information

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/utils/ipc/simple_worker.py", line 290, in main
    res = {'result':func(*args, **kwargs)}
  File "/usr/lib/calibre/calibre/ebooks/oeb/iterator/book.py", line 64, in extract_book
    plumber.opts, plumber.input_fmt, log, {}, tdir)
  File "/usr/lib/calibre/calibre/customize/conversion.py", line 246, in __call__
    log, accelerators)
  File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/chm_input.py", line 78, in convert
    htmlpath, toc = self._create_html_root(mainpath, log, uenc)
  File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/chm_input.py", line 116, in _create_html_root
    hhcdata = self._read_file(hhcpath)
  File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/chm_input.py", line 177, in _read_file
    with lopen(name, 'rb') as f:
  File "/usr/lib/calibre/calibre/startup.py", line 174, in local_open
    ans = open(name, mode, bufsize)
IOError: [Errno 2] No such file or directory: u'/tmp/calibre_3.43.0_tmp_7wjXul/aPkelw_chm2oeb/powercollections.hhc'