Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-10-2023, 05:56 PM   #1
azuravian
Enthusiast
azuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughing
 
Posts: 32
Karma: 63058
Join Date: Feb 2012
Device: Kobo Aura One
On Disk Location error

When editing Metadata (specifically, changing the title) of a book, I get the error "Could not change the on disk location of this book. It it open in another program?"

Looking at previous posts, this is permissions related. The details of the error message specify that the "Access is denied" error is on the original folder for the specific book.

The part that baffles me is that the permissions for the entire folder are set correctly and the fact that the files are actually moved to the new folder and the old folder is eventually deleted.

I opened the folder where all of the old files are and watched it while editing metadata. What happens is as follows:
  1. Edit Title
  2. Click Next
  3. Error pops up
  4. Prior to clicking OK on error message, I can see that all files have moved to the new folder and the old folder is empty, but still there.
  5. Click OK on error message
  6. Click Next again
  7. Old folder disappears and Calibre loads the next book in Metadata Editor

This is happening on all books I have tested.
azuravian is offline   Reply With Quote
Old 03-10-2023, 06:21 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,721
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Assuming this is on Windows.

The "Could not change the on disk location of this book. It is open in another program?" message is normally issued when another program is holding a lock on one of the format files - e.g. a PDF is open in PDF XChange, a DOCX is open in MS Word.

Your description suggests something might be holding a lock on the original book folder.

Do you run a File Manager replacement such as Directory Opus, Explorer++, xplorer² etc; or any file system shell extensions.

BR
BetterRed is offline   Reply With Quote
Advert
Old 03-10-2023, 06:25 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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
You have the folder open if you are watching with the OS or any other app, and Calibre can't pull the rug.
I get this all the time with Adobe reader while cleaning up my download folder
View: nope don't need:click delete :error (because it is still in use by Reader)
theducks is offline   Reply With Quote
Old 03-10-2023, 06:56 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,721
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
You have the folder open if you are watching with the OS or any other app, and Calibre can't pull the rug.
On my Windows 10 system, I can press 'O' on a book Titled 'foo' and see its folder in File Explorer (FE).

Then, whilst looking at the 'foo' folder in FE, I can press F2 the Title cell in the book list and change it to 'bar'. When I press enter, the 'foo' book folder will disappear from the FE window and there'll be a new book folder for 'bar'.

Because its done using hardlinks rather that bytewise copying it's very fast.

BR
BetterRed is offline   Reply With Quote
Old 03-11-2023, 12:40 AM   #5
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,970
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by BetterRed View Post
Assuming this is on Windows.

The "Could not change the on disk location of this book. It is open in another program?" message is normally issued when another program is holding a lock on one of the format files - e.g. a PDF is open in PDF XChange, a DOCX is open in MS Word.

Your description suggests something might be holding a lock on the original book folder.

Do you run a File Manager replacement such as Directory Opus, Explorer++, xplorer² etc; or any file system shell extensions.

BR
Only works for Windows, but I use LockHunter to track down errant filelocks.
ownedbycats is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
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
Error data base location cmgam Calibre 13 09-06-2022 08:05 AM
Disk I/O Error NightStar76 Devices 1 09-05-2014 08:51 PM
"Could not change the on-disk location of this book" Sunspoticus Library Management 4 08-21-2014 09:25 AM
Calibre Error: Bad Location Bermudagirl Library Management 47 03-25-2014 03:07 AM


All times are GMT -4. The time now is 04:02 AM.


MobileRead.com is a privately owned, operated and funded community.