Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 10-19-2024, 06:06 AM   #496
Thorns
Member
Thorns began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Oct 2024
Device: Kobo
Quote:
Originally Posted by jhowell View Post
That error is most likely the result of a change to the array module in Python:




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.
Hi, just wanted to say I had the exact same error and used this plugin which allowed me to extract the dictionary and use the mobi to startdict python script which allowed the dictionary to go straight to the KOreader. Many thanks for posting this!
Thorns is offline   Reply With Quote
Old 01-28-2025, 09:48 AM   #497
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,254
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Updated the first post with version 0.83.7. Pulled in the latest changes from upstream (the standalone KindleUnpack), eliminated some warnings being generated and made sure the plugin would work with Python 3.13+

Note: v0.83.7 includes an upstream fix for the array module's tostring() method being renamed to tobytes() that jhowell kindly released a fix for in post #491.

Last edited by DiapDealer; 01-29-2025 at 09:17 AM.
DiapDealer is online now   Reply With Quote
Old 02-09-2025, 10:20 AM   #498
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 78,352
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I've found what I consider to be a bug.

Can we have the cover HTML be the first file in the manifest given that's how the cover is displayed with ePub? As it is, the cover is the last file in the list instead of being the first.
JSWolf is offline   Reply With Quote
Old 02-09-2025, 02:31 PM   #499
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 43,304
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
I've found what I consider to be a bug.

Can we have the cover HTML be the first file in the manifest given that's how the cover is displayed with ePub? As it is, the cover is the last file in the list instead of being the first.
What are you talking about? The cover image in the manifest is flagged with 'properties="cover-image"'. If no file with that property exists in the manifest, the first file in the ePub is used as the cover image.
DNSB is offline   Reply With Quote
Old 02-09-2025, 04:43 PM   #500
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 78,352
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
What are you talking about? The cover image in the manifest is flagged with 'properties="cover-image"'. If no file with that property exists in the manifest, the first file in the ePub is used as the cover image.
I would prefer to have the files in the order they will be displayed. That means the cover HTML is first and not last.
JSWolf is offline   Reply With Quote
Old 02-09-2025, 05:12 PM   #501
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 43,304
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
I would prefer to have the files in the order they will be displayed. That means the cover HTML is first and not last.
Since the .opf file is not intended for human use, your desire to have the file list in order is a trifle risible at best and a fine example of OCD at worst. Have you used calibre's editor to look at the .opf file in a KF8 file?

Do you also realize that you are confounding an image file (i.e. cover.jpeg) with a HTML file (i.e. titlepage.xhtml)? The HTML file can not be given a cover-image property.

IMNSHO, I don't care what order the files are listed in the .opf file as long as the semantics are correct.
DNSB is offline   Reply With Quote
Old 02-09-2025, 05:19 PM   #502
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 78,352
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
Since the .opf file is not intended for human use, your desire to have the file list in order is a trifle risible at best and a fine example of OCD at worst. Have you used calibre's editor to look at the .opf file in a KF8 file?

Do you also realize that you are confounding an image file (i.e. cover.jpeg) with a HTML file (i.e. titlepage.xhtml)? The HTML file can not be given a cover-image property.

IMNSHO, I don't care what order the files are listed in the .opf file as long as the semantics are correct.
I see the OPF file on every eBook. So it would be better to have the cover HTML first instead of last. I know it works and the cover is displayed, but that's not the point.
JSWolf is offline   Reply With Quote
Old 02-09-2025, 05:49 PM   #503
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 43,304
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
As do I. OTOH, I am not asking for purely cosmetic changes in a file that is not intended for human use and that will have no effect on reading the ebook.

I think it's time to move this discussion elsewhere.
DNSB is offline   Reply With Quote
Old 02-09-2025, 06:12 PM   #504
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,254
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by JSWolf View Post
I've found what I consider to be a bug.

Can we have the cover HTML be the first file in the manifest given that's how the cover is displayed with ePub? As it is, the cover is the last file in the list instead of being the first.
Only you would present what amounts to a frivolous feature request as a bug.

The answer is no. Drop this nonsense, or I'll drop it for you.

Moderator Notice
The End

Last edited by DiapDealer; 02-09-2025 at 06:29 PM.
DiapDealer is online now   Reply With Quote
Old 02-14-2025, 09:18 PM   #505
texasnightowl
Guru
texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.
 
Posts: 760
Karma: 2773644
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
I only recently added this plugin to Calibre. Simple question...should I be converting to epub2 or epub3? (I did try searching the thread using the term epub3 but didn't seem to see anything...but it may not have been obvious in the results.)
texasnightowl is offline   Reply With Quote
Old 02-14-2025, 09:29 PM   #506
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 43,304
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
My personal choice is Auto-detect. If KindleUnpack detects that the file was generated by an ePub3, the output will be ePub3. Otherwise, it defaults to ePub2.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2025-02-14 183028.png
Views:	64
Size:	20.5 KB
ID:	213679  

Last edited by DNSB; 02-14-2025 at 09:31 PM. Reason: Added image of KindleUnpack preferences
DNSB is offline   Reply With Quote
Old 02-14-2025, 09:52 PM   #507
texasnightowl
Guru
texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.
 
Posts: 760
Karma: 2773644
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
Quote:
Originally Posted by DNSB View Post
My personal choice is Auto-detect. If KindleUnpack detects that the file was generated by an ePub3, the output will be ePub3. Otherwise, it defaults to ePub2.
ah! ok! thanks! that is good to know!
texasnightowl is offline   Reply With Quote
Old 02-27-2025, 12:21 PM   #508
ayrlin
Junior Member
ayrlin began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2025
Device: none
All azw files are showing 'Unpack azw' as greyed out, can you offer any help?
ayrlin is offline   Reply With Quote
Old 02-27-2025, 12:33 PM   #509
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,254
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by ayrlin View Post
All azw files are showing 'Unpack azw' as greyed out, can you offer any help?
That typically only happens when your files still have DRM (or the book has no kindle format). KindleUnpack only works on Kindlebooks that are already DRM-Free.

Last edited by DiapDealer; 02-27-2025 at 12:35 PM.
DiapDealer is online now   Reply With Quote
Reply

Tags
mobi2mobi

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] EpubSplit JimmXinu Plugins 452 02-27-2025 10:32 AM
[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


All times are GMT -4. The time now is 07:35 AM.


MobileRead.com is a privately owned, operated and funded community.