Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
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
Old 11-21-2020, 07:19 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: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Uninstall the debian package and install the official binaries from https://calibre-ebook.com/download_linux
kovidgoyal is online now   Reply With Quote
Advert
Old 11-21-2020, 07:40 AM   #3
salan54
Junior Member
salan54 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2011
Device: Kindle
Hi @kovidgoyal,
Thanks a lot for your answer.
I followed your instruction and installed from the "official binaries" and it works... I suppose I will have to forget the no-less "official" Debian package and install new version from your website too. Is there a mechanism (RSS or other) to be kept updated for new versions?
Thanks again,
Salan54
salan54 is offline   Reply With Quote
Old 11-21-2020, 08:17 AM   #4
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: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre itself notifies you of updates, and there is an rss feed on the website as well.
kovidgoyal is online now   Reply With Quote
Old 11-21-2020, 09:13 AM   #5
salan54
Junior Member
salan54 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2011
Device: Kindle
Found the RSS feed and subscribed. Thanks.
As I am only using calibre-server on a headless server, I have no access to the GUI.
salan54 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update calibredb and calibre-server on a CLI server dlfuller Devices 12 12-17-2017 06:52 PM
update error in Debian 8 Linux SilverBear Devices 5 01-03-2016 04:03 AM
Calibre-server / Linux don't see calibreDB update when it's running aurigod Calibre 13 11-25-2015 02:44 AM
DEBIAN Headless SERVER sMystero Devices 10 04-03-2015 06:55 PM
Calibre Server freezes since newest update KlausRegenbrecht Devices 14 12-17-2011 09:48 AM


All times are GMT -4. The time now is 10:16 PM.


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