![]() |
#1 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,749
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Calibre's Locking is still Broken
Calibre 6.21 and still a problem.
I've edited the eBook. Saved the eBook and closed the editor. Deleted the original_epub file. Went to the metadata editor and edited the metadata. And I'm still getting an error. This eBooks was not open in another program. Can we please say this isn't working and back it off? Code:
calibre, version 6.21.0 ERROR: Permission denied: Could not change the on disk location of this book. Is it open in another program? Locked file: I:\E\Calibre Library\Jon2\Michael Connelly\The Brass Verdict (2739) Traceback (most recent call last): File "calibre\utils\copy_files.py", line 103, in _open_file PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'I:\\E\\Calibre Library\\Jon2\\Michael Connelly\\The Brass Verdict (2739)' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre\utils\copy_files.py", line 103, in _open_file PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'I:\\E\\Calibre Library\\Jon2\\Michael Connelly\\The Brass Verdict (2739)' The above exception was the direct cause of the following exception: 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 256, in copy_tree File "calibre\utils\copy_files.py", line 130, in __enter__ File "calibre\utils\copy_files.py", line 126, in open_all_handles File "calibre\utils\copy_files.py", line 114, in _open_file File "calibre\utils\copy_files.py", line 117, in _open_file PermissionError: [Errno 13] File I:\E\Calibre Library\Jon2\Michael Connelly\The Brass Verdict (2739) is open in another program: 'I:\\E\\Calibre Library\\Jon2\\Michael Connelly\\The Brass Verdict (2739)' |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Simply close windows explorer after you are done deleting whatever you deleted. Or delete original_epub from within calibre.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,749
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,025
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
His LAN shared drive mounted and mapped as I:?
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,749
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Drive I is an external 1TB m.2 SSD drive connected via USB-C. I the network share drive.
But I was doing it from the external drive just in case of an issue. Last edited by JSWolf; 06-13-2023 at 12:00 PM. |
![]() |
![]() |
![]() |
#7 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Are you sure that there is nothing else locking the drive? Something like LockHunter can help identify this.
Additionally, if I'm remembering rigjt Windows itself can put a lock on the external drives - there's a setting where you can pick 'quick removal' or 'performance' and this can affect it. EDIT: Googling is 'helpful' as ever (I entered 'file lock' and got results for 'password protect') but see this: https://superuser.com/questions/1239...rnal-hard-disk Last edited by ownedbycats; 06-13-2023 at 11:08 AM. |
![]() |
![]() |
![]() |
#8 | ||
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,749
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Quote:
I have no idea what happened. But I did try again using the networked drive and it worked this time. |
||
![]() |
![]() |
![]() |
#9 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,025
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
A USB external drive with NTFS on Windows is likely OK, if maybe tricky the past to eject. But Fat32 or ExFat might give issues.
"Quick Remove" (vs "Performance") used to just turn off Cache. Shouldn't matter. |
![]() |
![]() |
![]() |
#10 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
FAT does not like sudden shutdowns.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Locking Calibre Books? | jmp1518 | Library Management | 4 | 03-27-2012 04:13 PM |
Locking for new software | ntome | Which one should I buy? | 5 | 07-04-2011 11:58 AM |
Calibre server and database locking | boof | Library Management | 0 | 06-10-2011 01:02 PM |
Calibre 0.5.3 broken (for me...) | Emmanuel | Calibre | 0 | 03-26-2009 02:51 PM |
calibre broken after v.0.4.56 | akadaedalus | Calibre | 23 | 06-13-2008 10:47 AM |