![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 205
Karma: 494052
Join Date: Dec 2010
Device: iPhone, iPad Mini, my PC and Galaxy Tab A :)
|
![]() ![]() ![]() ![]() Here's my Glitchlet: Calibre 6.17 is loaded. I click on Add Ebook and it adds fine. I'm able to use the View and open the book so I know it's there and fine. BUT.... I then go to Edit Metadata where I format the book title and author the way I want and make sure the Book's information is filled in correctly, then I click OK and a pop up says: "Could not change the on disk location of this book. Is it open in another program?" with the following 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\Dale Mayer\SEALs of Honor (3230) 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\\Dale Mayer\\SEALs of Honor (3230)' 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\\Dale Mayer\\SEALs of Honor (3230)' When I click OK again, the metadata screen closes and the book shows with no book cover and I get this error calibre, version 6.17.0 ERROR: Cannot view: [SEALs of Honor 31] - Hale has no available formats. and you no longer can View the book from within Calibre. THEN..... I go to the Calilbre Ebooks directory....... and I find the book there and it looks just fine and opens just fine when I load it into Ebook Reader in Firefox just to see... Everything was fine when I was working with version 6.10. All the issues happened when I updated to 6.17. I'm actually wondering if it's operator error... but I'm not doing anything differently from before.... so maybe it is a glitch in the newest release. Last edited by BetterRed; 05-02-2023 at 01:46 AM. |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 205
Karma: 494052
Join Date: Dec 2010
Device: iPhone, iPad Mini, my PC and Galaxy Tab A :)
|
added date to the glitch above as I tried with another book:
got to the same area where I edited the Metadata. Clicked okay. got the error and then clicked okay again.... Then clicked on Convert Books and get: Could not convert King of Eon as it has no e-book files. If you think it should have files, but calibre is to finding them, that is most likely because you moved the book's files around outside of Calibre. You will need to find those files and re-add them to Calibre. I didn't move any of the files at all.... I've just been clicking buttons and filling in the metadata information. Plus, when I checked the directory where the books wind up in storage... all that is there is the cover and the metadata.opf. I think the reason I got the converted book from the previous book is I loaded it into Calibre then just clicked on convert book.... Dunno.... it's almost like there seems to be a problem with editing the Metadata. Any other suggestions or info needed?? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@ShyKat: Exclude your calibre library folder from your antivirus/file sync programs. Some program is opening files in it and preventing calibre from deleting them.
Last edited by BetterRed; 05-02-2023 at 01:43 AM. |
![]() |
![]() |
![]() |
#4 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 205
Karma: 494052
Join Date: Dec 2010
Device: iPhone, iPad Mini, my PC and Galaxy Tab A :)
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,721
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
What sort of device of your F: drive, if it's any sort of network device (NAS, Network Server, Cloud) therein lies the problem, see ==>> https://manual.calibre-ebook.com/faq...rked-drive-nas
BR |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 205
Karma: 494052
Join Date: Dec 2010
Device: iPhone, iPad Mini, my PC and Galaxy Tab A :)
|
Okay. I found how to do that thanks to google.
![]() I held my breath and closed my eyes and........ IT WORKED!!!!!!! I don't want to jinx myself but I think that simple instruction worked!!! I'm going to try another book and see if my luck holds!! THANK YOU!!!!! |
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 205
Karma: 494052
Join Date: Dec 2010
Device: iPhone, iPad Mini, my PC and Galaxy Tab A :)
|
Well FUDGE....
I did 2 books.. the two that I had been working on before. Just tried a third. I added the book then opened edit metadata and filled in the author the way I like it and then added in the book information. Everything looks great... all the same steps I did with the other two books and now.. again..... I click OK and I'm not trying to move the book.. just add the metadata information... and I get 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\Rebel Bloom\Mountain Man Triplets_ A Reverse Ha (3237) 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\\Rebel Bloom\\Mountain Man Triplets_ A Reverse Ha (3237)' 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\\Rebel Bloom\\Mountain Man Triplets_ A Reverse Ha (3237)' The permission error at the bottom... is a directory with the book's original title and then, I look in the directory and see there is a directgory with the book's original title with nothing in it and then a directory with the new title I have used and in that directory is an epub with the title formatted the way I like it. I click okay to close the error and the window and, on the main screen, the book's cover is no longer there. and when I try to delete the file, I get: calibre, version 6.17.0 ERROR: Permission denied: Could not access Mountain Man Triplets_ A Reverse Ha (3237). 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\\Rebel Bloom\\Mountain Man Triplets_ A Reverse Ha (3237)' 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\\Rebel Bloom\\Mountain Man Triplets_ A Reverse Ha (3237)' It keeps pointing back to the directory with the old book's name and not the new one. To get the book to be deleted, after I get that error, I have to close Calibre and then open it again and the book is gone. I don't know why those first 2 finally worked and now this one doesn't. |
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,467
Karma: 239219543
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Where is this directory with your Calibre library? On a local disk? On a network disk? Is OneDrive syncing the directory?
|
![]() |
![]() |
![]() |
#9 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 205
Karma: 494052
Join Date: Dec 2010
Device: iPhone, iPad Mini, my PC and Galaxy Tab A :)
|
Quote:
I have multiple drives in my desktop. ![]() Now... I went back in and did an Exclusion to the Directory where I have the ebooks I'm ready to convert. Rebooted And I'm still holding my breath, but I just did 3 more books and am getting ready to do a 4th.... My face is turning blue but, so far, so good..... off to try that 4th book. |
|
![]() |
![]() |
![]() |
#10 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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!!!!!!! |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,467
Karma: 239219543
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Stop those automatic back-ups and try again.
|
![]() |
![]() |
![]() |
#12 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
![]() ![]() ![]() ![]() Google drive destroys the linkage in-from the DB It is in the FAQ It is the worst cloud solution as it is 99.9% guaranteed to mess up a Calibre Library. Others are just iffy because of timing delays or multiple uses (calibre is single access) ![]() ![]() ![]() ![]() Never let a unzipped LIBRARY touch a Google drive (an archive is what GD would see, not the files and folders). |
![]() |
![]() |
![]() |
#13 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 205
Karma: 494052
Join Date: Dec 2010
Device: iPhone, iPad Mini, my PC and Galaxy Tab A :)
|
Quote:
![]() I've used Calibre for so long that it's been a very long time since I read the FAQ. Kovid, what do you think?? |
|
![]() |
![]() |
![]() |
#14 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 205
Karma: 494052
Join Date: Dec 2010
Device: iPhone, iPad Mini, my PC and Galaxy Tab A :)
|
Is there a way to point Calibre to a NEW directory where to save all the output files? I haven't found out how to tell Google drive to stop backing up the Google Ebooks directory where the program puts files.
Does making a new, unbacked up directory for Calibre sound like a way to get this to work? If so, how would I do that?? Where in the FAQ can I find the information about NOT using Google Drive?? Heading off to work but will be back tonight to see if there are more suggestions... and if Kovid has more suggestions, too. Last edited by Shykat; 05-01-2023 at 08:14 AM. Reason: more info |
![]() |
![]() |
![]() |
#15 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,016
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
Also the Calibre FAQ explains to ONLY use local drives (USB, SCSI, eSATA etc count as local). A NAS, Share from other computer, any cloud storage are NOT local drives. If you want to backup the Calibre Library use Export (and later Import). If really concerned about off site have more than one USB drive and rotate one to a friend or relative's house or whatever. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
File I/O permissions | sguerrini97 | Kindle Developer's Corner | 8 | 06-04-2016 10:34 AM |
No permissions to run | johnnyd2 | Devices | 0 | 04-09-2013 11:22 PM |
PRS-T1 Fixing Permissions? | Holtor | Sony Reader Dev Corner | 3 | 05-03-2012 02:39 AM |
Permissions in epub... | markjoseph | ePub | 1 | 12-29-2010 09:32 AM |
file permissions question | troymc | Calibre | 4 | 09-05-2009 12:38 PM |