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 06-15-2012, 06:29 AM   #16
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Cool. Given the 99% restart required case for the plugins off this forum anyways and the downsides of users being given some fairly nasty & obscure error messages like the above I like your decision. If they really don't want to restart right then (like when updating several plugins sequentially in plugin updater) they can still click on the "Don't restart" button on that dialog.

Users do tend to just blow through warning message dialogs and forget - heck I've even caught myself out the odd time. Whereas the conveience of that modal choice to restart straight away just makes it a no brainer really.

Are you happy to make the change yourself in both places? Or do you want me to do a plugin updater patch after you do the load plugin one? They both have similar code at the point of plugin installation (but it is replicated).
kiwidude is offline   Reply With Quote
Old 06-15-2012, 07:04 AM   #17
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'm occupied at the moment, so it would be better if you sent me a patch, otherwise, it will have to wait for a while.
kovidgoyal is offline   Reply With Quote
Advert
Old 06-15-2012, 07:59 AM   #18
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: 27,464
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by DMee View Post
Got some MOBI files that Calibre just can't convert - thought your plugin might be the trick.

MUst say its a bit weird on first use - I right click the file, plugin is there, only option was to Customise Plugin - only by clicking other files did I realise it only offered options when it found a suitable MOBI file.....

Maybe a note "Unable to unpack this file"??

So, I still have some files that are supposed to be MOBI and even your plugin won't touch - there is SOMETHING in them as opening in Notepad produces gibberish text.

Not a biggie now as I am not interested in reading these downloads - just curiosity piqued as to why they can't be tweaked (and they're not DRM'd)

(Even the eReader in Calibre won't deal with them!)
I'd love it if you could point me toward one of these MOBIs that the plugin isn't recognizing as a MOBI (as long as no copyright is being violated).

If you have python installed you can try the stand-alone Mobi_Unpack script to see if the issue is limited to the plugin, or if the underlying Mobi_Unpack code is equally confused. There's a link in the first post.

Last edited by DiapDealer; 06-15-2012 at 08:02 AM.
DiapDealer is online now   Reply With Quote
Old 06-16-2012, 01:15 AM   #19
mwyoung
MWYoung
mwyoung began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2012
Device: none
AH HA!

Restart! Oh Ya...Restart...

Yes, another noob proves his worth...

Restarted calibre...and...Of course the plugin was there and working properly...

Thanks
MWYoung
mwyoung is offline   Reply With Quote
Old 06-16-2012, 02:04 PM   #20
tilia
Evangelist
tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.
 
tilia's Avatar
 
Posts: 432
Karma: 1720909
Join Date: Mar 2011
Device: Voyage, K3
Quote:
Originally Posted by DiapDealer View Post
I'd love it if you could point me toward one of these MOBIs that the plugin isn't recognizing as a MOBI (as long as no copyright is being violated).
I had a hunch, and after checking: Baen prc-files from Fifth Emporium. At least some of them. The plugin just shows the customise option. Mobi_Unpack_v050 unpacks them (Kindle Previewer couldn't recompile, aborted since title wasn't set).

Cordelia's Honor (Probably the other Bujold prc-files as well, but the later omnibuses that are mobis are recognised by the plugin)
Worlds of Honor


When I imported some of these into calibre last year, they showed up as mobi, now they import as prc. The files are a bit of a mess, I've been cleaning up the epub and converting that to mobi.
tilia is offline   Reply With Quote
Advert
Old 06-16-2012, 02:41 PM   #21
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: 27,464
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by tilia View Post
I had a hunch, and after checking: Baen prc-files from Fifth Emporium. At least some of them. The plugin just shows the customise option. Mobi_Unpack_v050 unpacks them (Kindle Previewer couldn't recompile, aborted since title wasn't set).

Cordelia's Honor (Probably the other Bujold prc-files as well, but the later omnibuses that are mobis are recognised by the plugin)
Worlds of Honor


When I imported some of these into calibre last year, they showed up as mobi, now they import as prc. The files are a bit of a mess, I've been cleaning up the epub and converting that to mobi.
Cool... thanks. If the underlying Mobi_Unpack code will unpack them, then I certainly don't want the plugin choking on them. I'll dig into it, but I assume the problem is happening when the plugin tries to gather some preliminary data about the various formats in the ebook's calibre library entry.
DiapDealer is online now   Reply With Quote
Old 06-16-2012, 05:25 PM   #22
JoyfulT
Junior Member
JoyfulT began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2011
Device: nook color
Help in knowing what to do

Trying to move free Kindle books to my nook. And one DRM book has been added to Calibre And I really do not understand any of this. I've got the plugin and the zip file downloaded to my computer now what. Are there step by step instructions anywhere? I've seen apprentice alf instructions but I do not understand them. I really need very basic stuff. Sorry to be so needy. Thank you, Joyful
JoyfulT is offline   Reply With Quote
Old 06-16-2012, 06:13 PM   #23
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: 27,464
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by JoyfulT
Trying to move free Kindle books to my nook. And one DRM book has been added to Calibre And I really do not understand any of this. I've got the plugin and the zip file downloaded to my computer now what. Are there step by step instructions anywhere? I've seen apprentice alf instructions but I do not understand them. I really need very basic stuff. Sorry to be so needy. Thank you, Joyful
1) This plugin has nothing to do with DRM-removal.
2) You can't get specific help for DRM-removal on MobileRead. It's against the rules. If Alf's instructions are unclear, then ask Alf questions... but ask them where Alf lives. Alf doesn't live here.

Quote:
Originally Posted by tilia
I had a hunch, and after checking: Baen prc-files from Fifth Emporium. At least some of them. The plugin just shows the customise option. Mobi_Unpack_v050 unpacks them (Kindle Previewer couldn't recompile, aborted since title wasn't set).
I figured out what was going on. That particular one was a TEXtREAd PRC that the plugin was barfing on, but it's probably older MOBIs in general that my plugin is having trouble with. I've got a solution that seems to be working, but I'd like to do more testing this weekend before uploading.
DiapDealer is online now   Reply With Quote
Old 06-17-2012, 06:51 PM   #24
tilia
Evangelist
tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.tilia ought to be getting tired of karma fortunes by now.
 
tilia's Avatar
 
Posts: 432
Karma: 1720909
Join Date: Mar 2011
Device: Voyage, K3
Quote:
Originally Posted by DiapDealer View Post
1) I figured out what was going on. That particular one was a TEXtREAd PRC that the plugin was barfing on, but it's probably older MOBIs in general that my plugin is having trouble with. I've got a solution that seems to be working, but I'd like to do more testing this weekend before uploading.
Great. Thank you for the plugin and your work on the script
tilia is offline   Reply With Quote
Old 06-18-2012, 02:02 PM   #25
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: 27,464
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Updated the plugin to incorporate the latest bug fixes in the underlying Mobi_Unpack engine (0.51) and also fixed a bug in the plugin that was keeping it from working with older MOBIs/PRCs.

Now at version 0.5.1.
DiapDealer is online now   Reply With Quote
Old 06-20-2012, 07:59 PM   #26
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: 73,657
Karma: 127838196
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 DiapDealer View Post
Updated the plugin to incorporate the latest bug fixes in the underlying Mobi_Unpack engine (0.51) and also fixed a bug in the plugin that was keeping it from working with older MOBIs/PRCs.

Now at version 0.5.1.
Does the plugin fix the bug I found with the stand alone Python version where the html file has no line ends at the end of a line?
JSWolf is offline   Reply With Quote
Old 06-20-2012, 09:13 PM   #27
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: 27,464
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by JSWolf View Post
Does the plugin fix the bug I found with the stand alone Python version where the html file has no line ends at the end of a line?
No... mainly due to the fact that what you "found" is not a bug.
DiapDealer is online now   Reply With Quote
Old 07-07-2012, 07:58 PM   #28
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: 73,657
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Can you work with kiwidude to have this plugin run Modify ePub so after you've built the ePub from the KF8, the cover gets added it?
JSWolf is offline   Reply With Quote
Old 07-12-2012, 07:47 AM   #29
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: 27,464
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by JSWolf View Post
Can you work with kiwidude to have this plugin run Modify ePub so after you've built the ePub from the KF8, the cover gets added it?
Probably not.

While I can understand your interest in wanting to save a step or two by combining portions of the two plugins (and I respect and use kiwidude's work myself), but Mobiunpack is not about creating new things (or modifying old things)... it's about showing "what's in there"... even if what's in there isn't very pretty. Modifying "what's in there" is for you and other programs/tools to do.

Last edited by DiapDealer; 07-12-2012 at 08:35 AM.
DiapDealer is online now   Reply With Quote
Old 07-22-2012, 05:47 AM   #30
mark4asp
Junior Member
mark4asp began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2012
Device: Kobo
It is not working very well.

I tried it on 3 books, only 1 converted. All the books were first cracked from Kindle format. I needed to do that because my Kindle no longer works and I want to read them on my Kobo.

I installed the plugin above (mobi_unpack_v051_plugin.zip).

Only 1 in 3 books were converted.

1. The oldest book seems to have been converted well
2. A recent book (bought last week) was not recognised as being in mobi format, the the file menu didn't even provide the option to convert
3. The 3rd book produced no files, but gave an error message (below)

calibre, version 0.8.61
ERROR: MobiUnpack - The Plugin v0.5.1: unpack_from requires a buffer of at least 20 bytes

Traceback (most recent call last):
File "calibre_plugins.mobiunpack_plugin.extraction" , line 163, in unpack_ebook
File "calibre_plugins.mobiunpack_plugin.utilities", line 211, in unpackMOBI
File "calibre_plugins.mobiunpack_plugin.mobiunpack.mobi _unpack", line 950, in unpackBook
File "calibre_plugins.mobiunpack_plugin.mobiunpack.mobi _unpack", line 698, in process_all_mobi_headers
error: unpack_from requires a buffer of at least 20 bytes


PS: I'm using Windows XP (32 bit)
mark4asp is offline   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 412 03-26-2024 10:14 AM
[GUI Plugin] Open With kiwidude Plugins 402 03-16-2024 11:44 PM
[GUI Plugin] EpubMerge JimmXinu Plugins 521 02-11-2024 06:07 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 05:10 PM.


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