Hi Brian, Thanks again. Still won’t compile to mogi. Get the same fail message as in the OP.
After I control-click, I do not see: A message will appear, either warning you that kindlegen was downloaded from the internet or that it is from an unidentified developer. Click on “Open”.
Instead, it allows me to open and then this message appears:
Last login: Thu Apr 11 09:36:20 on ttys000
ruths-imac:~ ruth$ /Users/ruth/Desktop/KindleGen_Mac_i386_v2_8/kindlegen ; exit;
Amazon kindlegen(MAC OSX) V2.8 build 0208-797bf75
A command line e-book compiler
Copyright Amazon.com and its Affiliates 2013
Usage : kindlegen [filename.opf/.htm/.html/.epub/.zip or directory] [-c0 or -c1 or c2] [-verbose] [-western] [-o ]
zip/directory formats are supported for XMDF sources
-c0: no compression
-c1: standard DOC compression
-c2: Kindle huffdic compression
-o : Specifies the output file name. Output file will be created in the same directory as that of input file. should not contain directory path.
-verbose: provides more information during ebook conversion
-western: force build of Windows-1252 book
-releasenotes: display release notes
-gif: images are converted to GIF format (no JPEG in the book)
-locale : To display messages in selected language
What should I try next? Brian, thanks again. I appreciate your help!
You have got KindleGen installed on your desktop by the look of things and it seems to be running and authorised without error according to the log.
(1) Because the desktop of any OS is special, the problem might be because KindleGen is installed on it. Personally, I would move it (or reinstall it) to another folder, such as the main Applications folder. If you do move/reinstall it, you would need to tell Compile where to find KG in its new location.
(2) If number (1) doesn’t make a difference, I would create a new dummy Scrivener file with a few random lines of text and see if that compiles to KindleGen. If that works but the your main file doesn’t, then it would suggest that there is some form of corruption or incorrect setting impacting on the main file.
(3) If you have another computer running Scrivener or a friend with Scrivener, you could try compiling the file on another machine. This should show if the file itself is problematical or if the issue is with something on your computer.
Another test: get Kindle Previewer from Amazon and see if that works. I don’t know if KP uses Kindlegen or includes it, though. But if KP does access Kindlegen, then this is another program that tries to use it. Run KP and try to change say a HTML file into Kindle format, just to see if it runs.
If KP also fails, then I imagine the problem is not with Scrivener but with how Kindlegen and Mountain Lion are interacting.
Without running or getting KP, you might also just run Kindlegen via the terminal to see what happens.
You could also just open the .epub you created in Kinde Previewer, which SHOULD auto-convert it to .mobi… If KG is having issues it might not, though. I think it uses its own version of KG though, so it working may not rule out a KG issue - but atleast if it works, you’ll have your .mobi file.
This is turning into a saga! Thank you, everyone, for your time and help.
Brian, I moved Kindlegen to Applications. I see it there, but the Scriv screen that appears after “choose” offers only two options: “cancel” and “open.” However, “open” is dimmed so all I can do is “cancel.” I have other projects coming up so I really, really want to be able to create a mobi via scriv.
Terminal is on my dashboard. Should it be?
Asotir, thank you but I’m not a techie and don’t have an HTML file. Or, if I do, I’d be afraid to mess with it. I know, hopeless, but there it is.
temporalranger, Thank you. If I simply cannot get a mobi file via Compile, then I will try to upload the epub. I care about giving my readers a quality experience and am afraid (perhaps unnecessarily) that letting Previewer create the mobi might end up chop suey. There are so many reader complaints about poorly formatted ebooks that I’m being cautious.
Thanks again, everyone. I’ve used and loved Scriv for years and want it to work for me as it should.
After clicking “choose”, you need to navigate to the place where KindleGen is installed in the Applications folder, select the actual KG app and then choose open…open will be clickable as soon as the program has been properly selected. This will establish a link between Scrivener and KindleGen, at which point everything should work. I’d attach screenshots to show you what to do, but I’m not near a Mac at the moment…
Briar, I started all over again, trashed the old Kindlegen. Redownloaded Kindlegen. Dragged it to my applications folder. Selected it & this time, I was able to click open. The Scriv Compile window tells me KindleGen is installed. Underneath the “Change…” field I see /Applications/kindlegen.
I still get a fail message when I try to compile a mobi file!
BTW, I get an Export window after I click “compile” even tho I’m in the project I want to compile. In the Export window, the project I want to compile is dimmed out. Is this a clue?
Thank you so so much for your help and patience. I can’t believe this is causing such grief when everything in Scriv always works so well.
One question: can you compile to any format whatsoever?
If you can, then I second AmberV’s general practice: compile as ebook in epub format. Then open the MyBook.epub in Kindle Previewer (download for free from Amazon). Kindle Previewer should convert the epub to .mobi format as well as showing you a pretty-fair representation of what your book will look like in Kindle Fire, Kindle eInk devices, and iOS devices iPhone and iPad.
Since the techie details are hard, just accept the converted .mobi as it is, unless you find something catastrophically wrong with it as you page through it.
You will have to rename the converted file from “MyBook2013-04-15.mobi” or some such, to “MyBook.mobi” (assumint your book is titled “MyBook”).
What are you using to unzip the KindleGen utility? Try right-clicking on the download and choosing “Archive Utility” specifically, from the “Open With” sub-menu. Some third-party unzip tools are not UNIX aware, and fail to set the necessary permissions to the KindleGen file.
That’s odd, Archive Utility is a basic Mac utility—even more fundamental than Preview or TextEdit, it should be on every Mac. You are right-clicking the downloaded .zip file in Finder? Well, the program itself is located in /System/Library/CoreServices. You could navigate there from your boot disk in Finder. Once you have it open, use File/Expand Archive... and select the downloaded .zip as the target.
That looks like a listing of the Utilities folder, it won’t be there. Like I say it is located in the /System/Library/CoreServices folder, which can be navigated to from the volume or disk level (same as Applications). There should be over a hundred items in the folder; things like the Dock that hold your icons, Finder itself and other core parts of the OS are located here. You should see Archive Utility in there. If you double-click on it, it will open and give you an icon in the Dock where you can drop the downloaded KindleGen zip.
Yeah, I wouldn’t expect ePub to stop working, as this seems to be strictly an issue with KindleGen being too confused to make a Mobi file or some such. Have you tried switching on the log option in the KindleGen compile pane and examining the .log file? That might have something informative in it.