Bug 1374833

Summary: [abrt] calibre: pdftohtml.py:91:pdftohtml:ConversionError: pdftohtml failed with return code: 1
Product: [Fedora] Fedora Reporter: Eric COUTURIER-GUILLAUME <eric>
Component: calibreAssignee: Kevin Fenzi <kevin>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: chkr, frankly3d, helio, kevin, nushio, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/04b1b47087c5f0bdcf61170ad31a74c44173762e
Whiteboard: abrt_hash:5f8720cfac0cd0bdefaad18d390d87a333ea6e32;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-20 21:29: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:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Eric COUTURIER-GUILLAUME 2016-09-09 18:40:51 UTC
Description of problem:
Error during PDF to EPUB convertor

Version-Release number of selected component:
calibre-2.60.0-2.fc23

Additional info:
reporter:       libreport-2.6.4
cmdline:        python2 /usr/bin/calibre-parallel
executable:     /usr/bin/calibre-parallel
kernel:         4.7.2-101.fc23.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
pdftohtml.py:91:pdftohtml:ConversionError: pdftohtml failed with return code: 1


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 189, 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 1060, in run
    accelerators, tdir)
  File "/usr/lib64/calibre/calibre/customize/conversion.py", line 241, 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 91, in pdftohtml
    raise ConversionError(b'pdftohtml failed with return code: %d\n%s' % (ret, out))
ConversionError: pdftohtml failed with return code: 1


Local variables in innermost frame:
a: <function a at 0x7f46305cc2a8>
src: <closed file u'/tmp/calibre_2.60.0_tmp_oLDpSy/RdSXrL.pdf', mode 'rb' at 0x7f463043cd20>
exe: 'pdftohtml'
pdf_path: u'/tmp/calibre_2.60.0_tmp_oLDpSy/RdSXrL.pdf'
index: u'/tmp/calibre_2.60.0_tmp_oLDpSy/rlpgqf_plumber/index.html'
dest: <closed file u'/tmp/calibre_2.60.0_tmp_oLDpSy/rlpgqf_plumber/src.pdf', mode 'wb' at 0x7f463043ce40>
pdfsrc: u'/tmp/calibre_2.60.0_tmp_oLDpSy/rlpgqf_plumber/src.pdf'
cmd: ['pdftohtml', '-enc', 'UTF-8', '-noframes', '-p', '-nomerge', '-nodrm', '-q', 'src.pdf', 'index.html']
ret: 1
logf: <calibre.ptempfile.PersistentTemporaryFile object at 0x7f463038d090>
p: <subprocess.Popen object at 0x7f463038d150>
output_dir: u'/tmp/calibre_2.60.0_tmp_oLDpSy/rlpgqf_plumber'
no_images: False
as_xml: False
out: ''

Comment 1 Eric COUTURIER-GUILLAUME 2016-09-09 18:40:58 UTC
Created attachment 1199590 [details]
File: backtrace

Comment 2 Eric COUTURIER-GUILLAUME 2016-09-09 18:40:59 UTC
Created attachment 1199591 [details]
File: environ

Comment 3 Kevin Fenzi 2016-09-09 23:34:00 UTC
Is the pdf you are trying to convert freely distributable? If so can you attach it?

Otherwise I'll see what I can make of the backtrace.

Comment 4 Fedora End Of Life 2016-11-25 09:34:27 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2016-12-20 21:29:06 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.