02-25-2015, 04:37 PM | #3451 | |
Guru
Posts: 830
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
Quote:
Dave |
|
02-25-2015, 05:36 PM | #3452 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@dhdurgee: Haha! Periodicals are (generally) unsupported.
(And even when they are and the support is hidden behind a flag [like in the K5 version], they often don't bundle a proper cover. Periodicals are very peculiar, in terms of the internals of the file format). You can check what the mobicover python script (linkss/bin/kindleunpack) throws back at you, and even double check w/ the full, upstream version of KindleUnpack if you really care about that. Last edited by NiLuJe; 02-25-2015 at 05:42 PM. |
Advert | |
|
02-26-2015, 10:00 AM | #3453 | |
Guru
Posts: 830
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
Quote:
Code:
dhdurgee@DHD-Z560 ~/bin/KindleUnpack_v075/lib $ ./kindleunpack.py /media/dhdurgee/Kindle/documents/Asimov\ s\ Science\ Fiction-asin_B00T8JNGO6-type_MAGZ-v_1.azw /var/tmp KindleUnpack v0.75 Based on initial mobipocket version Copyright © 2009 Charles M. Hannum <root@ihack.net> Extensive Extensions and Improvements Copyright © 2009-2014 by: P. Durrant, K. Hendricks, S. Siebert, fandrieu, DiapDealer, nickredding, tkeo. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3. Unpacking Book... Palm DB type: BOOKMOBI, 124 sections. Warning: Bad key, size, value combination detected in EXTH 406 16 0000000000000000 Unpacking a Mobipocket 6 book... Processing Mobipocket 6 section of book... Mobi Version: 6 Codec: utf-8 Title: Asimov's Science Fiction EXTH Title: Asimov's Science Fiction Huffdic compression Traceback (most recent call last): File "./kindleunpack.py", line 968, in <module> sys.exit(main()) File "./kindleunpack.py", line 957, in main unpackBook(infile, outdir, apnxfile, epubver, use_hd) File "./kindleunpack.py", line 871, in unpackBook process_all_mobi_headers(files, apnxfile, sect, mhlst, K8Boundary, False, epubver, use_hd) File "./kindleunpack.py", line 718, in process_all_mobi_headers raise unpackException('Book is encrypted') __main__.unpackException: Book is encrypted dhdurgee@DHD-Z560 ~/bin/KindleUnpack_v075/lib $ Dave |
|
02-26-2015, 10:11 AM | #3454 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Yes, don't buy your e-books from Amazon or other DRM supporters.
|
02-26-2015, 10:12 AM | #3455 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Oh, right, forgot about that. No, shortcircuit the encryption check, that's not it. It's irrelevant for our purposes (but isn't for KindleUnpack's, hence it being an error there, but not in MobiCover).
|
Advert | |
|
02-26-2015, 10:25 AM | #3456 | |
Guru
Posts: 830
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
Quote:
Dave |
|
02-26-2015, 10:36 AM | #3457 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Decrypt the book maybe.
http://appprenticealf.wordpress.org That will allow you to test the book. You don't have to do that just for SS in future though... |
02-26-2015, 10:58 AM | #3458 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@dhdurgee: Comment out the encryption check in KindleUnpack and/or directly use the kindleunpack version bundled with the hack.
|
02-26-2015, 02:45 PM | #3459 | |
Guru
Posts: 830
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
Quote:
Code:
dhdurgee@DHD-Z560 ~/bin/KindleUnpack_v075/lib $ ./kindleunpack.py /media/dhdurgee/Kindle/documents/Asimov\ s\ Science\ Fiction-asin_B00T8JNGO6-type_MAGZ-v_1.azw /var/tmp KindleUnpack v0.75 Based on initial mobipocket version Copyright © 2009 Charles M. Hannum <root@ihack.net> Extensive Extensions and Improvements Copyright © 2009-2014 by: P. Durrant, K. Hendricks, S. Siebert, fandrieu, DiapDealer, nickredding, tkeo. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3. Unpacking Book... Palm DB type: BOOKMOBI, 124 sections. Warning: Bad key, size, value combination detected in EXTH 406 16 0000000000000000 Unpacking a Mobipocket 6 book... Processing Mobipocket 6 section of book... Mobi Version: 6 Codec: utf-8 Title: Asimov's Science Fiction EXTH Title: Asimov's Science Fiction Huffdic compression Book is encrypted Unpacking images, resources, fonts, etc Extracting image: image00110.jpeg from section 110 Extracting image: image00111.jpeg from section 111 Extracting image: image00112.jpeg from section 112 Extracting image: image00113.jpeg from section 113 Extracting image: image00114.jpeg from section 114 Extracting image: image00115.jpeg from section 115 Extracting image: image00116.jpeg from section 116 Extracting image: image00117.jpeg from section 117 Extracting image: cover00118.jpeg from section 118 Extracting image: image00119.jpeg from section 119 Unpacking raw markup language Write ncx Find link anchors Insert data into html Insert hrefs into html Remove empty anchors from html Insert image references into html Error: Referenced image 0 was not recognized as a valid image Error: Referenced image 0 was not recognized as a valid image Error: Referenced image 0 was not recognized as a valid image Error: Referenced image 0 was not recognized as a valid image Error: Referenced image 0 was not recognized as a valid image Error: Referenced image 0 was not recognized as a valid image Error: Referenced image 0 was not recognized as a valid image Error: Referenced image 0 was not recognized as a valid image Building an opf for mobi7/azw4. Completed dhdurgee@DHD-Z560 ~/bin/KindleUnpack_v075/lib $ Code:
dhdurgee@DHD-Z560 ~/bin/KindleUnpack_v075/lib $ ls -l /var/tmp/mobi7/Images/ total 424 -rw-r--r-- 1 dhdurgee dhdurgee 36016 Feb 26 14:38 cover00118.jpeg -rw-r--r-- 1 dhdurgee dhdurgee 36016 Feb 26 14:38 image00110.jpeg -rw-r--r-- 1 dhdurgee dhdurgee 78272 Feb 26 14:38 image00111.jpeg -rw-r--r-- 1 dhdurgee dhdurgee 26388 Feb 26 14:38 image00112.jpeg -rw-r--r-- 1 dhdurgee dhdurgee 83056 Feb 26 14:38 image00113.jpeg -rw-r--r-- 1 dhdurgee dhdurgee 15888 Feb 26 14:38 image00114.jpeg -rw-r--r-- 1 dhdurgee dhdurgee 42304 Feb 26 14:38 image00115.jpeg -rw-r--r-- 1 dhdurgee dhdurgee 47236 Feb 26 14:38 image00116.jpeg -rw-r--r-- 1 dhdurgee dhdurgee 34532 Feb 26 14:38 image00117.jpeg -rw-r--r-- 1 dhdurgee dhdurgee 13024 Feb 26 14:38 image00119.jpeg dhdurgee@DHD-Z560 ~/bin/KindleUnpack_v075/lib $ Dave PS: as a further test I ran the hacked version on one of the files: Code:
dhdurgee@DHD-Z560 ~/bin/KindleUnpack_v075/lib $ ./kindleunpackhack.py /media/dhdurgee/Kindle/documents/Fantasy\ Science\ Fiction\ Extended-asin_B00TZI7G9Q-type_MAGZ-v_1.azw /var/tmp MobiCover 0.4.N (ripped out of kindleunpack v0.66b) Based on initial version Copyright © 2009 Charles M. Hannum <root@ihack.net> Extensions / Improvements Copyright © 2009-2014 P. Durrant, K. Hendricks, S. Siebert, fandrieu, DiapDealer, nickredding, tkeo. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3. Unpacking Book... Palm DB type: BOOKMOBI, 176 sections. Unpacking a Mobipocket 6 book... Processing Mobipocket 6 section of book... Book is encrypted Mobi Version: 6 Codec: utf-8 Title: Fantasy & Science Fiction, Extended Edition EXTH Title: Fantasy & Science Fiction, Extended Edition Huffdic compression Unpacking cover image Extracting cover image: image00170.jpeg as cover_raw_B00TZI7G9Q.jpeg from section 170 Completed dhdurgee@DHD-Z560 ~/bin/KindleUnpack_v075/lib $ Dave Last edited by dhdurgee; 02-26-2015 at 03:03 PM. Reason: add a postscript |
|
02-26-2015, 03:30 PM | #3460 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Huh. Does it look sane-ish, as an image?
But since you've eliminated the usual culprit, yeah, check the system logs (syslog in a shell, or by entering ;dm in the Homescreen's searchbar), that's strange. |
02-26-2015, 03:50 PM | #3461 | |
Guru
Posts: 830
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
Quote:
Dave |
|
02-27-2015, 11:04 AM | #3462 |
Guru
Posts: 830
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
Is there a way I can restart the cover watchdog from myts? I am thinking that if I did so I could observe the standard output and error messages and they might give a clue as to the problem. Alternatively, do you have additional options I could add in starting the cover watchdog from there that could either increase debugging or capture any output for analysis.
I find that I can invoke kindleunpack.py from myts, but given the long names of the magazines it will be difficult to actually run it from there unless I can link a shorter name to it. Any other suggestions? Dave PS: I copied one of the magazines to a file with shorter name and ran kindleunpack.py against it on the K3W via myts and it worked. So the puzzle remains. Last edited by dhdurgee; 02-27-2015 at 11:20 AM. Reason: add postscript |
02-27-2015, 11:13 AM | #3463 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
The user storage is FAT32 - Bill G. didn't include support for links.
|
02-27-2015, 11:30 AM | #3464 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
hardlinks maybe. What is wrong with symlinks?
(or tab autocompletion...) |
02-27-2015, 11:41 AM | #3465 |
Guru
Posts: 830
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
|
Tags |
fonts, fw3, hack, jailbreak 3.1, niluje's hacks, screensavers, usbnet |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
USB network can't connect | Slusho64 | Kindle Developer's Corner | 22 | 01-23-2013 09:00 PM |
USB Network help? | XxKryoxX | Kindle Developer's Corner | 6 | 12-31-2012 08:47 AM |
Is there a hacks to install Time to read feature in other Kindles ? | Biberkopf | Kindle Developer's Corner | 1 | 11-27-2012 04:08 PM |
Hacks DXG Font hacks ? | nimblem | Amazon Kindle | 2 | 09-21-2010 03:35 PM |
Font Hacks | wildchild06241 | Introduce Yourself | 5 | 06-24-2010 08:08 PM |