![]() |
#211 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
|
v0.18 Released
****v0.18 changes the way the batch process is executed. Some of the missing file problems seem to be related to the way the batch process was executed and the output collected for display in the GUI.
I've also added a Save Batch file option. If you tick the box the Save Batch file button will appear, hit this instead of convert to dump out the m2mcmds.bat file. This file is created in the directory that the Mobi2Mobi exe or perl file resides. You can then use this for troubleshooting if you are getting strange conversion issues. All those who previously had problems with the GUI please give it another go and report if your problems still persist. Cheers |
![]() |
![]() |
![]() |
#212 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
|
I've been updating the GUI a little bit more and have just added Book Type support in the new build. Are there any other useful flags in Mobi2Mobi that people use on a regular basis that aren't already available?
If so, let me know so I can try and incorporate them in the next release. |
![]() |
![]() |
Advert | |
|
![]() |
#213 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 6020
Join Date: Feb 2009
Location: Silicon Valley, CA
Device: Kindle Voyage, Samsung Galaxy S23+, Galaxy Tab S6
|
I was having problems with the current version I was using (I believe it was 0.16) so I downloaded this latest one, v0.18, and it's still crashing on me.
I'm attaching a text file with the output from the crash in case that helps. |
![]() |
![]() |
![]() |
#214 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
|
Hi CheriePie,
Does this error occur when you open an eBook for the first time? Could you please do me a huge favour and output the details for the book you are trying to edit into a text file. You can pipe the output from Mobi2Mobi in the following way. In a CMD window type the following, you will need to be in the directory in which the Mobi2Mobi exe resides, it would be easier to put a copy of the book in there as well. mobi2mobi.exe mybook.extn > c:\bookdump.txt Change mybook.extn to reflect the fullname of your eBook inclusive of its extension. Post the bookdump.txt here in the thread. I'm guessing that something isn't conforming to what is expected in the output file and this is causing an internal string array to bomb out. Thanks in advance for your help. |
![]() |
![]() |
![]() |
#215 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 6020
Join Date: Feb 2009
Location: Silicon Valley, CA
Device: Kindle Voyage, Samsung Galaxy S23+, Galaxy Tab S6
|
Hi Jarrod,
I initially composed all this in an email to you, but when I discovered that I couldn't attach a file to the PM, I'm copying it all here to the thread. Basically, it happens with all my e-book files on the file open process, and not just the first time it's opened. I can click continue to continue past the error and keep Mobi2Mobi GUI running, but then all fields after Output File aren't filled in. (Didn't they used to be before so you could see what the values were currently set at?) For the output you requested... I copied the book over to the directory where mobi2mobi.exe resides as you requested, though I do have that directory in my path as well so for further testing, it probably shouldn't be necessary, unless that's the cause of part of the problem. This particular file I'm trying to fix the author name on right now (so that it sorts by lastname, firstname on my Kindle), I'm not able to do with the standard --author "Turgeon, Carolyn". I suspect because the author is being stored in that EXTH tag. So I want to use Mobi2Mobi GUI to convert this particular one. (Though as I mentioned above, any file I try is reporting the same error.) I originally thought it's perhaps it's based on a too long a path to my e-books directory which is "C:\Documents and Settings\Cherie\My Documents\My eBooks" and beneath that are the individual author directories as set up by Calibre. But then I realized that probably isn't it at all since I got the same error even when I copied this Godmother file I'm working on now over to the C:\Util\Kindle Tools directory. Anyway, I hope this helps to track things down. Thanks! ![]() ~Cherie |
![]() |
![]() |
Advert | |
|
![]() |
#216 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 6020
Join Date: Feb 2009
Location: Silicon Valley, CA
Device: Kindle Voyage, Samsung Galaxy S23+, Galaxy Tab S6
|
Ack! I should probably redo that with one of my books that didn't start off being DRM protected. (I legally purchased this book but stripped the DRM so I could upload it to my Kindle.)
But it's nearly 4am here and I really want to go to bed so just know that the same thing happens on ALL books, whether they initially had DRM or not. And if necessary, I can give you the output from another book tomorrow that doesn't have any of those extra fields. |
![]() |
![]() |
![]() |
#217 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
|
Thanks CheriePie,
This is fine, but another sample would be great. The GUI essentially creates this output when you hit the open button and then parses the information to populate the fields. The index problem relates to one of these fields not matching the filter string I have hard coded. This output will help me find which one is causing the problem and hopefully I can then code a solution. Cheers |
![]() |
![]() |
![]() |
#218 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 6020
Join Date: Feb 2009
Location: Silicon Valley, CA
Device: Kindle Voyage, Samsung Galaxy S23+, Galaxy Tab S6
|
Okay, here's another using Catherine M. Wilson's When Women Were Warriors. BTW, this book is another one that I can't seem to get the Kindle to sort properly. It keeps wanting to sort it by C instead of W even when I've used the mobi2mobi --author command on the command line.
|
![]() |
![]() |
![]() |
#219 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
|
Thanks for the additional output file CheriePie. I've just tried both those files against my GUI and they both get parsed correctly by the GUI populating all the fields. Its possible that the output file is slightly different when generated by the GUI.
Can you please do me a huge favour and try to do a an open again. When you get the error can you please look in the directory that your have the Mobi2Mobi.exe or Mobi2Mobi.pl file and see if a file called mobidata.m2m has been created. Please post that file for me. Also could you please post the m2mcfg.ini file, this should be in the same path as the Mobi2Mobi_GUI.exe, and lucky last, what version of the Mobi2Mobi.exe or Perl file are you running. Thanks for your help in trying to sort this out. |
![]() |
![]() |
![]() |
#220 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
|
Hi CheriePie,
Something else to test if you don't mind. I've attached a debug build of the GUI. When the error is generated additional information is included in the details section of the error window, this might help me trackdown the problem. Just copy across the new files into your existing Mobi2Mobi_GUI directory and overwrite the existing file. Thanks again. |
![]() |
![]() |
![]() |
#221 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2009
Device: none (iread?)
|
Newbie question here,
I just got this working and am outputting .mobi files from a .prc (mobipocket?) file I have. Unfortunately, I'm not able to open the resulting file on Calibre (mac). Am I using the wrong tool? I must admit I saw GUI option and grabbed that (with a huge smile) after not being able to get the python scripts going. Thanks for helping out those afraid of scripts |
![]() |
![]() |
![]() |
#222 |
Enthusiast
![]() Posts: 43
Karma: 50
Join Date: May 2009
Device: Kindle3
|
Hanging problem
I've used version 18 on my Vista desktop and everything works fine. I have used it on my XP laptop where it has worked in the past, but now it hangs when I enter any book name (not just the corrupt books that would always cause an error). I stepped thru the source code using Visual Studio 2008, and find that it hangs on the line "p.WaitForExit();" in the batchProcess function. This happens no matter which book I pick - even though they work fine when accessed by the same code in Vista. My XP machine has .NET 3.5 with service pack 1.
|
![]() |
![]() |
![]() |
#223 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 6020
Join Date: Feb 2009
Location: Silicon Valley, CA
Device: Kindle Voyage, Samsung Galaxy S23+, Galaxy Tab S6
|
Quote:
I'm still getting the error so let me first answer your questions in this post before moving on to the next and playing with the Debug build. There is currently a mobidata.m2m file in that directory (C:\Util\Kindle Tools) but it's empty. I renamed it with a .bak extension and tried to open a file in Mobi2Mobi_GUI again. It recreated the mobidata.m2m file but it's still a blank 0 byte file. However, I'll attach my m2mcfg.ini file to this message, which is indeed in this directory as well. Version numbers: Mobi2mobi.exe - is there a way to find this without running a command line conversion? Typing mobi2mobi by itself on the command line doesn't yield a version number in the output, and the Version tab of the Properties dialog is completely blank. ![]() Perl - I have mobiperl-0.0.41 on my system in that same directory, but otherwise not a standalone perl installation. Hmmm... could that be part of the problem since there's a line in my m2mcfg.ini that says UsePerl=true? Hmmm... the forum won't let me upload my m2mcfg.ini file (keeps saying invalid file even though I'm selecting it thru the browse interface) so I'll just copy it's contents below: [Config] MobiDir=C:\Util\Kindle Tools UsePerl=true UseWin32=false WorkingDir=C:\Documents and Settings\Cherie\My Documents\My eBooks Additionally, a search for perl on my system turns up perl56.dll and perl.exe in my Collectorz.com\Book Collector directory, and there's also an ActivePerl folder nested in my Temp directory with a perl58.dll. (I do clean out my Temp directory regularly and it was just cleaned yesterday as a matter of fact so I suspect that's being expanded there by something going on. *shrug*) |
|
![]() |
![]() |
![]() |
#224 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 6020
Join Date: Feb 2009
Location: Silicon Valley, CA
Device: Kindle Voyage, Samsung Galaxy S23+, Galaxy Tab S6
|
Quote:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IndexOutOfRangeException: Index was outside the bounds of the array. at Mobi2Mobi_GUI.Form1.UpdateBookFields(String datapath, Boolean open) in K:\Mobi2Mobi\Mobi2Mobi_GUI_v019_Source_GPL\Mobi2Mo bi_GUI_v019_GPL\Mobi2Mobi GUI\Form1.cs:line 983 at Mobi2Mobi_GUI.Form1.btnOpenFile_Click(Object sender, EventArgs e) in K:\Mobi2Mobi\Mobi2Mobi_GUI_v019_Source_GPL\Mobi2Mo bi_GUI_v019_GPL\Mobi2Mobi GUI\Form1.cs:line 132 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3082 (QFE.050727-3000) CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- Mobi2Mobi_GUI Assembly Version: 0.0.1.9 Win32 Version: 0.0.1.9 CodeBase: file:///C:/Util/Kindle%20Tools/Mobi2Mobi_GUI.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. |
|
![]() |
![]() |
![]() |
#225 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
|
Thanks for the feedback CheriePie, hope everything goes smoothly with the sale of your house. I think based on what you've said in your post the problem is due to the output data file not being created correctly. Without this file the GUI can't parse the information it needs to populate the various fields. Hmmm... Perplexing.
I'll need to program a little diag tool to test the data file creation. I'll post back when its ready and when you get a chance give it a try and we'll see what happens. Thanks for you help in trying to solve this. |
![]() |
![]() |
![]() |
Tags |
mobi2mobi |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mobiperl Mobiperl - Perl tools for handling MobiPocket files | tompe | Kindle Formats | 890 | 01-17-2021 06:16 PM |
Problem updating metadata (using mobi2mobi command line and gui) | whitearrow | Kindle Formats | 3 | 12-05-2009 07:07 PM |
Mobi2mobi GUI has died again/New version? | AlexBell | Kindle Formats | 8 | 12-10-2008 08:13 PM |
Mobi2Mobi Mobi2Mobi GUI Cover Art Help? | huskies4all | Kindle Formats | 7 | 09-04-2008 11:31 AM |
I seem to have killed Mobi2Mobi gui | AlexBell | Kindle Formats | 8 | 09-02-2008 01:54 AM |