Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-19-2014, 10:58 PM   #1
Rand Brittain
Bookmaker
Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.
 
Posts: 420
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
Adding com.apple.ibooks

Before talking about what doesn't work, it seems only polite to say that Calibre's new editor is fast and amazing and I look forward to using it for some time.

I've been trying to add the necessary com.apple.ibooks.display-options.xml file to an ePub I'm working on. Using the Add Files dialog puts it in the wrong folder instead of in META-INF. Adding it to META-INF manually causes the editor to crash when I try to open it up again, like so:

Code:
calibre, version 1.19.0
ERROR: Failed to open book: Failed to open book, click Show details for more information.

Traceback (most recent call last):
  File "site-packages\calibre\gui2\tweak_book\job.py", line 34, in run
  File "site-packages\calibre\gui2\tweak_book\boss.py", line 42, in get_container
  File "site-packages\calibre\ebooks\oeb\polish\container.py", line 1112, in get_container
  File "site-packages\calibre\ebooks\oeb\polish\container.py", line 839, in __init__
InvalidEpub: No META-INF/container.xml in epub
Is there anything I can do to make that not happen, or is it a bug in need of fixing?
Rand Brittain is offline   Reply With Quote
Old 01-19-2014, 11:12 PM   #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: 44,563
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Click the new file button, in the resulting dialog, simply type

META-INF/com.apple.ibooks.display-options.xml

and the file will be created in the META-INF folder.
kovidgoyal is offline   Reply With Quote
Old 01-19-2014, 11:13 PM   #3
Rand Brittain
Bookmaker
Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.
 
Posts: 420
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
Brilliant!
Rand Brittain is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting Apple iBooks crashed Calibre 5 05-25-2013 12:21 AM
Apple's iBooks 2, iBooks Author: Bids to own publishing's future wannabee News 0 01-19-2012 08:33 PM
Apple iBooks on Kobo? Julien Pham Kobo Reader 6 12-07-2011 02:45 PM
Adding external links to audio for iBooks nihonjon ePub 2 07-23-2010 05:29 AM
New from Apple's WWDC: iBooks kjk Apple Devices 66 06-23-2010 11:51 PM


All times are GMT -4. The time now is 12:19 AM.


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