Bug 681713

Summary: [abrt] calibre-0.7.38-3.fc13: reader.py:682:read_drm:LitError: Unable to decrypt title key!
Product: [Fedora] Fedora Reporter: Dmitry Burstein <dmitryburstein>
Component: calibreAssignee: Kevin Fenzi <kevin>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 13CC: chkr, frankly3d, kevin, mbacovsk, nushio
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:06633951
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-03 03:00:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Dmitry Burstein 2011-03-02 23:51:14 UTC
abrt version: 1.1.14
architecture: i686
cmdline: python /usr/bin/calibre-parallel
component: calibre
executable: /usr/bin/calibre-parallel
kernel: 2.6.34.7-66.fc13.i686.PAE
package: calibre-0.7.38-3.fc13
reason: reader.py:682:read_drm:LitError: Unable to decrypt title key!
release: Fedora release 13 (Goddard)
time: 1299109320
uid: 500

backtrace
-----
reader.py:682:read_drm:LitError: Unable to decrypt title key!

Traceback (most recent call last):
  File "/usr/bin/calibre-parallel", line 19, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 106, in main
    result = func(*args, **kwargs)
  File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 24, in gui_convert
    plumber.run()
  File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 853, in run
    accelerators, tdir)
  File "/usr/lib/calibre/calibre/customize/conversion.py", line 216, in __call__
    log, accelerators)
  File "/usr/lib/calibre/calibre/ebooks/lit/input.py", line 24, in convert
    return create_oebbook(log, stream, options, self, reader=LitReader)
  File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 990, in create_oebbook
    reader()(oeb, path_or_stream)
  File "/usr/lib/calibre/calibre/ebooks/oeb/reader.py", line 69, in __call__
    oeb.container = self.Container(path, self.logger)
  File "/usr/lib/calibre/calibre/ebooks/lit/reader.py", line 849, in __init__
    self._litfile = LitFile(filename_or_stream, log)
  File "/usr/lib/calibre/calibre/ebooks/lit/reader.py", line 429, in __init__
    self.read_drm()
  File "/usr/lib/calibre/calibre/ebooks/lit/reader.py", line 682, in read_drm
    raise LitError('Unable to decrypt title key!')
LitError: Unable to decrypt title key!

Local variables in innermost frame:
self: <calibre.ebooks.lit.reader.LitFile object at 0x9e088ac>
bookkey: '\x82\xd7!<\xa1\x90A\r\xda\xf9\xf2\xfajc\xb0r'

How to reproduce
-----
1.Failed converting a book from lit to mobi format
2.
3.

Comment 1 Dmitry Burstein 2011-03-02 23:51:22 UTC
Created attachment 481978 [details]
File: backtrace

Comment 2 Kevin Fenzi 2011-03-03 03:00:03 UTC
Sadly, this looks like a lit file that has DRM on it. 

calibre can't manage DRM encrypted files. See: 
http://bugs.calibre-ebook.com/wiki/DRM
for more info. 

Sorry, we can't assist further.