I am having a curious problem exporting projects to Kindle’s newer format in Scrivener 3.1 for macOS. It occurs whether I use the default ‘Ebook’ Scrivener format on export, or my own, self-created ebook export format (which is modification of the default).
On compile of the project (and I have tried with multiple projects, from every short (only six documents) to a full novel (with several hundreds), I encounter the same Scrivener error dialogue: “Kindle document creation failed. KindleGen failed to generate a .mobi file at the expected location.” This is followed by a Kindlegen error dialogue report box that reads as follows (I am placing in boldface the section that seems the most relevant):
[code]*************************************************************
Amazon kindlegen(MAC OSX) V2.9 build 1028-0897292
A command line e-book compiler
Copyright Amazon.com and its Affiliates 2014
Info(prcgen):I1047: Added metadata dc:Title “The Great White Whale”
Info(prcgen):I1047: Added metadata dc:Creator “A J Grayson”
Info(prcgen):I1047: Added metadata dc:Rights “© ® LBA Literary Agency, London; AJ Grayson”
Info(prcgen):I1002: Parsing files 0000009
Info(prcgen):I1015: Building PRC file
Info(prcgen):I1006: Resolving hyperlinks
Info(prcgen):I1008: Resolving start reading location
Error(prcgen):E24012: Epub Navigation file could not be built.
Warning(prcgen):W30013: Invalid “nav” element in Navigation file. Please refer to Kindle Publishing Guidelines about usage of EPUB3 Navigation support. A “nav” element can have two child elements, an optional heading and a mandatory ol ordered list in file: /private/var/folders/g3/zfm002h50zddd22svq6qfz080000gn/T/EBOOK_TEMP/TESTER Kindle - a6/contents.xhtml line: 8
Info(prcgen):I1016: Building enhanced PRC file
Info(prcgen):I1007: Resolving mediaidlinks
Info(prcgen):I1011: Writing mediaidlinks
Info(prcgen):I1009: Resolving guide items
Info(prcgen):I1038: MOBI file could not be generated because of errors!
[/code]
Again, this occurs on all projects, of any length and structure; and occurs when using the default Format export style, as well as my own.
When using the same export styles (either default or custom) to export the same projects to ePub 3 format, the export works without error and iBooks opens the end results which are formatted appropriately, including the TOC.
Any idea what is causing this?
Oddly, I was able to export to Kindle before, when using custom (hand-crafted from scratch) format styles — in Scrivener 3.0, but now it doesn’t work at all. I have no idea whether this is due to the upgrade to 3.1, or do to some inadvertent issue elsewhere.
I would appreciate any help.
TF