Fatal Error when adding metadata and covers.
#1  jgforbes 02-19-2020, 09:21 PM
When adding metadata and covers for multiple books I am getting the error below and it
cause calibre to hang and requires kill -9 to remove. The offending directory has no cover or book in it. The files are on a file server accesses via CIFS and I think that there may be
some issue with file access. Nevertheless, this error is not being handled gracefully.

calibre, version 4.10.1
ERROR: Unhandled exception: <b>IOError</b>:[Errno 2] No such file or directory: u'/AssortedBooks/Unknown/Parallel Manipulators(139)/cover.jpg'

calibre 4.10.1 embedded-python: True is64bit: True
Linux-5.4.18-100.fc30.x86_64-x86_64-with-fedora-30-Thirty Linux ('64bit', 'ELF')
('Linux', '5.4.18-100.fc30.x86_64', '#1 SMP Fri Feb 7 14:37:00 UTC 2020')
Python 2.7.16
Linux: ('Fedora', '30', 'Thirty')
Interface language: None
Successfully initialized third party plugins: Find Duplicates (1, 6, 3) && Extract ISBN (1, 4, 4)
Traceback (most recent call last):
File "site-packages/calibre/gui2/actions/", line 788, in do_one_apply
File "site-packages/calibre/db/", line 714, in set_cover
File "site-packages/calibre/db/", line 62, in call_func_with_lock
File "site-packages/calibre/db/", line 1253, in set_cover
File "site-packages/calibre/db/", line 1459, in set_cover
File "site-packages/calibre/utils/", line 250, in save_cover_data_to
File "site-packages/calibre/", line 192, in local_open
IOError: [Errno 2] No such file or directory: u'/AssortedBooks/Unknown/Parallel Manipulators (139)/cover.jpg'

#2  kovidgoyal 02-19-2020, 09:37 PM

Today's Posts | Search this Thread | Login | Register