View Single Post
Old 10-14-2020, 03:56 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,343
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by MOJOJE View Post
I am still getting the following message when trying to download metadata for my Kindle ebooks.

Obsidian Son: A Nate Temple Supernatural Thriller Book 1 (The Temple Chronicles) - SHAYNE SILVERS

Traceback (most recent call last):
File "calibre\utils\filenames.py", line 402, in __init__
pywintypes.error: (32, 'CreateFileW', 'The process cannot access the file because it is being used by another process.')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\actions\edit_metadata.py", line 820, in apply_mi
File "calibre\db\legacy.py", line 574, in set_metadata
File "calibre\db\cache.py", line 63, in call_func_with_lock
File "calibre\db\cache.py", line 1336, in set_metadata
File "calibre\db\cache.py", line 1331, in set_field
File "calibre\db\cache.py", line 1133, in set_field
File "calibre\db\backend.py", line 1559, in windows_check_if_files_in_use
File "calibre\utils\filenames.py", line 426, in __init__
PermissionError: [Errno 13] File is open in another process: 'c:\\users\\mom34\\documents\\calibre library\\shayne silvers\\obsidian son_ a nate temple superna (512)\\obsidian son_ a nate temple sup - shayne silvers.epub'

************************************************** ******************************

I tried locating the file that was blocking/holding the book open as suggested but cannot figure it out. Any further suggestions? Thanks!
You might want to try moving your library outside your documents folder. I'd suggest:
  1. closing calibre
  2. creating a new directory called calibre in your mom34 directory
  3. copy and paste your calibre library folder into that directory
  4. rename the calibre library in the new location (Main Library, whatever) i.e c:\users\mom34\calibre\Main Library\
  5. open calibre
  6. click on the library icon
  7. click on Switch/create library
  8. browse to the location where you copied your library to
  9. make sure that Use the previously existing library at the new location is selected
  10. click OK
  11. test using the new library location
  12. once you are happy, you can remove the old library using calibre and delete the files.

You might also want to check on Controlled Folder Access. Check this link for more information: Allow a blocked app in Windows Security.

Best I can think of for now.
DNSB is offline   Reply With Quote