View Single Post
Old 08-15-2016, 09:22 AM   #5
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,082
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by OmarKN View Post
Thanks for the script (using vs.3 for iBooks)

It succeeded to unpack an iBook (through the script) and could view it in Calibre.app!!

So far so good!

But every further trial for other iBooks (some have the epub, some the ibooks extension) give me the same error message as always:
"IOError: [Errno 21] Is a directory: u'/Users/okn/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books/522063581.epub'"

The problem is that iBooks store ePubs unzipped in a folder (directory), not as an actual ePub file.

Trying to add a folder to calibre won't work. You'll need to use my AppleScript to convert the folders to actual epub files before importing.
pdurrant is offline   Reply With Quote