View Single Post
Old 04-30-2023, 10:31 PM   #10
Shykat
Addict
Shykat ought to be getting tired of karma fortunes by now.Shykat ought to be getting tired of karma fortunes by now.Shykat ought to be getting tired of karma fortunes by now.Shykat ought to be getting tired of karma fortunes by now.Shykat ought to be getting tired of karma fortunes by now.Shykat ought to be getting tired of karma fortunes by now.Shykat ought to be getting tired of karma fortunes by now.Shykat ought to be getting tired of karma fortunes by now.Shykat ought to be getting tired of karma fortunes by now.Shykat ought to be getting tired of karma fortunes by now.Shykat ought to be getting tired of karma fortunes by now.
 
Shykat's Avatar
 
Posts: 205
Karma: 494052
Join Date: Dec 2010
Device: iPhone, iPad Mini, my PC and Galaxy Tab A :)


Loaded another book.

Edited the Metadata

Again, nothing special, just formatted the title differently, added in the information and the publisher.

Click OK and get: Could not change the on disk location of this book. Is it open in another program?

No it's not.

calibre, version 6.17.0
ERROR: Permission denied: Could not change the on disk location of this book. Is it open in another program?

Locked file: F:\Calibre ebooks\Jessie Rose Case\G R I Z Hot!_ Galactic Cyborg Heat (3242)

Traceback (most recent call last):
File "calibre\utils\copy_files.py", line 212, in copy_tree
File "shutil.py", line 739, in rmtree
File "shutil.py", line 621, in _rmtree_unsafe
File "shutil.py", line 619, in _rmtree_unsafe
PermissionError: [WinError 5] Access is denied: 'F:\\Calibre ebooks\\Jessie Rose Case\\G R I Z Hot!_ Galactic Cyborg Heat (3242)'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\metadata\single.py", line 617, in apply_changes
File "calibre\gui2\metadata\basic_widgets.py", line 241, in commit
File "calibre\db\legacy.py", line 934, in func
File "calibre\db\cache.py", line 85, in call_func_with_lock
File "calibre\db\cache.py", line 1508, in set_field
File "calibre\db\cache.py", line 1522, in update_path
File "calibre\db\backend.py", line 1875, in update_path
File "calibre\utils\copy_files.py", line 216, in copy_tree
File "shutil.py", line 739, in rmtree
File "shutil.py", line 621, in _rmtree_unsafe
File "shutil.py", line 619, in _rmtree_unsafe
PermissionError: [WinError 5] Access is denied: 'F:\\Calibre ebooks\\Jessie Rose Case\\G R I Z Hot!_ Galactic Cyborg Heat (3242)'

Seems like a problem intermittently with Calibre creating a directory with the original name of the book and then it's getting confused when I change the title.

Original is "G R I Z Hot!_Galactic Cyborg Heat"
I changed it to: [Galactic Cyborg Heat 41] - G R I Z Hot!

When I cancel out of the Metadata screen, the book no longer has the book cover showing.

When I try to delete the file, I get the error: Could not access G R I Z Hot!_Galactic Cyborg Heat (3242). Is it being used by another Program?

and then this info

calibre, version 6.17.0
ERROR: Permission denied: Could not access G R I Z Hot!_ Galactic Cyborg Heat (3242). Is it being used by another program? Click "Show details" for more information.

Traceback (most recent call last):
File "calibre\utils\copy_files.py", line 212, in copy_tree
File "shutil.py", line 739, in rmtree
File "shutil.py", line 621, in _rmtree_unsafe
File "shutil.py", line 619, in _rmtree_unsafe
PermissionError: [WinError 5] Access is denied: 'F:\\Calibre ebooks\\Jessie Rose Case\\G R I Z Hot!_ Galactic Cyborg Heat (3242)'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\actions\delete.py", line 459, in do_library_delete
File "calibre\gui2\library\models.py", line 464, in delete_books_by_id
File "calibre\db\cache.py", line 85, in call_func_with_lock
File "calibre\db\cache.py", line 2082, in remove_books
File "calibre\db\backend.py", line 2148, in remove_books
File "calibre\db\backend.py", line 2041, in move_book_to_trash
File "calibre\utils\copy_files.py", line 216, in copy_tree
File "shutil.py", line 739, in rmtree
File "shutil.py", line 621, in _rmtree_unsafe
File "shutil.py", line 619, in _rmtree_unsafe
PermissionError: [WinError 5] Access is denied: 'F:\\Calibre ebooks\\Jessie Rose Case\\G R I Z Hot!_ Galactic Cyborg Heat (3242)'

I close Calibre and reopen and the messed up book is gone.



I'm going bonkers here!!!!!!!
Shykat is offline   Reply With Quote