Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 12-20-2017, 11:17 PM   #1
cateroseg
Member
cateroseg began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Dec 2017
Device: Kobo Libra H2O
Exclamation 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'
cateroseg is offline   Reply With Quote
Old 12-21-2017, 12:16 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,824
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.
kovidgoyal is offline   Reply With Quote
Old 01-02-2022, 07:03 PM   #3
Aristoexian
New Here
Aristoexian began at the beginning.
 
Aristoexian's Avatar
 
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
Aristoexian is offline   Reply With Quote
Old 01-02-2022, 09:55 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,120
Karma: 145277352
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?
DNSB is online now   Reply With Quote
Old 01-02-2022, 10:14 PM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,141
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
PeterT is offline   Reply With Quote
Old 01-03-2022, 02:30 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,120
Karma: 145277352
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.
DNSB is online now   Reply With Quote
Old 01-01-2023, 07:00 AM   #7
jannik42
Junior Member
jannik42 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2023
Device: Kindle
Lightbulb

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
jannik42 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 11:35 PM.


MobileRead.com is a privately owned, operated and funded community.