Public bug reported:
Trying to convert a book to pdf with calibre 4.99.4 results in error:
ebook-convert TMcGrath-Clean\ Code\ Summary_Agile\ Software\ Craftmanship\
Guidelines-Developer\ Deconstructed\ \(2016\).azw3 TMcGrath-Clean\ Code\
Summary_Agile\ Software\ Craftmanship\ Guidelines-Developer\ Deconstructed\
\(2016\).pdf
1% Converting input to HTML...
InputFormatPlugin: MOBI Input running
on /home/gmuller/Downloads/TOPRINT/TMcGrath-Clean Code Summary_Agile Software
Craftmanship Guidelines-Developer Deconstructed (2016).azw3
Found KF8 MOBI of type 'standalone'
Parsing all content...
34% Running transforms on e-book...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 11.95425pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'images/00003.jpeg' from manifest
Creating PDF Output...
67% Running PDF Output plugin
The cover image has an id != "cover". Renaming to work around bug in Nook Color
68% Parsed all content for markup transformation
Link anchor: text/part0000.html#1-f22ab0014c924831a14cdb6c59d26a4e not found,
linking to top of file instead
Link anchor: text/part0001.html#UGI1-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0002.html#1T141-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0003.html#2RHM1-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0004.html#3Q281-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0005.html#4OIQ1-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0006.html#5N3C1-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0007.html#6LJU1-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0008.html#7K4G1-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0009.html#8IL21-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0010.html#9H5K1-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0011.html#AFM61-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0012.html#BE6O1-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0013.html#CCNA1-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0014.html#DB7S1-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0015.html#E9OE1-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0016.html#F8901-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0017.html#G6PI1-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0018.html#H5A41-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0019.html#I3QM2-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
Link anchor: text/part0020.html#J2B81-f22ab0014c924831a14cdb6c59d26a4e not
found, linking to top of file instead
70% Completed markup transformation
WebEngineContext used before QtWebEngine::initialize() or OpenGL context
creation failed.
Traceback (most recent call last):
File "/usr/bin/ebook-convert", line 20, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/ebooks/conversion/cli.py", line 401, in main
plumber.run()
File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 1274, in
run
self.output_plugin.convert(self.oeb, self.output, self.input_plugin,
File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/pdf_output.py", line
188, in convert
self.convert_text(oeb_book)
File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/pdf_output.py", line
253, in convert_text
convert(
File "/usr/lib/calibre/calibre/ebooks/pdf/html_writer.py", line 1195, in
convert
manager = RenderManager(opts, log, container.root)
File "/usr/lib/calibre/calibre/ebooks/pdf/html_writer.py", line 279, in
__init__
ans.setUrlRequestInterceptor(self.interceptor)
AttributeError: 'QWebEngineProfile' object has no attribute
'setUrlRequestInterceptor'
According to https://bugs.launchpad.net/calibre/+bug/1850835 it's because the
maintainer of the package did not sync the calibre version and the Qt
requirement (Qt 5.13 is required for calibre 4.99.4).
** Affects: calibre (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884295
Title:
AttributeError: 'QWebEngineProfile' object has no attribute
'setUrlRequestInterceptor'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1884295/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs