Bug 866129 - [abrt] calibre-0.8.63-1.fc17: pdftohtml.py:97:pdftohtml:DRMError
Summary: [abrt] calibre-0.8.63-1.fc17: pdftohtml.py:97:pdftohtml:DRMError
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: calibre
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d63dc01b7b7a92dc5c785502c9e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-14 08:05 UTC by Evgenij Kutyavin
Modified: 2012-10-14 16:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-14 16:05:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: core_backtrace (876 bytes, text/plain)
2012-10-14 08:05 UTC, Evgenij Kutyavin
no flags Details

Description Evgenij Kutyavin 2012-10-14 08:05:16 UTC
Version-Release number of selected component:
calibre-0.8.63-1.fc17

Additional info:
libreport version: 2.0.14
abrt_version:   2.0.13
cmdline:        python2 /usr/bin/calibre-parallel
kernel:         3.5.6-1.fc17.x86_64

backtrace:
:pdftohtml.py:97:pdftohtml:DRMError
:
: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 191, 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 979, 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/pdf_input.py", line 50, in convert
:    pdftohtml(os.getcwdu(), stream.name, options.no_images)
:  File "/usr/lib64/calibre/calibre/ebooks/pdf/pdftohtml.py", line 97, in pdftohtml
:    raise DRMError()
:DRMError
:
:Local variables in innermost frame:
:a: <function a at 0x20d5cf8>
:src: <closed file u'/tmp/calibre_0.8.63_tmp_joCzEt/_tGx0A.pdf', mode 'rb' at 0x2142150>
:exe: 'pdftohtml'
:pdf_path: u'/tmp/calibre_0.8.63_tmp_joCzEt/_tGx0A.pdf'
:index: u'/tmp/calibre_0.8.63_tmp_joCzEt/1rCGRJ_plumber/index.html'
:dest: <closed file u'/tmp/calibre_0.8.63_tmp_joCzEt/1rCGRJ_plumber/src.pdf', mode 'wb' at 0x21420c0>
:pdfsrc: u'/tmp/calibre_0.8.63_tmp_joCzEt/1rCGRJ_plumber/src.pdf'
:cmd: ['pdftohtml', '-enc', 'UTF-8', '-noframes', '-p', '-nomerge', '-nodrm', '-q', 'src.pdf', 'index.html']
:ret: 0
:logf: <calibre.ptempfile.PersistentTemporaryFile object at 0x21b3ad0>
:p: <subprocess.Popen object at 0x21b3b50>
:output_dir: u'/tmp/calibre_0.8.63_tmp_joCzEt/1rCGRJ_plumber'
:no_images: False
:as_xml: False
:out: ''

Comment 1 Evgenij Kutyavin 2012-10-14 08:05:20 UTC
Created attachment 626829 [details]
File: core_backtrace

Comment 2 Kevin Fenzi 2012-10-14 16:05:43 UTC
Sorry, the file you were attempting to convert here has DRM (Digitial Rights Management). 

Calibre does not handle such files. 

See http://drmfree.calibre-ebook.com/about#drm for more information. 

Sorry.


Note You need to log in before you can comment on or make changes to this bug.