I usually import books by placing them in a folder and using calibredb to add them to my database. Something like this:
/app/calibre/calibredb add --with-library=/books /books_to_import
However, this last time, all the books it imported are missing their cover. The cover.jpg file on each folder is missing.
To Reproduce
Steps to reproduce the behavior:
Access calibre-web from a console
run /app/calibre/calibredb add --with-library=/books /books_to_import
Wait for the process to finish.
Open calibre-web on a web browser. The covers will be missing
Logfile
Example when adding a single epub book:
root@e8a6e307060c:/newbooks# /app/calibre/calibredb add --with-library=/books /newbooks
Failed to import PyQt module: PyQt6.QtGui with error: libEGL.so.1: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "calibre/db/cache.py", line 1635, in set_metadata
File "calibre/db/cache.py", line 1558, in set_cover
File "calibre/db/backend.py", line 1611, in set_cover
File "bypy-importer.py", line 279, in exec_module
File "calibre/utils/img.py", line 12, in <module>
ImportError: cannot import name 'QColor' from 'qt.core' (/app/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/core.pyc)
Added book ids: 71595
root@e8a6e307060c:/newbooks#
Expected behavior
Book covers should have been extracted from the epub files.
Screenshots
Environment (please complete the following information):
OS: Debian Bookworm
Python version: Python 3.10.12
Calibre-Web version: (pulled today from lscr.io/linuxserver/calibre-web:latest)
Docker container: LinuxServer
Special Hardware: Just a desktop PC working as a NAS
Browser: Firefox 130
Additional context
Add any other context about the problem here. [e.g. access via reverse proxy, database background sync, special database location]
Describe the bug/problem
I usually import books by placing them in a folder and using calibredb to add them to my database. Something like this:
/app/calibre/calibredb add --with-library=/books /books_to_import
However, this last time, all the books it imported are missing their cover. The cover.jpg file on each folder is missing.
To Reproduce
Steps to reproduce the behavior:
/app/calibre/calibredb add --with-library=/books /books_to_import
Logfile
Example when adding a single epub book:
Expected behavior
Book covers should have been extracted from the epub files.
Screenshots
Environment (please complete the following information):
Additional context Add any other context about the problem here. [e.g. access via reverse proxy, database background sync, special database location]