|  11-21-2020, 06:42 AM | #1 | 
| Junior Member  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_FatalErrorFuncIs this a problem in the last Calibre upgrade... or a problem with my system? Any help welcome. Thanks a lot Salan54 | 
|   |   | 
|  11-21-2020, 07:19 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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
		 | 
|   |   | 
| Advert | |
|  | 
|  11-21-2020, 07:40 AM | #3 | 
| Junior Member  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 | 
|   |   | 
|  11-21-2020, 08:17 AM | #4 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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.
		 | 
|   |   | 
|  11-21-2020, 09:13 AM | #5 | 
| Junior Member  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. | 
|   |   | 
| Advert | |
|  | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  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 |