You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is an invalid /path/to/altbooks in the input field for "Separate Book Files from Library" Calibre-Web will attempt to load from that path regardless of the tick box state.
To Reproduce
Steps to reproduce the behavior:
0. On a working instance, logged in as an admin user..
Go to Settings > Edit Calibre Database Configuration
Select the box next to "Separate Book Files from Library"
Input a directory that is not the same as the "Location of Calibre Database"
3.1. My exact change was in attempt to target a virtual library: "/path/to/Calibre-Library::virtual"
Save the new configuration
Deselect the tick box next to "Separate Book Files from Library" with the saved path still in the input field
Save configuration again
Load the a page with books to see a wall of "Cover Not Found"
Return to the Settings > Edit Calibre Database Configuration page
Select the tick box next to "Separate Book Files from Library"
Clear all text from the input box and save the configuration
Deselect the tick box next to "Separate Book Files from Library" and save configuration again
Load a page with books to see all cover art loading correctly
Logfile
Multiple lines of the following, but nothing else:
...
[2024-08-21 11:01:30,046] DEBUG {cps.tasks.thumbnail:175} Error updating book thumbnail: Book cover file not found
...
Expected behavior
Deselecting the tick box should result in not using the /path/to/altbooks dir, falling back to the base Calibre Database dir
Screenshots
N/A
Environment (please complete the following information):
Yeah I remember that the error handling in this cases was a bit tricky and I gave up at some point to check if it causes problems. I will have a look at it
Describe the bug/problem
If there is an invalid /path/to/altbooks in the input field for "Separate Book Files from Library" Calibre-Web will attempt to load from that path regardless of the tick box state.
To Reproduce
Steps to reproduce the behavior:
0. On a working instance, logged in as an admin user..
3.1. My exact change was in attempt to target a virtual library: "/path/to/Calibre-Library::virtual"
Logfile
Multiple lines of the following, but nothing else:
...
[2024-08-21 11:01:30,046] DEBUG {cps.tasks.thumbnail:175} Error updating book thumbnail: Book cover file not found
...
Expected behavior
Deselecting the tick box should result in not using the /path/to/altbooks dir, falling back to the base Calibre Database dir
Screenshots
N/A
Environment (please complete the following information):
(Linux 6.6.31+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64)
Additional context
None
The text was updated successfully, but these errors were encountered: