fetch-ebook-metadata sometimes fails with -c switch

Bug #1938189 reported by Jeff Forbes
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

~]$ fetch-ebook-metadata -v -t "Gravity Geometric Algebra" -o -c /tmp/cover.jpg
Traceback (most recent call last):
  File "runpy.py", line 194, in _run_module_as_main
  File "runpy.py", line 87, in _run_code
  File "site.py", line 45, in <module>
  File "site.py", line 41, in main
  File "calibre/ebooks/metadata/sources/cli.py", line 96, in main
TypeError: 'NoneType' object is not subscriptable

Removing -c /tmp/cover.jpg returns expected output.
Removing -o returns expected output

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.