View Single Post
Old 03-03-2013, 02:23 PM   #165
Ephemerality
Addict
Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
Quote:
Originally Posted by twobob View Post
me@dev ~/.wine/drive_c/Program Files/xray/dist $ chmod a+x ./mobi_unpack.exe

Duh!

me@dev ~/.wine/drive_c/Program Files/xray $ ./XRayBuilder.exe -u /home/me/.wine/drive_c/Program\ Files/xray/dist/mobi_unpack.exe -s http://www.shelfari.com/books/18023565/Third-Sight -o /home/me/books ./3rd\ Sight_\ A\ Horror\ Novel_B00AJ7FC1Q.azw3
hmm... looks close..
I'll attempt to get/make a mobi version?
Ah yes, execute permissions would be important

That's definitely a start there. It should be able to process KF8 file, the error you got there was from mobi_unpack, it may just be unable to find the book file. You may have to specify the full path to the book on the cmd line a well! If I had a GUI setup for it, that would probably be less of issue. I could probably change it to expand to the full path on its own if only the local path is given (since mobi_unpack is in a different folder). I'll take a look at it when off work.
If it still gives a similar error you could try a mobi file, but I think it's just not finding the file.
Thanks for testing it out for me!

Quote:
Originally Posted by rikkia View Post
Not been able to reply sooner but for me V1.13 works perfect thanks for the work put into making it Ephemerality.

Unfortunately none of the books I have in my small library work. of 11 books 2 produce a x-ray file 9 crash the builder out usually failing at the unpack stage. The 2 xray files when loaded into the paperwhite give the "X-Ray is not available for the book" message with the centred "WG" at the bottom of the message window. I'll keep abreast of the thread just in case anyone manages to find a working solution to my issues

Rikki
Thanks for giving it a shot, it's tough to debug things when it works fine in my environment!
Could you PM me a log of the program when it crashes and I can try to identify where the issue is, as well as a log of the successful build that gives the WG error on the Kindle?
The WG error refers to the GUID not matching what the Kindle is expecting. I ran into on only 1 of my books; in that case, the name Calibre had assigned to it was too long. I shortened the title in Calibre and it worked fine after that. You could also manually modify the database name of the book using mobi2mobi (mobi2mobi --databasename "New Name" "Path to file" --outfile "Path to file").

Last edited by Ephemerality; 03-03-2013 at 02:25 PM.
Ephemerality is offline   Reply With Quote