|  04-02-2021, 08:32 AM | #1 | 
| Member  Posts: 21 Karma: 10 Join Date: Jun 2018 Device: 13" iPad Pro, iPhone 16 Pro |  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 | 
|   |   | 
|  04-02-2021, 09:03 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Read the first line in that error you posted, you are missing libGL
		 | 
|   |   | 
|  04-03-2021, 08:27 AM | #3 | 
| Member  Posts: 21 Karma: 10 Join Date: Jun 2018 Device: 13" iPad Pro, iPhone 16 Pro | |
|   |   | 
|  04-03-2021, 11:16 AM | #4 | 
| Member  Posts: 21 Karma: 10 Join Date: Jun 2018 Device: 13" iPad Pro, iPhone 16 Pro | |
|   |   | 
|  04-03-2021, 11:56 AM | #5 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			You are out of luck.
		 | 
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| ebook-convert error | rikm | Conversion | 10 | 10-05-2020 04:09 PM | 
| Auto Convert of eBook via web console | 8bit | Server | 5 | 06-15-2018 04:28 AM | 
| Calibre 3.4 Web Server Error | LUEBECKER | Calibre | 3 | 11-26-2017 06:45 PM | 
| Calibre Web Server: Auto Convert option? | Eurisko | Calibre | 1 | 05-15-2014 09:05 PM | 
| Why does Calibre need to go to the web to convert a zipped HTML file? | FizzyWater | Calibre | 4 | 06-30-2008 12:51 AM |