janeczku / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
12.17k stars 1.3k forks source link

Issues w/ Metadata updates #2785

Open dariuscardren opened 1 year ago

dariuscardren commented 1 year ago

I've uploaded 40 GB of books (combination of mobi, epub, pdf mostly) and I've been tying to convert the mobi to epub, and applying metadata but keep getting hung up, mostly appears to be blocking when applying the the metadata.

[2023-05-16 12:16:37,752]  INFO {cps.helper:551} Moving title: /books/Unknown/everythingcast-ironcookbook (2) into existing: /books/Cinnamon Cooper/The Everything Cast-Iron Cookbook (2)
[2023-05-16 12:16:37,757] ERROR {cps.helper:581} Error in rename file in path [Errno 2] No such file or directory: '/books/Cinnamon Cooper/The Everything Cast-Iron Cookbook (2)/everythingcast-ironcookbook - Unknown.mobi'
[2023-05-16 12:35:24,419] ERROR {cps.helper:581} Error in rename file in path [Errno 2] No such file or directory: '/books/Cinnamon Cooper/The Everything Cast-Iron Cookbook (2)/everythingcast-ironcookbook - Unknown.mobi'
[2023-05-16 12:38:28,143]  INFO {cps.helper:551} Moving title: /books/Unknown/everythingcast-ironcookbook (2) into existing: /books/Cinnamon Cooper/The Everything Cast-Iron Cookbook (2)
[2023-05-16 12:38:28,147] ERROR {cps.helper:581} Error in rename file in path [Errno 2] No such file or directory: '/books/Cinnamon Cooper/The Everything Cast-Iron Cookbook (2)/everythingcast-ironcookbook - Unknown.mobi'

any ideas? I might rebuild on an desktop cline then upload to the container after if it will make my life easier. Calibre-Web-debug-pack (1).zip

RoccoMathijn commented 9 months ago

I have exactly the same.

[2023-10-24 21:57:05,891]  INFO {cps.helper:551} Moving title: /data/Unknown/A Short History of Nearly Everything (110) into existing: /data/Bill Bryson/A Short History of Nearly Everything (110)
[2023-10-24 21:57:05,894] ERROR {cps.helper:581} Error in rename file in path [Errno 2] No such file or directory: '/data/Bill Bryson/A Short History of Nearly Everything (110)/A Short History of Nearly Everything - Unknown.epub'

When I look at the filesystem the epub is already moved to the new location with filename A Short History of Nearly Everything - Bill Bryson.epub.

When I manually rename it to ... - Unkown.epub and then fetch new metadata again the changes are saved correctly.