Bug 911900

Summary: [abrt] calibre-0.9.8-1.fc18: epub_input.py:182:convert:DRMError: gap4Bz.epub
Product: [Fedora] Fedora Reporter: Germano Massullo (Thetra) <germano.massullo>
Component: calibreAssignee: Kevin Fenzi <kevin>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: chkr, kevin, mbacovsk, nushio, sysoutfran
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4096e1d915e34e8dd84780fcfb1a5f3ff2d7b117
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-16 16:14:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ
none
File: smolt_data none

Description Germano Massullo (Thetra) 2013-02-16 15:15:21 UTC
Version-Release number of selected component:
calibre-0.9.8-1.fc18

Additional info:
cmdline:        python2 /usr/bin/calibre-parallel
executable:     /usr/bin/calibre-parallel
kernel:         3.7.6-201.fc18.x86_64
uid:            1000

Truncated backtrace:
epub_input.py:182:convert:DRMError: gap4Bz.epub

Traceback (most recent call last):
  File "/usr/bin/calibre-parallel", line 20, in <module>
    sys.exit(main())
  File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 185, in main
    result = func(*args, **kwargs)
  File "/usr/lib64/calibre/calibre/gui2/convert/gui_conversion.py", line 31, in gui_convert_override
    override_input_metadata=True)
  File "/usr/lib64/calibre/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
    plumber.run()
  File "/usr/lib64/calibre/calibre/ebooks/conversion/plumber.py", line 1009, in run
    accelerators, tdir)
  File "/usr/lib64/calibre/calibre/customize/conversion.py", line 239, in __call__
    log, accelerators)
  File "/usr/lib64/calibre/calibre/ebooks/conversion/plugins/epub_input.py", line 182, in convert
    raise DRMError(os.path.basename(path))
DRMError: gap4Bz.epub

Local variables in innermost frame:
log: <calibre.utils.logging.Log object at 0x25ef990>
stream: <open file u'/tmp/calibre_0.9.8_tmp_72cLVY/gap4Bz.epub', mode 'rb' at 0x2b56ed0>
zf: <calibre.utils.zipfile.ZipFile instance at 0x2c47cf8>
ZipFile: <class calibre.utils.zipfile.ZipFile at 0x205c600>
OPF: <class 'calibre.ebooks.metadata.opf2.OPF'>
walk: <function walk at 0x156d500>
self: <calibre.ebooks.conversion.plugins.epub_input.EPUBInput object at 0x253f350>
opf: <calibre.ebooks.metadata.opf2.OPF object at 0x2cd5e90>
parts: (u'OEBPS', u'e9788858642733_content.opf')
encfile: '/tmp/calibre_0.9.8_tmp_72cLVY/t6gPyg_plumber/META-INF/encryption.xml'
accelerators: {}
path: u'/tmp/calibre_0.9.8_tmp_72cLVY/gap4Bz.epub'
file_ext: u'epub'
options: <calibre.ebooks.conversion.plumber.OptionValues object at 0x265a5d0>
DRMError: <class 'calibre.ebooks.DRMError'>

Comment 1 Germano Massullo (Thetra) 2013-02-16 15:15:26 UTC
Created attachment 698208 [details]
File: backtrace

Comment 2 Germano Massullo (Thetra) 2013-02-16 15:15:28 UTC
Created attachment 698209 [details]
File: core_backtrace

Comment 3 Germano Massullo (Thetra) 2013-02-16 15:15:31 UTC
Created attachment 698210 [details]
File: environ

Comment 4 Germano Massullo (Thetra) 2013-02-16 15:15:33 UTC
Created attachment 698211 [details]
File: smolt_data

Comment 5 Kevin Fenzi 2013-02-16 16:14:06 UTC
Sadly the file(s) you are trying to work with there are DRMed. 

calibre has no handling of DRM files, nor will it. ;( 

Sorry.