calibre-web icon indicating copy to clipboard operation
calibre-web copied to clipboard

Error while saving fetched metadata

Open ibigbug opened this issue 2 years ago • 2 comments

Describe the bug/problem

Errors while saving metadata after fetching:

Error in rename file in path: [Errno 2] No such file or directory: '/books/Brendan Gregg/Systems Performance (17)/Systems Performance_ Enterprise - Brendan Gregg.azw3'

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Edit Metadata'
  2. Click on 'Fetch'
  3. Choose a result from Google, for example
  4. See error

Logfile Add content of calibre-web.log file or the relevant error, try to reproduce your problem with "debug" log-level to get more output.

calibre-web.log

folder structure:

root@6df6bca3e4dd:/# ls '/books/Brendan Gregg/'
'Systems Performance (17)'  'Systems Performance_ Enterprise and (17)'

Expected behavior It should be able to find the and rename the file

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Platform Linux 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 x86_64
Python 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0]
Calibre_Web 0.6.18 - fee76741a02899d2dfdc2ce29cfc27901a06383c - 2022-04-03T20:17:34+02:00
  • Docker container: [None/LinuxServer]: LinuxServer
  • Special Hardware: [e.g. Rasperry Pi Zero]
  • Browser: FireFox

Additional context

I imported the book from Calibree on desktop

And I edit metadata in calibre-web

Maybe there's a confusion on the old/new book title before/after renaming. not sure how to consolidate these ?

ibigbug avatar Jun 18 '22 08:06 ibigbug

Please perform a library maintenance in calibre (should be in library menu), there is something wrong with names in the database and in file structure

OzzieIsaacs avatar Jun 18 '22 08:06 OzzieIsaacs

thank you. after maintenance, library looking fine.

ibigbug avatar Jun 25 '22 07:06 ibigbug