Quote:
Originally Posted by theducks
 You can't delete a book that is open in the Viewer or Editor
(closing Calibre, will allow the lock to go away)
|
On Windows you can delete a book if its EPUB is open in the Editor or the Viewer, but not if its DOCX is open in Word. Because Linux and OSX don't support file locking calibre doesn't lock any files.
Error 13 Permission denied is an access control error.
On Windows when calibre deletes a book it first creates a temporary folder with a random six character name, e.g. "
sEjAkU". It moves the book files into it, and deletes that folder. Looks like OSX is getting hung up on removing the temporary folder.
Probably because OSX 'thinks' something is 'using' it. Could be calibre itself or OSX. More likely something like an AV, Spotlight indexer, Time Machine, or some other program that watches and acts on file system changes.
BR
I used to get the very same problem (without an error message) in my Windows file manager.
Folder deletes would 'fail' if I had the folder open before deleting it and the folder contained audio, video, pdfs etc. To complete the deletes I would have to exit and restart the file manager.
I fixed it by excluding the troublesome file types from the File Manager's Preview function. The preview handlers for audio, video and pdfs (WMP, PDF XChange etc) hang on to the file handles in case I want to preview them again. But I only ever want to preview text files, the file manager provides the handler for such. Oh, the image handler (Irfan) didn't hang on to any file handles.
Sometimes software is too clever by half