![]() |
#31 | ||
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Quote:
Also, fixed in Mobi2IMP 9.2 the image aspect ratio problem discussed here, by padding the images horizontally enough to not cause a problem. See examples below of Chapter 23 illustration in Pride and Prejudice by Jane Austen. Mobi2IMP 9.2 to be released soon... Last edited by nrapallo; 03-29-2008 at 12:35 PM. Reason: added pictures showing aspect ratio fix in action |
||
![]() |
![]() |
![]() |
#32 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 120
Karma: 726
Join Date: Dec 2007
Location: US
Device: Sony PRS-350, Astak PocketPro, iPhone, Asus eee Pad Transformer
|
RE: Mobi2IMP Version 9.2 GUI
Nick, it's simply marvelous! Thanks for the work you've devoted to this.
Gene ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,745
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I look forward to 9.2. I'll be using it to do my imp conversion from Mobipocket releases.
|
![]() |
![]() |
![]() |
#34 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Mobi2IMP 9.2 now released; see post#1 above
Quote:
Changes in this release:
As always, enjoy! |
|
![]() |
![]() |
![]() |
#35 |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
bug in v9.2 ?
hmm... either i'm doing something wrong (i admit, it's the more likely possibility...) or there is a bug. i tried to convert 2 different books (this one and this one) and i got the same error. i tried using the GUI and specifying manually the location, and also using a batch file made from the options i had selected in the gui (thanks so much for that tip about copying text from the DOS window by the way...).
here is the complete text of the error (did i mention, thank you for how to copy the dos window ?) : Code:
HTML/Element.pm did not return a true value at HTML/TreeBuilder.pm line 50. BEGIN failed--compilation aborted at HTML/TreeBuilder.pm line 50. Compilation failed in require at script/mobi2imp.pl line 25. BEGIN failed--compilation aborted at script/mobi2imp.pl line 25. WoW! All done. Appuyez sur une touche pour continuer... Code:
@echo off rem Convert .prc/.mobi/.pdb to .imp process devised by Nick Rapallo (Jan. 2008) rem =========================================================================== rem Place 'mobi2imp.exe' in a directory in your Windows 'path'. rem Place this batch file in the .prc files source directory and double-click to rem Start the conversion of all .prc files in this directory to .imp format. rem For EBW 1150 only output; add switch '--1200' for REB 1200 .IMP for /r %%i in (*.prc) do mobi2imp.exe --1200 --oeb --verbose --nojustify --nopara --indent --BDremove --cover --header_color #FFFFFF "%%i" "%%~ni" rem That's it! We are now finished the conversion of all .prc related files echo WoW! All done. pause - i installed mobi2imp 9.2 in C:\Program Files\Mobi2IMP as by default - the 2 books were in I:\mobi2imp_v9.2, along with the Mobi2IMP.exe copied from the Bin directory and the .bat file - i had previously converted both of these books using v9.1 with no problems. so, any ideas ? ![]() |
![]() |
![]() |
![]() |
#37 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
"HTML/Element.pm did not return a true value at HTML/TreeBuilder.pm line 50." is a bit strange. If it was not a binary I would say that the HTML/Element.pm file must be corrupt.
Maybe the binary is built in the wrong way? Or do you have a HTML/Element.pm file in your path that overrides the compiled one? |
![]() |
![]() |
![]() |
#38 |
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
hmm... what exactly would be a "HTML/Element.pm" file ? just a file with that name ? i don't see one in the Mobi2IMP files anywhere (in any of the directories), and it's definitely not in my source directory with the books.
and what is a binary also ? |
![]() |
![]() |
![]() |
#39 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
You are running the binary mobi2imp.exe. HTML/Element.pm is a file that should be compiled into the binary. And it should not be missing a return statement of true in the end. So something is broken. One possible way it could be broken is if you have installed a file Emement.pm somewhere on your computer and that is broken and it overrides the one in the binary. Another possible problem is that the binary (mobi2imp.exe) is corrupt in some way (or built wrongly).
|
![]() |
![]() |
![]() |
#40 |
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
could it be a conflict between the version 9.1 and the version 9.2 ? they are both installed, but in separate directories. 9.1 is working fine though...
|
![]() |
![]() |
![]() |
#41 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
|
![]() |
![]() |
![]() |
#42 |
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
ok, well i will try to re-download the installer for 9.2 and start over again, maybe it's the installation which is corrupted.
but i will do this tomorrow, it's quite late here, so i need to go to bed... if you think of anything else to try in the meantime, i will check back tomorrow. thanks for your help ! |
![]() |
![]() |
![]() |
#43 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,745
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
nrapallo, there is a bug in 9.2 with curly quotes. Please see https://www.mobileread.com/forums/sho...d.php?p=165874 to see the bug report.
|
![]() |
![]() |
![]() |
#44 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
I tried Mobi2IMP 9.2 and got zelda_pinwheel's (terrible) results. I tried my own 'MakedocN' converter and got just curly quotes i.e. “ ( not HTML entities like “ ). I then tried to 'Tidy' that html and got worst results than I started with. Then I tried tompe's mobi2html and it rendered a perfectly usable html file. Hurray! Moral of the Story: Implement tompe's latest fixes concerning UTF-8 or else the flock will find a greener pasture to graze on! p.s. that means a fix is in the works! p.p.s. Zelda_pinwheel, where do you find these troublesome files. ![]() |
|
![]() |
![]() |
![]() |
#45 |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Attached is a quick fix for those that convert UTF-8 encoded files! Tested on the troublesome first .prc noted above.
Just unzip the attachment into your "Mobi2IMP\bin" directory replacing the mobi2imp.exe with the attachment's .exe. The implementation of tompe's UTF-8 improvements will make their formal debut in the next release! EDIT: Now this .zip file is fixed for non UTF-8 files as well! Last edited by nrapallo; 04-01-2008 at 02:07 AM. Reason: fixed for non UTF-8 files as well |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DR800 Future GUI enhancements: pop-ups, fly-outs, toolbars & more | jm35 | iRex | 3 | 05-25-2010 01:41 PM |
GUI doesn't show up in Windows | morphine | Calibre | 3 | 09-04-2009 05:44 AM |
GUI Frontend for python scripts [windows] - seeking mod input first | sherman | Workshop | 7 | 04-27-2009 01:04 AM |
[Librie-Dev] Librie RSS Reader (Windows GUI) v0.31b | quantumskie | Legacy E-Book Devices | 0 | 11-30-2006 10:37 AM |
[Librie-Dev] Librie RSS Reader v0.2b (Windows GUI) *needs XylogParser.dll* | quantumskie | Legacy E-Book Devices | 0 | 11-27-2006 01:34 PM |