Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
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
Old 04-02-2021, 09:03 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,227
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Read the first line in that error you posted, you are missing libGL
kovidgoyal is online now   Reply With Quote
Advert
Old 04-03-2021, 08:27 AM   #3
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
Quote:
Originally Posted by kovidgoyal View Post
Read the first line in that error you posted, you are missing libGL
Ok, thanks. Unfortunately, with it being installed on a seedbox, I’m not sure if I’ll be able to install the necessary dependencies. At least I know where to start looking, now. Thanks again.
seannymurrs is offline   Reply With Quote
Old 04-03-2021, 11:16 AM   #4
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
Quote:
Originally Posted by kovidgoyal View Post
Read the first line in that error you posted, you are missing libGL
It looks like installing libGL isn't going to be possible for my situation. Is there any way to use the ebook-convert tool without this dependency, or am I out of luck?
seannymurrs is offline   Reply With Quote
Old 04-03-2021, 11:56 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,227
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You are out of luck.
kovidgoyal is online now   Reply With Quote
Advert
Reply


Forum Jump

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


All times are GMT -4. The time now is 11:39 AM.


MobileRead.com is a privately owned, operated and funded community.