← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 1899700] [NEW] [Regression] Does not return cover

 

You have been subscribed to a public bug:

When I run `ebook-meta --get-cover a.png x.epub` on
https://files.lilf.ir/tmp/What%27s%20Her%20Name%20in%20Hufflepuff%20-%20ashez2ashes.epub
, I get this error and no cover images:

```
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/ebooks/metadata/epub.py", line 227, in get_metadata
    cdata = get_cover(raster_cover, first_spine_item, reader)
  File "/usr/lib/calibre/calibre/ebooks/metadata/epub.py", line 211, in get_cover
    return render_cover(first_spine_item, zf, reader=reader)
  File "/usr/lib/calibre/calibre/ebooks/metadata/epub.py", line 197, in render_cover
    return render_html_svg_workaround(cpage, default_log)
  File "/usr/lib/calibre/calibre/ebooks/init.py", line 114, in render_html_svg_workaround
    data = render_html_data(path_to_html, width, height)
  File "/usr/lib/calibre/calibre/ebooks/init.py", line 133, in render_html_data
    result = fork_job('calibre.ebooks.render_html', 'main', args=(path_to_html, tdir, 'jpeg'))
  File "/usr/lib/calibre/calibre/utils/ipc/simple_worker.py", line 252, in fork_job
    return two_part_fork_job(env, priority, cwd)(
  File "/usr/lib/calibre/calibre/utils/ipc/simple_worker.py", line 168, in two_part_fork_job
    listener, w = create_worker(env, priority, cwd)
  File "/usr/lib/calibre/calibre/utils/ipc/simple_worker.py", line 130, in create_worker
    address, listener = create_listener(auth_key)
  File "/usr/lib/calibre/calibre/utils/ipc/server.py", line 141, in create_listener
    l = LinuxListener(address=address, authkey=authkey, backlog=backlog)
  File "/usr/lib/calibre/calibre/utils/ipc/server.py", line 110, in init
    self._listener._unlink.cancel()
AttributeError: 'NoneType' object has no attribute 'cancel'
No cover found
Title               : What's Her Name in Hufflepuff
Author(s)           : ashez2ashes
Publisher           : www.fanfiction.net
Tags                : Humor, Friendship, In-Progress, Hannah A., Susan B., Harry Potter, FanFiction, Last Update: 2020/06/18, OC, Last Update Year/Month: 2020/06, Eloise M.
Languages           : eng
Published           : 2018-08-20T19:30:00+00:00
Identifiers         : url:https://www.fanfiction.net/s/13041698/1/
Comments            : There's still a lot to explore and experience in a world full of magic even if you never become a main character. In Hufflepuff house, you'll make friendships that will last a lifetime. Also, we have a table of infinite snacks. Gen/Friendship. First Year Complete.
```

This never happened before, and I have recently upgraded my Calibre, so
it's probably a regression.

** Affects: calibre (Ubuntu)
     Importance: Undecided
         Status: Invalid


** Tags: not-our-bug ubuntu-bug
-- 
[Regression] Does not return cover
https://bugs.launchpad.net/bugs/1899700
You received this bug notification because you are a member of Edubuntu Bugsquad, which is subscribed to calibre in Ubuntu.