![]() |
#451 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,336
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
They've been doing wonky-donky stuff stripping images, video, and out of kf8 books lately. I'll take a look at the book and try to see what's keeping the plugin from being able to extract an epub, but in cases like this, it's often caused by the fact that an epub wasn't used to create the kf8 to begin with. The plugin's epub extraction feature still shouldn't barf all over it, thougn.
|
![]() |
![]() |
![]() |
#452 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,000
Karma: 89771343
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
|
![]() |
![]() |
Advert | |
|
![]() |
#453 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,919
Karma: 143098300
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#454 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,336
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Can you please give me a link to where I can refresh my memory on how to disable KFX downloads with K4PC? I don't need that functionality often enough anymore to remember how. No need to duplicate the instructions here, please.
|
![]() |
![]() |
![]() |
#455 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,581
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
|
![]() |
![]() |
Advert | |
|
![]() |
#456 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,451
Karma: 167726581
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
More specifically for later K4PC versions, you can check message #968 in the thread @pdurrant referenced.
|
![]() |
![]() |
![]() |
#457 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,336
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Thanks all!
|
![]() |
![]() |
![]() |
#458 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,336
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
New version of the plugin released (v0.83.0) to pull in the latest upstream KindleUnpack changes that fix an issue where a mobi header item (found in some magazines) was being incorrectly identified as a string instead of a value.
Nothing else has really changed, so if you're not getting any errors (or you're not unpacking Kindle magazines), this can probably be considered an optional update. |
![]() |
![]() |
![]() |
#459 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 409968
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
Spanish Translation
The update was ahead of me.
I've added translation support to the plugin and it's already translated into Spanish. I leave the file. But I will review the update to avoid issues between versions. Last edited by DiapDealer; 12-28-2020 at 07:33 PM. |
![]() |
![]() |
![]() |
#460 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,336
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I appreciate the contribution and the effort, but I'm going to need to produce my own .pot template that people can then use to provide translation files for the plugin. I'm afraid I'm just not comfortable with the mix of code/html that is being included along with the translatable strings in your template.
In short: I have much prep work to do to the plugin itself before I'm ready to incorporate translations. I'm also going to remove your attachment, as I don't want any confusion about what the latest official version of the plugin is. Thanks for your interest. EDIT: to be clear ... the the state of the translatable strings being produced is entirely my fault. I'm the one who initially wrapped the strings with the _() function in a way that is producing bad strings. It's just that no one has ever offered to provide a translation for this particular plugin so I never went back and cleaned up the strings being produced by the code. When I get some time, I certainly will, though. Last edited by DiapDealer; 12-28-2020 at 07:47 PM. |
![]() |
![]() |
![]() |
#461 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 409968
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
Quote:
I am not offended at all, I understand your point. If I am useful, count on my help. |
|
![]() |
![]() |
![]() |
#462 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,015
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Just to report a potential bug? malformed data?
Unpacking that Korean to English dictionary from the Kindle forum generated this error: Code:
calibre, version 5.8.1 ERREUR : Exception non gérée: <b>TypeError</b>:a bytes-like object is required, not 'str' calibre 5.8.1 [64bit] embedded-python: True is64bit: True Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19041') Python 3.8.5 Windows: ('10', '10.0.19041', '', 'Multiprocessor Free') Interface language: fr Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 36, 0) && DeDRM (7, 0, 0) && Package KFX (from KFX Input) (1, 36, 0) && APNX Generator (1, 1, 0) && Count Pages (1, 11, 0) && EpubCheck (0, 2, 3) && Find Duplicates (1, 8, 3) && Hyphenate This! (0, 1, 3) && KFX metadata reader (from KFX Input) (1, 36, 0) && KFX Input (1, 36, 0) && Set KFX metadata (from KFX Output) (1, 47, 0) && KFX Output (1, 47, 0) && KindleUnpack - The Plugin (0, 83, 0) && KindleXRay (0, 0, 4) && Open With (1, 5, 13) && Quality Check (1, 11, 0) && Standard Ebooks (0, 1, 1) && TTS to MP3 (0, 5, 8) && WordDumb (2, 0, 2) && X-Ray Creator (3, 2, 1) Traceback (most recent call last): File "calibre_plugins.kindleunpack_plugin.action", line 268, in unpack_ebook File "calibre_plugins.kindleunpack_plugin.mobi_stuff", line 124, in unpackMOBI File "calibre_plugins.kindleunpack_plugin.kindleunpackcore.kindleunpack", line 934, in unpackBook File "calibre_plugins.kindleunpack_plugin.kindleunpackcore.kindleunpack", line 855, in process_all_mobi_headers File "calibre_plugins.kindleunpack_plugin.kindleunpackcore.kindleunpack", line 632, in processMobi7 File "calibre_plugins.kindleunpack_plugin.kindleunpackcore.mobi_dict", line 219, in getPositionMap KeyError: 2 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre_plugins.kindleunpack_plugin.action", line 270, in unpack_ebook File "calibre_plugins.kindleunpack_plugin.utilities", line 102, in showErrorDlg File "traceback.py", line 163, in print_exc File "traceback.py", line 105, in print_exception TypeError: a bytes-like object is required, not 'str' |
![]() |
![]() |
![]() |
#463 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,336
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
KindleUnpack has never been robust in unpacking dictionaries. It might not ever be. But having said that, your 2nd error sounds like a classic python 2/3 byte vs string issue. And since it's in the plugin-only error-dialog call, that's on me. I can fix that, but it's unlikely that doing so is going to result in that dictionary from being able to be successfully/correctly unpacked.
Thanks for the report and the sample! |
![]() |
![]() |
![]() |
#464 | |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,015
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Quote:
If that can help, the dictionary author has made the source available here. [EDIT 13:05] Actually Jhowell has corrected the malformed tag and Owl_ revised dictionary unpacks perfectly. Last edited by PoP; 01-03-2021 at 01:53 PM. |
|
![]() |
![]() |
![]() |
#465 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,336
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Good to know! I'll try to get the plugin's error dialog fixed. But the good news is that the error dialog is only going to fail after the unpacking has failed.
![]() |
![]() |
![]() |
![]() |
Tags |
mobi2mobi |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] EpubSplit | JimmXinu | Plugins | 454 | 03-16-2025 03:05 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] EpubMerge | JimmXinu | Plugins | 555 | 01-18-2025 06:08 PM |
[GUI Plugin] Ex Libris | AlPe | Plugins | 87 | 10-10-2020 03:10 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |