Bug 679570 - [abrt] calibre-0.7.38-3.fc14: pdftohtml.py:76:pdftohtml:DRMError
Summary: [abrt] calibre-0.7.38-3.fc14: pdftohtml.py:76:pdftohtml:DRMError
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: calibre
Version: 14
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:728c3444
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-22 21:33 UTC by Jim Shipman
Modified: 2011-02-22 21:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-22 21:48:59 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.42 KB, text/plain)
2011-02-22 21:33 UTC, Jim Shipman
no flags Details

Description Jim Shipman 2011-02-22 21:33:22 UTC
abrt version: 1.1.17
architecture: x86_64
cmdline: python /usr/bin/calibre-parallel
component: calibre
executable: /usr/bin/calibre-parallel
kernel: 2.6.35.11-83.fc14.x86_64
package: calibre-0.7.38-3.fc14
reason: pdftohtml.py:76:pdftohtml:DRMError
release: Fedora release 14 (Laughlin)
time: 1298401987
uid: 500

backtrace
-----
pdftohtml.py:76:pdftohtml:DRMError

Traceback (most recent call last):
  File "/usr/bin/calibre-parallel", line 19, in <module>
    sys.exit(main())
  File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 106, in main
    result = func(*args, **kwargs)
  File "/usr/lib64/calibre/calibre/gui2/convert/gui_conversion.py", line 24, in gui_convert
    plumber.run()
  File "/usr/lib64/calibre/calibre/ebooks/conversion/plumber.py", line 853, in run
    accelerators, tdir)
  File "/usr/lib64/calibre/calibre/customize/conversion.py", line 216, in __call__
    log, accelerators)
  File "/usr/lib64/calibre/calibre/ebooks/pdf/input.py", line 50, in convert
    pdftohtml(os.getcwd(), stream.name, options.no_images)
  File "/usr/lib64/calibre/calibre/ebooks/pdf/pdftohtml.py", line 76, in pdftohtml
    raise DRMError()
DRMError

Local variables in innermost frame:
index: '/tmp/calibre_0.7.38_tmp_vvQ0b1/calibre_0.7.38_Z7aRT7_plumber/index.html'
pdf_path: '/home/shipman/Calibre Library/Unknown/Your Inner Fish (2)/Your Inner Fish - Unknown.pdf'
no_images: False
cmd: ['pdftohtml', '-enc', 'UTF-8', '-noframes', '-p', '-nomerge', '-nodrm', '-q', '/home/shipman/Calibre Library/Unknown/Your Inner Fish (2)/Your Inner Fish - Unknown.pdf', 'index.html']
ret: 0
logf: <calibre.ptempfile.PersistentTemporaryFile object at 0x3a9d510>
p: <subprocess.Popen object at 0x3a9d4d0>
output_dir: '/tmp/calibre_0.7.38_tmp_vvQ0b1/calibre_0.7.38_Z7aRT7_plumber'
out: ''

How to reproduce
-----
1. Don't know what caused the crash.
2. System was idle.
3.

Comment 1 Jim Shipman 2011-02-22 21:33:24 UTC
Created attachment 480256 [details]
File: backtrace

Comment 2 Kevin Fenzi 2011-02-22 21:48:59 UTC
Looks like you were trying to read/convert a pdf that was DRMed. 
Calibre cannot decrypt DRM encoded files. 

See: http://bugs.calibre-ebook.com/wiki/DRM

If you can decrypt the file, calibre should be able to read it fine.


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