![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2023
Device: kindle
|
Keep getting this error on Calibre 6.25
When trying to update metadata I keep getting the below error which I have never seen before. It also shows up when I try to open books. I'll also note that windows explorer is not open in the folder in question. I've tried exiting calibre and restarting it as well.
calibre, version 6.25.0 ERROR: Cannot open file or folder as it is in use: Could not change on-disk location of this book's files. The folder "C:\\Users\\user\\Calibre Library\\AuthorName\\Book Title (5135)" is opened in another program, so calibre cannot access it.This is usually caused by leaving Windows explorer or a similar file manager open to a folder in the calibre library. Close Windows explorer and retry. calibre 6.25 embedded-python: True Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.22621') Python 3.10.1 Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: FanFicFare (4, 26, 1) Traceback (most recent call last): File "calibre\utils\copy_files.py", line 112, in _open_file PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: ''C:\\Users\\user\\Calibre Library\\AuthorName\\Book Title (5135)' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre\gui2\metadata\single.py", line 687, in next_clicked File "calibre\gui2\metadata\single.py", line 620, in apply_changes File "calibre\gui2\metadata\basic_widgets.py", line 231, 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 1481, in set_field File "calibre\db\backend.py", line 1732, in windows_check_if_files_in_use File "calibre\utils\copy_files.py", line 252, in windows_check_if_files_in_use File "calibre\utils\copy_files.py", line 136, in __enter__ File "calibre\utils\copy_files.py", line 132, in open_all_handles File "calibre\utils\copy_files.py", line 123, in _open_file File "calibre\utils\copy_files.py", line 112, in _open_file PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\user\\Calibre Library\\AuthorName\\Book Title (5135)' |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There is some program on your computer that has that folder open. Sadly the windows kernel does not track which programs have folders open, so calibre cannot tell you which program it is.
|
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2023
Device: kindle
|
One detail on testing things a bit further full exit and waiting a few minutes will sometimes resolve the issue.
|
![]() |
![]() |
![]() |
#4 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 211
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
|
Quote:
Sent from my 22081212UG using Tapatalk |
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I doubt it, since the kernel does not track that information process explorer cannot magically divine it. Note we are talking about folders here not files. Both calibre and process explorer will tell you what program has a file open. That said, worth a try, maybe process explorer does some magic
|
![]() |
![]() |
![]() |
#6 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
I find this tool useful for troubleshooting similar issues:
https://www.nirsoft.net/utils/opened_files_view.html OpenedFilesView displays the list of all opened files on your system. For each opened file, additional information is displayed: handle value, read/write/delete access, file position, the process that opened the file, and more... Optionally, you can also close one or more opened files, or close the process that opened these files. |
![]() |
![]() |
![]() |
#7 | |
Leftutti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
Quote:
Many years ago, as a absolute computer newbie, I used some nirsoft tools to screw up my Win98 installation so badly that I had to set it up again. ![]() Since then I still use nirsoft. |
|
![]() |
![]() |
![]() |
#8 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
Quote:
![]() https://launcher.nirsoft.net/downloads/index.html but that package location was not obvious to me, I had to navigate a lot through the website to find it |
|
![]() |
![]() |
![]() |
#9 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
Quote:
http://blog.nirsoft.net/2009/05/17/a...ll-developers/ IMO, large software companies can't make such fast, portable and powerful tools as he does, but they have a trustworthy façade and AV companies on their side. Sofer's Uninstall View, for instance, is way faster than MS built-in Add-remove... |
|
![]() |
![]() |
![]() |
#11 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
Also then USB HID allows silent autorun of a script, so an evil mouse (on phone/tablet an evil charger) can install a root-kit. Intel then lost the plot and added JTAG over USB and ability to change the management engine via USB. Don't rely on AV. When I did IT in the past, all the computers with malware had AV already installed. |
|
![]() |
![]() |
![]() |
#12 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Avoid dodgy sites Don't open mail attachments you did not expect, even from folk you know (they may have been hacked or spoofed) . The message may give you warm fuzzy's that it is real, otherwise avoid vague, non-personalize body text raves. LOOK at the status bar before clicking. Many show the LINK URL (which may be nothing like what the text shows. ![]() Avoid "shortened" URLs (against MR guidelines for a reason) as you have no idea where you will end up. ![]() |
|
![]() |
![]() |
![]() |
#13 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The first thing to do is move the library out of the Users directory. That is a really bad place to put it in Windows.
Next, try again and see if you still get the same error. |
![]() |
![]() |
![]() |
#14 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
My calibre libraries have lived in c:\users\<username>\calibre\<library_name> for close to a decade and I haven't seen any issues with using those directories. Now if you have it in c:\users\<username>\Documents\<directory name>, you may have an issue since current Windows versions love syncing that folder to OneDrive unless you play with the sync settings.
|
![]() |
![]() |
![]() |
#15 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibre corrupt error corrupt error database disk image is malformed | didu812 | Calibre | 50 | 04-10-2024 08:51 AM |
Calibre Hudl 2: calibre, version 3.2.1 ERROR: Error: Error communicating with device | elfed | Devices | 4 | 07-21-2017 05:33 AM |
Error Message with Calibre & Calibre Companion | wildoatz | Calibre Companion | 2 | 03-25-2016 09:19 AM |
Calibre plugIn Kindle Collections Error message "Value Error:month..." | readee | Plugins | 4 | 10-10-2011 11:21 AM |
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: | e-bookuser | Devices | 1 | 07-03-2011 04:09 PM |