Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calibre binaries not viable #3293

Open
richarji opened this issue Jan 21, 2025 · 0 comments
Open

Calibre binaries not viable #3293

richarji opened this issue Jan 21, 2025 · 0 comments

Comments

@richarji
Copy link

I have installed Calibre-web in Proxmox 8.3.2 using the Community Script from https://community-scripts.github.io/ProxmoxVE/scripts?id=calibre-web into a Privleged LXC container. No issues. It is running under Debian 12. Calibre-web is up an running with no errors.

I have installed Calibre 7.24.0 following the instructions at the Calibre Ebook download page.

On the Admin page for Calibre-web, I entered the path to the Calibre binaries (/opt/calibre) using the file picker.

When I attempt to Save, I receive the banner message "Calibre binaries are not viable"

From the shell I checked and I can run ebook-convert without any problems.

<<>>

root@calibre-web:/opt/calibre# ./ebook-convert --version
ebook-convert (calibre 7.24.0)
Created by: Kovid Goyal [email protected]

root@calibre-web:/opt/calibre# cat /var/log/calibre-web.log
[2025-01-21 17:31:40,996] INFO {cps.server:319} webserver stop (restart=True)
[2025-01-21 17:31:40,996] INFO {apscheduler.scheduler:212} Scheduler has been shut down
[2025-01-21 17:31:41,999] INFO {cps.server:301} Performing restart of Calibre-Web
[2025-01-21 17:31:42,769] INFO {cps:169} *** "greenlet" version does not meet the requirements. Should: <3.1.0, Found: 3.1.1, please consider installing required version ***
[2025-01-21 17:31:42,769] INFO {cps:178} Starting Calibre Web...
[2025-01-21 17:31:42,776] DEBUG {cps.services:26} Cannot import goodreads, showing authors-metadata will not work: No module named 'goodreads'
[2025-01-21 17:31:42,776] DEBUG {cps.services:34} Cannot import simpleldap, logging in with ldap will not work: No module named 'flask_simpleldap'
[2025-01-21 17:31:42,857] DEBUG {cps.services:49} Cannot import gmail, sending books via Gmail Oauth2 Verification will not work: No module named 'google_auth_oauthlib'
[2025-01-21 17:31:42,882] WARN {py.warnings:109} /usr/local/lib/python3.11/dist-packages/flask_limiter/extension.py:333: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
warnings.warn(

[2025-01-21 17:31:42,941] DEBUG {cps.gdriveutils:83} Cannot import pydrive, httplib2, using gdrive will not work: No module named 'pydrive'
[2025-01-21 17:31:43,144] INFO {apscheduler.scheduler:181} Scheduler started
[2025-01-21 17:31:43,145] INFO {apscheduler.scheduler:895} Added job "delete temp" to job store "default"
[2025-01-21 17:31:43,145] INFO {apscheduler.scheduler:895} Added job "end scheduled task" to job store "default"
[2025-01-21 17:31:43,145] INFO {apscheduler.scheduler:895} Added job "immediately delete temp" to job store "default"
[2025-01-21 17:31:43,146] INFO {apscheduler.executors.default:123} Running job "immediately delete temp (trigger: date[2025-01-21 17:31:43 EST], next run at: 2025-01-21 17:31:43 EST)" (scheduled at 2025-01-21 17:31:43.145632-05:00)
[2025-01-21 17:31:43,146] INFO {apscheduler.scheduler:641} Removed job e9aaa1fbd4884e78b5179af4938c06e5
[2025-01-21 17:31:43,147] DEBUG {cps.services.worker:91} Add Task for user: System - Clean up
[2025-01-21 17:31:43,147] INFO {apscheduler.executors.default:144} Job "immediately delete temp (trigger: date[2025-01-21 17:31:43 EST], next run at: 2025-01-21 17:31:43 EST)" executed successfully
[2025-01-21 17:31:43,148] DEBUG {cps.tasks.clean:43} Deleted expired session_keys
[2025-01-21 17:31:43,234] DEBUG {cps.comic:46} Cannot import comicapi, extracting comic metadata will not work: No module named 'comicapi'
[2025-01-21 17:31:43,235] DEBUG {cps.comic:53} Cannot import rarfile, extracting cover files from rar files will not work: No module named 'rarfile'
[2025-01-21 17:31:43,235] DEBUG {cps.comic:59} Cannot import py7zr, extracting cover files from CB7 files will not work: No module named 'py7zr'
[2025-01-21 17:31:43,291] DEBUG {cps.uploader:79} Cannot import mutagen, extracting audio metadata will not work: No module named 'mutagen'
[2025-01-21 17:31:43,312] DEBUG {cps.admin:83} Cannot import Flask-Dance, login with Oauth will not work: No module named 'flask_dance'
[2025-01-21 17:31:43,315] DEBUG {cps.gdrive:44} Cannot import googleapiclient, using GDrive will not work: No module named 'googleapiclient'
[2025-01-21 17:31:43,347] DEBUG {cps.search_metadata:61} Import error for metadata source: amazon - No module named 'bs4'
[2025-01-21 17:31:43,348] DEBUG {cps.search_metadata:61} Import error for metadata source: douban - No module named 'html2text'
[2025-01-21 17:31:43,348] DEBUG {cps.search_metadata:61} Import error for metadata source: lubimyczytac - No module named 'dateutil'
[2025-01-21 17:31:43,353] DEBUG {cps.search_metadata:61} Import error for metadata source: scholar - No module named 'scholarly'
[2025-01-21 17:31:43,441] INFO {cps.server:268} Starting Tornado server on :8083
[2025-01-21 17:32:02,248] ERROR {cps.admin:1894} Calibre binaries not viable
root@calibre-web:/opt/calibre#

Environment (please complete the following information):

  • OS: Debian GNU/Linux 12 (bookworm)
  • Python version: 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0]
  • Calibre-Web version: 0.6.24 - pyPi
  • Docker container: [None]:
  • Special Hardware: [Intel I7 / 48GB RAM / Proxmox 8.3.2 LXC Privleged Container / TrueNAS Scale ElectricEel-24.10.1 (Calibre database is accessed via an NFS share from TrueNAS
  • Browser: [Firefox 134.0.1 (64-bit)]

The thing I don't understand is that the directory is selected using the folder picker in the Calibre-web app so for the binaries to be "non-viable", they must be failing some other, unspecified test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant