![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,090
Karma: 6058305
Join Date: Sep 2010
Location: UK
Device: Kindle Paperwhite
|
Calibre server issue on Debian 11.4 (Bullseye)
I'm having trouble running Calibre server on my Debian 11.4 Bullseye system. I've installed the official binaries using the instructions at https://calibre-ebook.com/download_linux
But when I start calibre-server I get this error: Code:
Failed to import PyQt module: PyQt6.QtGui with error: libEGL.so.1: cannot open shared object file: No such file or directory Traceback (most recent call last): File "runpy.py", line 196, in _run_module_as_main File "runpy.py", line 86, in _run_code File "site.py", line 45, in <module> File "site.py", line 41, in main File "calibre/srv/standalone.py", line 227, in main File "calibre/srv/standalone.py", line 69, in __init__ File "calibre/srv/handler.py", line 200, in __init__ File "importlib/__init__.py", line 126, in import_module File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "bypy-importer.py", line 279, in exec_module File "calibre/srv/ajax.py", line 18, in <module> File "bypy-importer.py", line 279, in exec_module File "calibre/srv/content.py", line 16, in <module> File "bypy-importer.py", line 279, in exec_module File "calibre/ebooks/covers.py", line 14, in <module> ImportError: cannot import name 'QImage' from 'qt.core' (/opt/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/core.pyc) Any ideas? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,208
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You are likely missing one the needed system libraries, see the notes at: https://calibre-ebook.com/download_linux
|
![]() |
![]() |
![]() |
#3 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 178
Karma: 131606
Join Date: Oct 2011
Location: Germany (south-west)
Device: Kobo Libra 2 & Clara 2E, Tolino shine 5th Gen
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,090
Karma: 6058305
Join Date: Sep 2010
Location: UK
Device: Kindle Paperwhite
|
Installing that and the libopengl0 package fixed the issue.
Thanks both. For reference, in case it helps anyone with a similar issue, this seems to have started with calibre v6.0.0. It had been working happily for over a year when this happened. |
![]() |
![]() |
![]() |
#5 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,422
Karma: 133807966
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Calibre 6 is now using Qt6. New Qt new dependencies.
|
![]() |
![]() |
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,090
Karma: 6058305
Join Date: Sep 2010
Location: UK
Device: Kindle Paperwhite
|
|
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,196
Karma: 57978778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
This is a reason to distrust Auto-incorrect. How hard is it to review the 'whats New' and run the update? Server does not use plugins or those would be an Manual issue on top of everything else. |
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,090
Karma: 6058305
Join Date: Sep 2010
Location: UK
Device: Kindle Paperwhite
|
|
![]() |
![]() |
![]() |
#9 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,196
Karma: 57978778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Call me old fashioned... Paranoid.... I want to KNOW what the dog and kids and Server are up to
![]() ![]() Most of the time, I update Calibre just to see what Kovid brings us as a new toy (and to be aware to help with possible issues, here on these forums). Another thing to consider in your case (server only): That part of the package rarely changes, so updates that do happen are to fix edge case issues. The one case an update is needed if Kovid makes a DB structural change (the server must be able to use the DB you sent from your PC). |
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,090
Karma: 6058305
Join Date: Sep 2010
Location: UK
Device: Kindle Paperwhite
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,422
Karma: 133807966
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
For example, I'm not installing Calibre 6.0. But I will install the next release with the fixes in place. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Bullseye OS Upgrade on Raspberry Pi Breaks Calibre Installation? | daletsteele | Calibre | 12 | 02-09-2022 12:47 PM |
ImportError on Calibre Server since last Debian update | salan54 | Server | 4 | 11-21-2020 09:13 AM |
calibre-server issue | Mex5150 | Calibre | 4 | 07-24-2017 01:58 PM |
Issue with Calibre Server - Windows | jawadams | Calibre | 14 | 07-17-2015 08:25 AM |
Calibre-server port not open issue on Fedora server | stueyboy | Devices | 0 | 08-17-2011 04:57 PM |