FS#76085 - [calibre] Failed to convert from epub to mobi

Attached to Project: Community Packages
Opened by Joel (jmcb) - Saturday, 01 October 2022, 18:31 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 01 October 2022, 19:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:


Additional info:
* package version(s)
ame : calibre
Version : 6.6.0-1
Description : Ebook management application
Architecture : x86_64
URL : https://calibre-ebook.com
Licenses : GPL3
Groups : None
Provides : None
Depends On : hunspell hyphen icu jxrlib libmtp libstemmer libusb libwmf mathjax mtdev optipng
podofo python-apsw python-beautifulsoup4 python-cchardet python-css-parser
python-cssselect python-dateutil python-dnspython python-feedparser python-html2text
python-html5-parser python-jeepney python-lxml python-markdown python-mechanize
python-msgpack python-netifaces python-pdftotext python-pillow python-psutil
python-py7zr python-pychm python-pycryptodome python-pygments python-pyqt6
python-pyqt6-webengine python-regex python-unrardll python-zeroconf qt6-imageformats
qt6-svg qt6-webengine ttf-liberation uchardet udisks2
Optional Deps : poppler: required for converting pdf to html [installed]
speech-dispatcher: TTS support in the viewer
Required By : None
Optional For : None
Conflicts With : calibre-common calibre-python3
Replaces : calibre-common calibre-python3
Installed Size : 91.97 MiB
Packager : Caleb Maclennan <alerque@archlinux.org>
Build Date : Fri 30 Sep 2022 06:54:33 BST
Install Date : Sat 01 Oct 2022 18:09:49 BST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
ebook-convert source.epub dest.mobi

ebook-convert Dune\ Messiah\ -\ Frank\ Herbert.epub test.mobi
1% Converting input to HTML...
InputFormatPlugin: EPUB Input running
on /home/joelm/Documents/Books/Dune Chronicles/Dune Messiah - Frank Herbert.epub
Found HTML cover titlepage.xhtml
Parsing all content...
34% Running transforms on e-book...
Merging user specified metadata...
Detecting structure...
Detected chapter: Epilogue
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'titlepage.xhtml' from manifest
Creating MOBI Output...
67% Running MOBI Output plug-in
Serializing resources...
Creating MOBI 6 output
Generating in-line TOC...
Applying case-transforming CSS...
qt.qpa.plugin: Could not load the Qt platform plugin "headless" in "/usr/lib/calibre/calibre/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimalegl, vkkhrdisplay, xcb, vnc, minimal, linuxfb, eglfs, offscreen, headless.

Aborted (core dumped)

It also failed from the GUI, but with less verbose logs.
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 01 October 2022, 19:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  calibre 6.6.0-2
Comment by Mischa B (mischa108) - Saturday, 01 October 2022, 18:47 GMT
Hello, I just wanted to confirm I have the same error happening.

Noticed that the qt6 packages were updated this morning:

2022-10-01T09:59:24+0200] [ALPM] upgraded qt6-translations (6.3.2-1 -> 6.4.0-1)
[2022-10-01T09:59:25+0200] [ALPM] upgraded qt6-base (6.3.2-1 -> 6.4.0-1)
[2022-10-01T09:59:25+0200] [ALPM] upgraded qt6-declarative (6.3.2-1 -> 6.4.0-1)
[2022-10-01T09:59:25+0200] [ALPM] upgraded qt6-imageformats (6.3.2-1 -> 6.4.0-1)
[2022-10-01T09:59:25+0200] [ALPM] upgraded qt6-positioning (6.3.2-1 -> 6.4.0-1)
[2022-10-01T09:59:25+0200] [ALPM] upgraded qt6-svg (6.3.2-1 -> 6.4.0-1)
[2022-10-01T09:59:25+0200] [ALPM] upgraded qt6-webchannel (6.3.2-1 -> 6.4.0-1)
[2022-10-01T09:59:25+0200] [ALPM] upgraded qt6-webengine (6.3.2-1 -> 6.4.0-1)

I found a very old issue with the same error:
https://bugs.archlinux.org/task/45612

I have a laptop with a clean install of Arch Linux. It did not have Calibre on there yet. After installation of Calibre and attempting to convert an ebook, I get the same error.


Loading...