View Single Post
Old 07-08-2023, 02:33 PM   #70
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
I ran into an issue when using FanFicFare to update a story that had a data folder.

Code:
Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1798, in update_books_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 2268, in update_metadata
  File "calibre\db\legacy.py", line 588, in set_metadata
  File "calibre\db\cache.py", line 85, in call_func_with_lock
  File "calibre\db\cache.py", line 1691, in set_metadata
  File "calibre\db\cache.py", line 1686, in set_field
  File "calibre\db\cache.py", line 1481, in set_field
  File "calibre\db\backend.py", line 1726, in windows_check_if_files_in_use
  File "calibre\utils\copy_files.py", line 249, in windows_check_if_files_in_use
  File "calibre\utils\copy_files.py", line 231, in register_folder_recursively
  File "os.py", line 225, in makedirs
PermissionError: [WinError 5] Access is denied: 'C:\\WINDOWS\\system32\\data'
Neither book nor folder was open. Windows' indexing is outright disabled, but I used Everything to search for the book earlier. (There were no open file handles when I checked though.)

Additionally, the system32 folder is a bit weird. I don't think is a data folder in there.

The FanFicFare author is equally baffled:
This is probably another manifestation of the problem fixed by https://github.com/kovidgoyal/calibr...0deac57851e0a6
chaley is offline   Reply With Quote