View Single Post
Old 04-02-2021, 08:32 AM   #1
seannymurrs
Member
seannymurrs began at the beginning.
 
seannymurrs's Avatar
 
Posts: 21
Karma: 10
Join Date: Jun 2018
Device: 13" iPad Pro, iPhone 16 Pro
Question Error using ebook-convert via Calibre-Web

I recently installed Calibre-Web on my seedbox. I also installed Calibre using the "isolated" install instructions (due to not having sudo access on my slot) in order to use the ebook-convert feature. When trying to convert an ebook to mobi via Calibre-Web's UI, I get the following error in my logs.

Code:
[2021-04-02 12:27:13,569] DEBUG {cps.tasks.convert:222} Failed to import PyQt module: PyQt5.QtGui with error: libGL.so.1: cannot open shared object file: No such file or directory
[2021-04-02 12:27:13,569] DEBUG {cps.tasks.convert:222} Traceback (most recent call last):
[2021-04-02 12:27:13,570] DEBUG {cps.tasks.convert:222}   File "runpy.py", line 194, in _run_module_as_main
[2021-04-02 12:27:13,570] DEBUG {cps.tasks.convert:222}   File "runpy.py", line 87, in _run_code
[2021-04-02 12:27:13,570] DEBUG {cps.tasks.convert:222}   File "site.py", line 45, in <module>
[2021-04-02 12:27:13,570] DEBUG {cps.tasks.convert:222}   File "site.py", line 41, in main
[2021-04-02 12:27:13,570] DEBUG {cps.tasks.convert:222}   File "calibre/ebooks/conversion/cli.py", line 401, in main
[2021-04-02 12:27:13,570] DEBUG {cps.tasks.convert:222}   File "calibre/ebooks/conversion/plumber.py", line 1271, in run
[2021-04-02 12:27:13,570] DEBUG {cps.tasks.convert:222}   File "calibre/ebooks/conversion/plugins/mobi_output.py", line 186, in convert
[2021-04-02 12:27:13,570] DEBUG {cps.tasks.convert:222}   File "bypy-importer.py", line 203, in exec_module
[2021-04-02 12:27:13,570] DEBUG {cps.tasks.convert:222}   File "calibre/ebooks/mobi/writer2/resources.py", line 12, in <module>
[2021-04-02 12:27:13,570] DEBUG {cps.tasks.convert:222}   File "bypy-importer.py", line 203, in exec_module
[2021-04-02 12:27:13,570] DEBUG {cps.tasks.convert:222}   File "calibre/ebooks/mobi/utils.py", line 13, in <module>
[2021-04-02 12:27:13,571] DEBUG {cps.tasks.convert:222}   File "bypy-importer.py", line 203, in exec_module
[2021-04-02 12:27:13,571] DEBUG {cps.tasks.convert:222}   File "calibre/utils/img.py", line 13, in <module>
[2021-04-02 12:27:13,571] DEBUG {cps.tasks.convert:222} ImportError: cannot import name 'QColor' from 'qt.core' (/mnt/mpaths/seannymurrs/calibre-bin/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/core.pyc)
[2021-04-02 12:27:13,571]  INFO {cps.tasks.convert:140} ebook converter failed with error while converting book
I originally posted this on the Github page for Calibre-Web, but I was directed here since it's appears to be an issue with the ebook-convert part of Calibre (and not directly related to Calibre-Web). I know very little about Python (and Linux in general), but it seems like I'm missing some sort of module. Is this due to the fact that I had to do an "isolated" install?
seannymurrs is offline   Reply With Quote