12-20-2017, 11:17 PM | #1 |
Member
Posts: 17
Karma: 10
Join Date: Dec 2017
Device: Kobo Libra H2O
|
Problems adding .epub to calibre Mac OS High Sierra
All has been fine for about a month but now when I try to add .epub files to convert it gives me this error.
Any suggestions on what is wrong? Pdfs can be added with no issues. calibre, version 3.14.0 WARNING: Errors while adding: There were problems adding some files, click "Show details" for more information ---------------------------------------------------------------------- Failed to add the file /Users/categibson/Documents/Ebook Files(Novels & Recipe Books)/Eaternity.epub to the book: /Users/categibson/Documents/Ebook Files(Novels & Recipe Books)/Eaternity 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/categibson/Documents/Ebook Files(Novels & Recipe Books)/Eaternity.epub' |
12-21-2017, 12:16 AM | #2 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's not an epub file, its a directory whose name ends with .epub
These are typically created by apple software like ibooks. A bit of googling should find you some scripts to convert these directories back to actual epub files. |
Advert | |
|
01-02-2022, 07:03 PM | #3 |
New Here
Posts: 13
Karma: 10
Join Date: Sep 2012
Location: Upper Midwest
Device: iPad Pro | iPhone 11 | MBP
|
Can you possibly answer 2 questions about implementing this script for a non-coder?
1) Must I edit anything to match my own paths (or anything else?) 2) How best get the string (don't even have a py file) into Automator for Mac/Catalina? Thanks for any help |
01-02-2022, 09:55 PM | #4 |
Bibliophagist
Posts: 35,513
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Hmmm... 4 years after the last post in the thread and responding about a script without giving the name of the script or the site from which it was obtained.
Perhaps a bit more information might have been helpful? |
01-02-2022, 10:14 PM | #5 |
Grand Sorcerer
Posts: 12,177
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
I seem to recall there used to be a script posted by maybe pdurrant that would recreate an Epub that had been opened on a Mac.
Sent from my Pixel 4a using Tapatalk |
Advert | |
|
01-03-2022, 02:30 PM | #6 |
Bibliophagist
Posts: 35,513
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I'm not certain if he is using @pdurrant's scrip since that does not require much other than allowing it to run in the Privacy and Security app. There is also eCanCrusher which I tried a couple of times which does much the same converting between a directory and an epub file.
|
01-01-2023, 07:00 AM | #7 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2023
Device: Kindle
|
Calibre expects ePub-files to be zip-compressed.
If you right-click (or control-click) on the file and get the option to "Show Package Contents", the file is actually a folder. You can simply choose "Compress" from the context menu in Finder. This will create a "name.epub.zip" file. Now rename it to "name.epub" and add it to Calibre! No script necessary |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FIX4 - calibre ebook-view error in macos high sierra | blisshome | Calibre | 4 | 12-15-2017 03:56 PM |
Help calibre is seen as an unidentified app in High Sierra | cvkemp | Calibre | 2 | 10-17-2017 09:34 AM |
Problem with Calibre on Mac OS Sierra | mikmac1 | Devices | 6 | 03-31-2017 05:40 PM |
problems adding cover to epub | thaKing | Calibre | 5 | 07-06-2011 10:17 PM |
Adding Table of Contents to ePub problems... | cates | Calibre | 2 | 10-10-2010 04:18 PM |