View Single Post
Old 04-17-2019, 06:40 PM   #2
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,194
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by sgseidel View Post
This is my first post on the forum, so apologies beforehand if I'm not doing something correctly:

I've attempted to install calibre 3.40.1 on Linux Mint 19.1 Cinnamon. LM19.1 OS is up to date (as of a few minutes ago). Also note LM 19.1 is running as a virtual machine on a macOS 10.14.4 host under Virtualbox 6.0.6 (latest as of a few minutes ago) with guest additions 6.0.6.
Spoiler:

calibre was installed using the command line:

sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin

The following errors are thrown:

....
Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/vendor-completions/_calibre
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 QDesktopServices

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

Creating un-installer: /usr/bin/calibre-uninstall


There were 2 warnings

* Setting up completion failed with error:

* Setting up desktop integration failed with error:

Run "calibre" to start calibre
stewart@stewart-LM191:~/Downloads$ calibre
Traceback (most recent call last):
File "site.py", line 77, in main
File "site-packages/calibre/gui_launch.py", line 73, in calibre
File "site-packages/calibre/gui2/__init__.py", line 13, in <module>
ImportError: cannot import name QDesktopServices
Segmentation fault (core dumped)
stewart@stewart-LM191:~/Downloads$


I'm not sure where to go from here. Can someone advise? Thanks.
Try running calibre in debug mode:
open a terminal and enter

Code:
calibre-debug -g
If it works will get some similar to this:
Spoiler:

Code:
xxxxx@xxxxx-SDA ~ $ calibre-debug -g
calibre 3.40.1  embedded-python: True is64bit: True
Linux-4.18.0-16-generic-x86_64-with-debian-buster-sid Linux ('64bit', 'ELF')
('Linux', '4.18.0-16-generic', '#17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:51 UTC 2019')
Python 2.7.15
Linux: ('debian', 'buster/sid', '')
Interface language: None
Successfully initialized third party plugins: DeDRM (6, 6, 2) && Modify ePub (1, 3, 13) && Hyphenate This! (0, 0, 8) && Goodreads (1, 4, 0) && Diaps Editing Toolbag (0, 3, 5) && KindleUnpack - The Plugin (0, 81, 5) && Reading List (1, 6, 6) && EpubSplit (2, 6, 0) && Quality Check (1, 9, 11) && Barnes & Noble (1, 2, 15) && Baen (0, 0, 3)
Turning on automatic hidpi scaling
QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries.
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 85.0837438424 x 85.184279476
Using calibre Qt style: True
QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries.
[0.00] Starting up...
[0.00] Showing splash screen...
[0.20] splash screen shown
[0.20] Initializing db...
[0.43] db initialized
[0.43] Constructing main UI...
libpng warning: iCCP: known incorrect sRGB profile
Looking for desktop notifier support from: org.freedesktop.Notifications
org.freedesktop.Notifications found in 0.0 seconds
[1.77] main UI initialized...
[1.77] Hiding splash screen
DEBUG:    0.0 get_baen_id: match_group= None
[2.15] splash screen hidden
[2.15] Started up in 2.15 seconds with 3270 books

IFit works or not post the results.

Try using the "Manual binary install or reverting to a previous version" from https://calibre-ebook.com/download_linux

My system is running
Linux Mint 19.1 Cinnamon

bernie

Last edited by gbm; 04-17-2019 at 06:43 PM.
gbm is offline   Reply With Quote