01-13-2022, 11:11 AM | #481 | |
Well trained by Cats
Posts: 29,811
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
MobiType: <type> |
|
01-13-2022, 01:01 PM | #482 | |
Zealot
Posts: 103
Karma: 1000
Join Date: May 2013
Device: Kindle Paperwhite
|
Quote:
Stefano |
|
Advert | |
|
01-13-2022, 01:30 PM | #483 | |
Well trained by Cats
Posts: 29,811
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
QCPI already has some Mobi checks |
|
01-14-2022, 08:43 AM | #484 | |
Zealot
Posts: 103
Karma: 1000
Join Date: May 2013
Device: Kindle Paperwhite
|
Quote:
After that in Calibre I will be able to use the Edit metadata in bulk function to set values in my custum columns P.S. Next posts in the [GUI Plugin] Quality Check thread.... Thanks Stefano |
|
01-14-2022, 12:49 PM | #485 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I don't mind a short derailment, but this is probably a good idea.
Still looking for my script. I've found a few variations that use Python2/Qt4 (or Tkinter), but there should be something newer than that. |
Advert | |
|
02-02-2022, 08:29 AM | #486 | |
Zealot
Posts: 103
Karma: 1000
Join Date: May 2013
Device: Kindle Paperwhite
|
Quote:
It’s a beta version… I am not a good Python programmer so if you want to test it or give me suggestions…. Thanks Stefano |
|
03-20-2022, 05:23 AM | #487 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Dec 2020
Device: Onyx Boox Poke2
|
This is excellent, thanks so much for your work!
Question: KindleUnpack can convert azw3 files to epubs directly via the KF8 to epub... menu item. For mobi files, nothing like this seems to be available -- the plugin can unpack them, but there's no option to turn them into epubs. I assume that's working as intended? Or am I overlooking something? Is the only way to turn mobis into epubs Calibre's built-in conversion function? |
03-20-2022, 08:22 AM | #488 | |
Grand Sorcerer
Posts: 6,498
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
The content inside of the older MOBI format is based on a subset of HTML3. This needs extensive changes to turn it into a proper EPUB, which is something that would out of place in this plugin. It is better handled by calibre's conversion function. |
|
03-21-2022, 03:49 AM | #489 | |
Enthusiast
Posts: 30
Karma: 10
Join Date: Dec 2020
Device: Onyx Boox Poke2
|
Quote:
|
|
09-03-2022, 05:14 PM | #490 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Any idea?
Unpacking this (de-DRMed) mobi7 dictionary: I get this error: Code:
calibre, version 6.4.0 ERREUR : Exception non gérée: <b>TypeError</b>:a bytes-like object is required, not 'str' calibre 6.4 embedded-python: True Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19044') Python 3.10.1 Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free') Interface language: fr Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 49, 0) && DeDRM (10, 0, 1) && AZW6 Image Merge (1, 0, 0) && Package KFX (from KFX Input) (1, 49, 0) && APNX Generator (1, 1, 0) && Count Pages (1, 11, 3) && EpubCheck (0, 2, 4) && Find Duplicates (1, 9, 7) && Generate Cover (2, 2, 0) && Hyphenate This! (0, 1, 3) && KFX metadata reader (from KFX Input) (1, 49, 0) && KFX Input (1, 49, 0) && Set KFX metadata (from KFX Output) (1, 64, 0) && KFX Output (1, 64, 0) && KindleUnpack - The Plugin (0, 83, 1) && KindleXRay (0, 0, 4) && Obok DeDRM (7, 1, 0) && Open With (1, 7, 2) && Quality Check (1, 12, 0) && Standard Ebooks (1, 0, 0) && TTS to MP3 (0, 6, 0) && WordDumb (3, 25, 0) && X-Ray Creator (3, 2, 1) Traceback (most recent call last): File "calibre_plugins.kindleunpack_plugin.action", line 271, 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 205, in getPositionMap File "calibre_plugins.kindleunpack_plugin.kindleunpackcore.mobi_dict", line 288, in getInflectionGroups File "calibre_plugins.kindleunpack_plugin.kindleunpackcore.mobi_dict", line 377, in applyInflectionRule AttributeError: 'array.array' object has no attribute 'tostring' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre_plugins.kindleunpack_plugin.action", line 273, in unpack_ebook File "calibre_plugins.kindleunpack_plugin.utilities", line 105, in showErrorDlg File "traceback.py", line 179, in print_exc File "traceback.py", line 121, in print_exception TypeError: a bytes-like object is required, not 'str' |
09-03-2022, 08:57 PM | #491 | |
Grand Sorcerer
Posts: 6,498
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
That error is most likely the result of a change to the array module in Python:
Quote:
Added: I changed the name of that function in KindleUnpack and was able to unpack that dictionary without any further errors. I have attached a copy of the modified plugin in case anyone else needs to use it. Last edited by jhowell; 09-03-2022 at 09:24 PM. |
|
09-04-2022, 07:39 AM | #492 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Thank you! Perfect
|
10-25-2022, 08:13 AM | #493 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Feel free to PM me if something like this comes up in the future and I fail to respond. |
|
Tags |
mobi2mobi |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] EpubSplit | JimmXinu | Plugins | 426 | Yesterday 06:46 PM |
[GUI Plugin] EpubMerge | JimmXinu | Plugins | 522 | 04-01-2024 10:25 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[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 |