![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2018
Device: iBooks
|
Cannot add any books to Calibre
I cannot get Calibre to add books. Trying to add the .epub book titled The Swift Programming Language by Apple. I get the error message:
calibre, version 3.16.0 WARNING: Errors while adding: There were problems adding some files, click "Show details" for more information ---------------------------------------------------------------------- Failed to add the file /Users/kimberlynorton/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books/22651C84B5200231F2568B76D294EC4E.epub to the book: /Users/kimberlynorton/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books/22651C84B5200231F2568B76D294EC4E With error: Traceback (most recent call last): File "site-packages/calibre/gui2/add.py", line 430, in add_formats File "site-packages/calibre/db/cache.py", line 1410, in add_format File "site-packages/calibre/startup.py", line 122, in local_open IOError: [Errno 21] Is a directory: u'/Users/kimberlynorton/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books/22651C84B5200231F2568B76D294EC4E.epub' I am running macOS High Sierra Version 10.13.3. Note: I can launch Calibre, I just cannot add an ePub book to it. Sorry, but I am new to the forum and lost on what I am doing, so posting all over the place. |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,573
Karma: 5703586
Join Date: Nov 2009
Device: many
|
I think the real error is this:
IOError: [Errno 21] Is a directory: u'/Users/kimberlynorton/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books/22651C84B5200231F2568B76D294EC4E.epub' which means that iBooks has unzipped the epub into a folder whose name ends in ".epub". So you are asking calibre to try to load a folder and not a real zipped up epub file. I have no idea why iBooks does that (giving a .epub extension to a folder). Perhaps try dragging and dropping that folder onto an epub zip tool and try loading the result? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,894
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
I did a search in this forum for "[Errno 21]" and found this response by Kovid, which is exactly what KevinH stated.
|
![]() |
![]() |
![]() |
#4 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,573
Karma: 5703586
Join Date: Nov 2009
Device: many
|
And after a quick search of MR you can find a free, drag and drop tool for Macs to properly create an epub from a folder that holds an epub's contents.
Here is the link: https://www.mobileread.com/forums/sh...49&postcount=1 Download and install the ePubZip/Unzip tool then drag or drop the folder with the .epub extension inside iBooks onto it, and it shoudl create a real .epub file you should be able to load in Calibre. |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2018
Device: iBooks
|
Hi everyone, thanks for your help. The EPubZip does the trick!
Here is what I had to do for anyone else interested. --Install the ePub Zip app. --Launch iBooks. --Drag the iBook icon (from inside iBooks) on top of the ePub Zip app. Note: you do not double click the ePub Zip app to launch it, you just drag the icon onto the app file. Also, you are not dragging the epub file from the finder folder, you are dragging the actual icon of the book from inside iBooks. If you cannot install ePub Zip because of security, then do the following: Apple, System Preferences, Security & Privacy, General tab, select to allow from this developer. Here is the link to the ePubZip again: https://www.mobileread.com/forums/sh...49&postcount=1 Again, thanks, ~Kim |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jul 2013
Location: Brisbane
Device: iPad mini
|
Quote:
- make a duplicate of the ePub book's entry from the ePub's folder in the Finder (which has to be opened from Terminal, b.t.w) - move the duplicate to another (temporary) folder - remove the .epub extension from the duplicate file (otherwise the utility will just delete it). This will then show as a folder in the Finder - *then* drag the renamed folder onto the utility which will yield the importable epub file. Regards, GAM |
|
![]() |
![]() |
![]() |
#7 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 18074
Join Date: Nov 2019
Location: Australia
Device: none
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre cannot add books | gazruss | Calibre | 1 | 08-05-2017 04:21 PM |
Cannot add any books to Calibre | nirvandal09 | Library Management | 2 | 06-23-2016 10:45 AM |
How to add books to Calibre... | alkopop79 | Devices | 3 | 04-02-2012 12:06 PM |
How to add books to Calibre? | tenco | Library Management | 3 | 03-04-2011 06:48 PM |
Add books to Calibre | Pauly454 | Calibre | 6 | 12-30-2009 01:37 AM |