Steps to replicate the issue (include links if applicable):
I've tryied several times this day to export books in "pdf" format in french Wikisource, but I had the message below.
What happens?:
Error message :
Une erreur est survenue
Détails de l’erreur : The command "'ebook-convert' '/ws-export/var/file-cache/www-data/ws-c0_Voyages_des_trois_princes_de_Sarendip-8661861909506340.epub' '/ws-export/var/file-cache/www-data/ws-c0_Voyages_des_trois_princes_de_Sarendip-866186505276452.pdf' '--page-breaks-before' '/' '--paper-size' 'a5' '--pdf-page-margin-bottom' '32' '--pdf-page-margin-top' '40' '--pdf-page-margin-left' '24' '--pdf-page-margin-right' '24' '--pdf-page-numbers' '--preserve-cover-aspect-ratio'" failed. Exit Code: 1(General error) Working directory: /var/www/tool/public Output: ================ Conversion options changed from defaults: preserve_cover_aspect_ratio: True paper_size: 'a5' pdf_page_margin_top: 40.0 pdf_page_margin_right: 24.0 pdf_page_margin_left: 24.0 pdf_page_margin_bottom: 32.0 pdf_page_numbers: True 1% Converting input to HTML... Error Output: ================ Failed to import PyQt module: PyQt6.QtWebEngineCore with error: libasound.so.2: cannot open shared object file: No such file or directory Traceback (most recent call last): File "runpy.py", line 198, in _run_module_as_main File "runpy.py", line 88, in _run_code File "site.py", line 47, in <module> File "site.py", line 43, in main File "calibre/ebooks/conversion/cli.py", line 428, in main File "calibre/ebooks/conversion/plumber.py", line 1087, in run File "calibre/ebooks/conversion/plugins/pdf_output.py", line 154, in specialize_options ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (/opt/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/webengine.pyc)
Si cette erreur persiste, veuillez signaler une anomalie sur Phabricator.
What should have happened instead?:
export of a book using WS Export tool
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
The message happened while trying to export the book : https://fr.wikisource.org/wiki/Voyages_des_trois_princes_de_Sarendip
but the same problem occured with all others books
Other information (browser name/version, screenshots, etc.):