import error of epub after imported into iBooks 1.1 on a Mac
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I tried to do the following on 2 different Macs and the same result:
Debug log attached; I could provide both ePub files since I took them for testing from http://
1. Import an ePub into iBooks 1.1 on Mac OS X Yosemite latest Version but not Beta. Calibre 2.15
2. Connect a folder or directly take the ePub file which is in the iBooks Library and import it into calibre
3. Then following error appeared:
calibre, version 2.15.0
WARNING: Errors while adding: There were problems adding some files, click "Show details" for more information
-------
Failed to add the file /Users/
With error:
Traceback (most recent call last):
File "site-packages/
File "site-packages/
File "site-packages/
IOError: [Errno 21] Is a directory: u'/Users/
4. If I tried to import the original ePub, not imported into iBooks, then it worked without a problem.
Somehow iBook is converting the ePub file. Have you heard about this and do you know how to solve the problem?
The file gets even 3 times the size after importing into iBook then the original ePub.
Would be great to have some help.
If you need more information please let me know
Thanks.
Claas.
PS:
I just ran a ls -la on that directory and see what:
drwxr-xr-x@ 5 claas staff 170 7 Jan 19:45 4C723FB1615B399
It's indeed a directory, just the OS GUI wants to tell me it's a normal ePub by the extension and the behavior of the supposed opening possibility in other applications.
A quote from this page: http://
"To make things worse, iBooks unzipped the EPUB files into folders. In case you didn’t know, EPUB format is actually a compressed file that contains structures of files and folders inside. Storing those books in uncompressed format means: it takes more space."
So the only workaround might be a plugin creating again real epubs from the content of the folders I assume.
iBooks does not store epub files as epub files, it is not possible to
import files stored by iBooks into calibre. Import the originals
instead.
status invalid