View Single Post
Old 11-21-2020, 06:42 AM   #1
salan54
Junior Member
salan54 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2011
Device: Kindle
ImportError on Calibre Server since last Debian update

Hi all,

I am running a Calibre Server on my Debian Server (Debian bullseye/sid - Linux 5.9.0-2-amd64) for a few years now, without problems. This morning, as each week, I updated my installation (apt update && apt upgrade). Since that upgrade (Through the process, Calibre was upgraded from5.4.2+dfsg-1 to 5.5.0+dfsg-1), Calibre-server fails with the following error :

Code:
user@ns1:~$ calibre-server --daemonize /home/user/CalibreLibrary
Traceback (most recent call last):
  File "/usr/bin/calibre-server", line 19, in <module>
    from calibre.srv.standalone import main
  File "/usr/lib/calibre/calibre/srv/standalone.py", line 14, in <module>
    from calibre.db.legacy import LibraryDatabase
  File "/usr/lib/calibre/calibre/db/legacy.py", line 18, in <module>
    from calibre.db.backend import DB, set_global_state as backend_set_global_state
  File "/usr/lib/calibre/calibre/db/backend.py", line 36, in <module>
    from calibre.utils.img import save_cover_data_to
  File "/usr/lib/calibre/calibre/utils/img.py", line 26, in <module>
    from calibre_extensions import imageops
ImportError: /usr/lib/calibre/calibre/plugins/imageops.so: undefined symbol: _Py_FatalErrorFunc
I then tried to uninstall calibre, calibre-bin along with all deps and proceed to a full re-install... to no avail : same error!

Is this a problem in the last Calibre upgrade... or a problem with my system? Any help welcome.

Thanks a lot
Salan54
salan54 is offline   Reply With Quote