I get the following error message (see qoute below) when modifying metadata for a book. I've located the error message to be connected to changing Title or Author of the book, and also when deleting the book. Other metadata can be modified without any problem. It looks like the error message comes when I want to rename or delete a directory in the file structure. The strange thing is that this error message does not appear when a book is created, i.e. when the files and directories are created. It does not appear when the book is converted to other formats or when other formats of the books are removed, i.e. adding and deleting files within the directory.
I'm storing the library on a network disk mounted as CIFS mounting point from my NAS. I know that this is not recommended, but this is my setup. Everything was working as it should until 1-2 weeks ago. I did 2 things around that time:
- Temporary removed the CIFS mounting point, reinstalled the network volume on NAS, then added CIFS mounting point again
- Upgraded Calibre to v3.27.1.
I think I managed to add the CIFS mount point correct, and from a File Explorer on the same server as I run Calibre, I am able to rename and delete directories on the network drive. Are there any changes done in Calibre that could cause this error? I don't remember the previous version of Calibre, but I check regulary, maybe every 2-3 weeks for updates.
Here is the error message I get:
Quote:
calibre, version 3.27.1
ERROR: Unhandled exception: <b>error</b> 5, 'CreateFileW', 'Access is denied.')
calibre 3.27.1 embedded-python: True is64bit: False
Windows-10-10.0.17134-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.17134')
Python 2.7.12+
Windows: ('10', '10.0.17134', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (6, 5, 5) && Goodreads (1, 1, 14)
Traceback (most recent call last):
File "site-packages\calibre\gui2\metadata\single.py", line 604, in accept
File "site-packages\calibre\gui2\metadata\single.py", line 579, in apply_changes
File "site-packages\calibre\gui2\metadata\basic_widgets.py", line 222, in commit
File "site-packages\calibre\db\legacy.py", line 824, in func
File "site-packages\calibre\db\cache.py", line 63, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 1073, in set_field
File "site-packages\calibre\db\backend.py", line 1486, in windows_check_if_files_in_use
File "site-packages\calibre\utils\filenames.py", line 382, in __init__
error: (5, 'CreateFileW', 'Access is denied.')
|