View Single Post
Old 04-07-2019, 06:02 PM   #1
Logseman
Orisa
Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.
 
Logseman's Avatar
 
Posts: 2,001
Karma: 1035571
Join Date: Feb 2010
Location: Ireland
Device: Onyx Poke 5
Calibre won't install in Ubuntu Server 18.04

Hello good people

I recently got a server, for learning how to run a home server among other things. One of the things is that I'd like to run is a calibre server which serves my books to my reading devices. However, I'm finding myself unable to install Calibre in my vanilla Ubuntu Server 18.04 install.

This is the output of the installer script:

Code:
2019-04-07 21:44:48 URL:https://download.calibre-ebook.com/linux-installer.sh [31070/31070] -> "-" [1]
Using python executable: /usr/bin/python3
Installing to /opt/calibre
Downloading tarball signature securely...
Using previously downloaded calibre-3.40.1-x86_64.txz
Extracting files to /opt/calibre ...
Extracting application files... 
Creating symlinks... (cue 30 million symlinks)

Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/vendor-completions/_calibre
Failed to find directory to install bash completions, using default.
Installing bash completion to: /usr/share/bash-completion/completions/calibre


____________________ WARNING ____________________
Setting up completion failed with error:
__________________________________________________


	Traceback (most recent call last):
	  File "site-packages/calibre/linux.py", line 755, in setup_completion
	  File "site-packages/calibre/linux.py", line 509, in write_completion
	  File "site-packages/calibre/gui2/__init__.py", line 13, in <module>
	ImportError: cannot import name QApplication

Setting up desktop integration...

____________________ WARNING ____________________
Setting up desktop integration failed with error:
__________________________________________________


	Traceback (most recent call last):
	  File "site-packages/calibre/linux.py", line 815, in setup_desktop_integration
	  File "site-packages/calibre/linux.py", line 800, in install_icons
	  File "site-packages/calibre/linux.py", line 790, in install_single_icon
	  File "site-packages/calibre/linux.py", line 1132, in render_img
	ImportError: cannot import name QImage
If I try to run either calibre or calibre-server I also run towards similar errors. I imagine it's a dependency issue, but I didn't see anything about the error messages that was calibre-related except a Debian bug ticket, and as far as I understand it the calibre install is supposed to be self-contained and discourages installing from repositories.
Logseman is offline   Reply With Quote