Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 02-19-2024, 12:23 PM   #1
The_Real_Fayz
Junior Member
The_Real_Fayz began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2024
Device: Kobo Libra 2
Issues installing on a Proxmox LXC.

Hypervisor: Proxmox 8.1.4
LXC OS: Ubuntu 22.04.03 fresh install (Headless)
LXC Storage: 25GiB
VCPU Cores: 2
Memory: 4096 MiB
Swap: 0

Hello, I am having trouble getting Calibre to install and run for me. I am on LXC 15 or 16 now, as I have tried multiple guides, and install methods, but none seem to work. All roads lead to the same issue.

Code:
root@Calibre:~# sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
Using python executable: /usr/bin/python3
2024-02-19 14:45:42 URL:https://download.calibre-ebook.com/linux-installer.sh [34233/34233] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Will download and install calibre-7.5.1-x86_64.txz 
                                  Downloading calibre-7.5.1-x86_64.txz                                 
100% [=============================================================================================]
                                                                                                       Downloaded 146274300 bytes 
Checking downloaded file integrity... 
Extracting files to /opt/calibre ...
Extracting application files... 
Creating symlinks...
        Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
        Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
        Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
        Symlinking /opt/calibre/ebook-polish to /usr/bin/ebook-polish
        Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
        Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
        Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
        Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
        Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
        Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
        Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
        Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
        Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
        Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
        Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
        Symlinking /opt/calibre/calibre to /usr/bin/calibre
        Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
        Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
        Symlinking /opt/calibre/ebook-edit to /usr/bin/ebook-edit
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/
Failed to import PyQt module: PyQt6.QtWebEngineCore with error: libnss3.so: cannot open shared object file: No such file or directory

____________________ WARNING ____________________
Setting up completion failed with error:
__________________________________________________


        Traceback (most recent call last):
          File "calibre/linux.py", line 837, in setup_completion
          File "calibre/linux.py", line 587, in write_completion
          File "bypy-importer.py", line 279, in exec_module
          File "calibre/gui2/tweak_book/main.py", line 12, in <module>
          File "bypy-importer.py", line 279, in exec_module
          File "calibre/ebooks/oeb/polish/check/css.py", line 11, in <module>
        ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (/opt/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/webengine.pyc)

Setting up desktop integration...
xdg-desktop-menu: No writable system menu directory found.

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


        Traceback (most recent call last):
          File "calibre/linux.py", line 858, in setup_desktop_integration
          File "calibre/linux.py", line 880, in do_setup_desktop_integration
          File "calibre/linux.py", line 958, in install_xdg_junk
          File "subprocess.py", line 413, in check_call
        subprocess.CalledProcessError: Command 'xdg-desktop-menu install --noupdate ./calibre-gui.desktop' returned non-zero exit status 3.

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
Code:
root@Calibre:~# calibre
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, vnc, vkkhrdisplay, linuxfb, minimal, wayland, wayland-egl, offscreen, minimalegl, xcb.

Aborted
Commands Run:
Code:
sudo apt update && apt upgrade -y
Code:
sudo apt install xdg-utils wget xz-utils python3 libegl1 libopengl0 libxcb-cursor0 -y
Code:
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
In my research on this issue, I came across this post here on the forums that mentioned needing libnss3.so, so I have tried installing it as well, but that did not help.

Code:
sudo apt install libnss3 -y
The_Real_Fayz is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K3 Issues Installing KindleNotes b0baganush Kindle Developer's Corner 0 05-15-2022 09:34 PM
Issues installing eTcl MiloPig Kindle Developer's Corner 0 10-26-2014 10:31 AM
Issues installing on Mountain Lion edwardmatheson Devices 4 10-05-2012 12:36 PM
Calibre 0.5.14 issues when installing coplate Calibre 1 06-21-2009 08:27 PM


All times are GMT -4. The time now is 05:56 AM.


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