![]() |
#46 | |||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,744
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
Quote:
BR |
|||
![]() |
![]() |
![]() |
#47 |
Member
![]() Posts: 10
Karma: 10
Join Date: Apr 2023
Device: Samsung s10
|
I don't use any cloud storage. I do have 2 NAS devices, however the calibre libraries on all 3 local machines all keep local files in the local "My Documents" folder.
As I edit each book to my liking, I copy the finished book to both NAS as backups manually. About the only thing II can see that MIGHT be locking the file change would be Windows Explorer. It might be possible that a folder attribute is set wrong, but then why was there no issue with ANY previous iteration of Calibre 6? I've used 6.2.1 on up until the upgrade to 6.21 on Tuesday night when this started. |
![]() |
![]() |
![]() |
#48 |
Member
![]() Posts: 10
Karma: 10
Join Date: Apr 2023
Device: Samsung s10
|
If you read the error report, it says that the errors started AFTER I upgraded to 6.21. I uninstalled 21 and reinstalled 20 to see if that would correct the problem, which it didn't. I can replicate the errors on 21 on my other windows 10 pc and post those too, if you want. anything to help.
|
![]() |
![]() |
![]() |
#49 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@OldYamaha: close windows explorer (or close whatever calibre library folder you have open in it)
|
![]() |
![]() |
![]() |
#50 |
Member
![]() Posts: 10
Karma: 10
Join Date: Apr 2023
Device: Samsung s10
|
Sorry, I didn't see that the 6.21/20 issue was quoted. not trying to pile on, just trying to explain. Sorry.
|
![]() |
![]() |
![]() |
#51 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Open Task Manager, kill explorer.exe, then use file>run>'explorer.exe' to restart it. This should kill any open locks from it.
Last edited by ownedbycats; 06-14-2023 at 08:51 PM. |
![]() |
![]() |
![]() |
#52 |
Member
![]() Posts: 10
Karma: 10
Join Date: Apr 2023
Device: Samsung s10
|
Yes, I saw that that had been mentioned to try, so I tried it, on 4 different books, and that does work. Its a little awkward form the past, but that does seem to work.
So then, is this a windows issue or just an awkward communications issue in programming languages? Harry |
![]() |
![]() |
![]() |
#53 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Windows is kind of screwy when it comes to filelocks and the such.
|
![]() |
![]() |
![]() |
#54 |
Member
![]() Posts: 10
Karma: 10
Join Date: Apr 2023
Device: Samsung s10
|
I just closed the open explorer views simply and that seems to have worked.
Harry |
![]() |
![]() |
![]() |
#55 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre now locks folders when copying book folders not just files. This was done because some people were getting errors caused by other programs locking folders and thereby causing the copy operation to fail halfway through.
This means you need to close windows explorer/not keep it open on a calibre library folder if you intend to change the title/author of a book. This entire issue is largely because windows file system semantics are absolutely bonkers. It is impossible for multiple unrelated programs in windows to share access to the same folder/files robustly. Last edited by kovidgoyal; 06-14-2023 at 10:40 PM. |
![]() |
![]() |
![]() |
#56 |
Member
![]() Posts: 10
Karma: 10
Join Date: Apr 2023
Device: Samsung s10
|
Been using Calibre since Vista, and calibre 2.28, and I now have 8 posts here so KUDOs to Kovid, he has done a wonderful job.
Harry |
![]() |
![]() |
![]() |
#57 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've been using calibre since it was LibPRS500 and up until 6.20, I've never has a file lock issue with calibre.
Can the new locking be made an option so it can be turned off? |
![]() |
![]() |
![]() |
#58 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
I'm a bit late to this party, but I think I have another data point that may be relevant.
It looks very much like Window File Explorer search that happens to include Calibre library can cause lock issues long after the search was done. I was recently using Windows File Explorer search--something I do very rarely--on my c:/users/USER dir, which also includes my Calibre libraries. I did my search and moved on, leaving file explorer open (I use that a lot), but not on the search anymore. Afterwards--several hours afterwards--I was blocked from changing a book title in Calibre until rebooting. Later, I duplicated and saw that it was explorer.exe locking the book dir in the library. And I've again duplicated it just now:
This, IMO, is a lot more problematic than 'user had file explorer open in library' because it's not obviously related. Users with their libraries under Documents could bump into this easily and frequently without having any idea why it's happening. If it weren't for the fact I use file explorer search so fairly, I doubt I'd have spotted it either. Error message: Spoiler:
|
![]() |
![]() |
![]() |
#59 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#60 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
That's what I suggested in the FanficFare thread. Oddly, the discovery came after a similar issue in a very old 3.48 version (Windows 7 user).
Last edited by ownedbycats; 07-02-2023 at 04:10 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Resize the Cover or files box in 'Edit metadata layout' | MichaelSarri | Calibre | 15 | 11-13-2021 03:32 AM |
Problem with Calibre deleting files.... | gunnerasch | Calibre | 2 | 10-30-2017 01:33 AM |
Some book files get destroyed after I open them or edit metadata | wladdy | Library Management | 3 | 10-02-2014 08:44 PM |
Deleting temp calibre files sometimes takes forever | Takeshi_12 | Calibre | 6 | 07-29-2010 05:13 PM |
Calibre deleting files? | al35 | Calibre | 7 | 03-22-2010 12:43 PM |