View Single Post
Old 01-19-2014, 09: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: 427
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