Error when reading DRM protected file from amazon

Bug #1847468 reported by Daniel Borek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

In 4.x on Ubuntu 18.04.3 using calibre on flatpak when trying open amazon file I am getting

Traceback (most recent call last):
  File "site-packages/calibre/utils/ipc/simple_worker.py", line 290, in main
  File "site-packages/calibre/srv/render_book.py", line 668, in render
  File "site-packages/calibre/srv/render_book.py", line 206, in __init__
  File "site-packages/calibre/ebooks/oeb/iterator/book.py", line 64, in extract_book
  File "site-packages/calibre/customize/conversion.py", line 246, in __call__
  File "site-packages/calibre/ebooks/conversion/plugins/mobi_input.py", line 47, in convert
  File "site-packages/calibre/ebooks/mobi/reader/mobi8.py", line 86, in __call__
  File "site-packages/calibre/ebooks/mobi/reader/mobi6.py", line 158, in check_for_drm
DRMError: Hyperion (Hyperion Cantos, Book 1)

The expected beheviour (as on 3.x branch):

Info is displayed:
"This book is locked by DRM ..."

Tags: 4.x
tags: added: 4.x
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.