![]() |
#1 |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Oct 2007
Device: Kindle
|
Errno 13 Permission denied
Running Calibre 2.5.6 on a Mac with OS X 10.11.4
When I try to delete a book from Calibre I get this error message" ERROR: Unhanded Expression OSError:[Errno 13] Permission denied:/Volumes/CAlibre Library deleted sEjAkU/New York Times (or whatever book I'm deleting) I click on OK but the book is still in the Library until I close and reopen Calibre. Appears to a python error (I think). How do I repair this? Thanks in advance |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
The error MESSAGE is from Python
The error is from your system OS That path looks odd to me (I am used to Windows and Linux) Something (else) has the file open or locked. ![]() (closing Calibre, will allow the lock to go away) |
![]() |
![]() |
![]() |
#3 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
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 Last edited by BetterRed; 05-07-2016 at 09:56 PM. |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,343
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Check the permissions on your calibre library folder.
In a terminal, something like chmod -R u+rw /path/to/library/folder will do the trick |
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Oct 2007
Device: Kindle
|
Thanks for the help but that didn't work. The only thing that worked was to move the library back to my internal drive and that seemed to work. I could delete a book without an error. This only started after I moved my library to an external drive attached to my Mac.
This is very weird... |
![]() |
![]() |
![]() |
#6 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2011
Location: Cumming, GA
Device: Kindle Touch
|
Quote:
1) If it's a network drive, that's not supported by Calibre. I use one and just deal with the occasional hiccup that causes. 2) I got this recently when I was having corruption issues on my network Calibre library drive. I had to directly attach the USB to my computer and run CHKDSK on it. Perhaps you can run the Mac equivalent. |
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Oct 2007
Device: Kindle
|
Problem solved: I had Calibre set up in the root directory of the drive. I moved it to a folder and the error dissappeared.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OSError: [Errno 13] Permission denied | osuhickeys | Devices | 2 | 05-05-2014 08:28 PM |
[Errno 13] Permission denied | imans314 | Devices | 2 | 04-22-2014 03:23 PM |
RSS Feeds: Errno 13 Permission denied | Esquire1 | Calibre | 4 | 07-15-2010 09:13 AM |
Errno 13: permission denied errors | prophetik | Calibre | 12 | 05-15-2010 05:31 PM |
IOError: [Errno 13] Permission denied | s3ntient | Calibre | 3 | 02-20-2010 02:01 PM |