Package: calibre Version: 4.3.0+dfsg-2 Severity: normal Dear Maintainer,
ebook-convert package aborts every time I'm trying to convert file to pdf format. Abort message looks this way: <..prior conversion log..> 68% Parsed all content for markup transformation 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 1275, in run self.opts, self.log) File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/pdf_output.py", line 176, in convert self.convert_text(oeb_book) File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/pdf_output.py", line 243, in convert_text log=self.log, cover_data=self.cover_data, report_progress=self.report_progress File "/usr/lib/calibre/calibre/ebooks/pdf/html_writer.py", line 1139, in convert manager = RenderManager(opts, log, container.root) File "/usr/lib/calibre/calibre/ebooks/pdf/html_writer.py", line 250, in __init__ ans.setUrlRequestInterceptor(self.interceptor) AttributeError: 'QWebEngineProfile' object has no attribute 'setUrlRequestInterceptor' If I simply comment out line 250 in html_writer.py, there is no abort and conversion passes without issues and produces expected pdf file. Everything works. I see there is a similar issue reported to upstream, but bug was declined as they do not support calibre which comes from debian package. Details are here: https://bugs.launchpad.net/calibre/+bug/1850835 Probably there was a new version for python-pyqt which we don't have yet in debian, but I didn't figure that out. Could you please have a look? -- Regards, Rushan. -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages calibre depends on: ii calibre-bin 4.3.0+dfsg-2 ii dpkg 1.19.7 ii fonts-liberation 1:1.07.4-10 ii imagemagick 8:6.9.10.23+dfsg-2.1+b2 ii imagemagick-6.q16 [imagemagick] 8:6.9.10.23+dfsg-2.1+b2 ii libjpeg-turbo-progs 1:1.5.2-2+b1 ii libjs-coffeescript 1.12.8~dfsg-4 ii libjs-mathjax 2.7.4+dfsg-1 ii optipng 0.7.7-1+b1 ii poppler-utils 0.71.0-6 ii python-apsw 3.29.0-r1-2 ii python-bs4 4.8.0-2 ii python-chardet 3.0.4-4 ii python-cherrypy3 8.9.1-5 ii python-css-parser 1.0.4-1 ii python-cssselect 1.1.0-1 ii python-cssutils 1.0.2-2 ii python-dateutil 2.7.3-3 ii python-dbus 1.2.12-1 ii python-feedparser 5.2.1-1 ii python-html2text 2019.8.11-1 ii python-html5-parser 0.4.9-1 ii python-html5lib 1.0.1-1 ii python-lxml 4.4.1-1 ii python-markdown 3.1.1-2 ii python-mechanize 1:0.4.3-2 ii python-msgpack 0.5.6-2 ii python-netifaces 0.10.4-1+b2 ii python-pil 6.2.1-2+b1 ii python-pkg-resources 41.4.0-1 ii python-pyparsing 2.4.2-1 ii python-pyqt5 5.12.3+dfsg-3 ii python-pyqt5.qtsvg 5.12.3+dfsg-3 ii python-pyqt5.qtwebengine 5.12.1-4+b1 ii python-regex 0.1.20190207-1+b2 ii python-routes 2.4.1-1 ii python2.7 2.7.17-1 ii xdg-utils 1.1.3-1 Versions of packages calibre recommends: ii python-dnspython 1.16.0-1 Versions of packages calibre suggests: pn python-unrardll <none> -- no debconf information