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

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 03-25-2012, 09:55 PM   #451
Jad
Groupie
Jad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-books
 
Jad's Avatar
 
Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
You generally get an exception crash when there are special characters in the filename of the book. These work fine under Windows but DOS doesn't like them and dies which causes the GUI to crash. Try removing any special characters from the filename and retry.

You can also try Mobi2Mobi by itself in DOS and use its command line and see if you get the same error.

Let us know how you go. If you get a chance post the names.
Jad is offline   Reply With Quote
Old 03-26-2012, 11:54 AM   #452
Gurra
Junior Member
Gurra began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2012
Device: Kindle
I don't think that's it. These are multiple files in the same folder, with minor differences in filenames, e.g. warriors_02_fire_and_ice.mobi causes the error, but warriors_03_forest_of_secrets.mobi doesn't.
I did notice that the files that cause the crash consistently have more EXTH Record entries than the ones that don't.
Gurra is offline   Reply With Quote
Advert
Old 03-26-2012, 07:26 PM   #453
Jad
Groupie
Jad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-books
 
Jad's Avatar
 
Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
Hmmm... Must be something in one of the EXTH records which is bombing the parsing of the Mobi2Mobi output. Can you do me a favour and post the Mobi2Mobi output for the problem eBook (from the actual Mobi2Mobi application) and I'll see if there is anything that might be causing the problem. Is the problem eBook in the public domain or available freely? If so let me know where and I'll grab a copy to test on.

Cheers
Jad is offline   Reply With Quote
Old 03-30-2012, 10:46 AM   #454
Gurra
Junior Member
Gurra began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2012
Device: Kindle
Sure,
What command line do I send to Mobi2Mobi to generate the output you need to see?
The book was a free download from Amazon when my daughter got it but it looks like they want $5.99 for it now. You could try the free sample though, it probably has the same issue.
Gurra is offline   Reply With Quote
Old 04-01-2012, 08:39 PM   #455
Jad
Groupie
Jad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-booksJad has learned how to read e-books
 
Jad's Avatar
 
Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
Easiest way is to put a copy of the MOBI file in the same directory as the Mobi2Mobi exe or Perl file.. In a DOS box change to that directory and enter:

mobi2mobi BOOKNAME.mobi > output.txt

This should dump out the output and you can copy the contents of the text file to the forum.

Cheers
Jad is offline   Reply With Quote
Advert
Old 04-02-2012, 07:17 PM   #456
Gurra
Junior Member
Gurra began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2012
Device: Kindle

Database Name:
Version: 0
Type: BOOK
Creator: MOBI
Seed: 329
Resdb:
AppInfoDirty:
ctime: -784178076 - Sun Jan 0 00:00:00 1900
mtime: -766046797 - Sun Jan 0 00:00:00 1900
baktime: -2082844800 - Sun Jan 0 00:00:00 1900
---------------------------------------------------
FIRST IMG Record Id: 308
ERROR: Record 310 - Image data size definitely too large: 78744
ERROR: Record 312 - Image data size definitely too large: 77660
---------------------------------------------------
Image record index: 154 (250 x 28)
START IMAGE INDEX: 154
COVER IMAGE INDEX: 154
PDHEADER Version: 2
PDHEADER Length: 609441
PDHEADER NRecords: 149
PDHEADER Recsize: 4096
PDHEADER Unknown: 0
MOBIHEADER ciflg: 1
MOBIHEADER ciptr: 161
MOBIHEADER doctype: MOBI
MOBIHEADER length: 232
MOBIHEADER booktype: 2 - BOOK
MOBIHEADER codep: 1252
MOBIHEADER uniqid: 281312371
MOBIHEADER ver: 6
MOBIHEADER exthflg: 88
MOBIHEADER language: 9 - 9 - 0 - ENGLISH -
MOBIHEADER xtradata: 10 0x3130
COVEROFFSET: -1
THUMBOFFSET: -1
EXTH doctype: EXTH
EXTH length: 672
EXTH n_items: 24
EXTH item: 109 - Rights - 26 - 2003 by Working Partners
EXTH item: 300 - 300 - 52 - 0x3000000000000008002000000000000000bef4edec1a9409 4409340994098409c409d40a6
EXTH item: 204 - 204 - 4 - 0x000c8
EXTH item: 205 - 205 - 4 - 0x0001
EXTH item: 206 - 206 - 4 - 0x0001
EXTH item: 207 - 207 - 4 - 0x00063
EXTH item: 3 - drm_ebookbase_book_id - 13 - 0000000061508
EXTH item: 100 - Author - 12 - Hunter, Erin
EXTH item: 101 - Publisher - 20 - Harper Collins, Inc.
EXTH item: 106 - PublishingDate - 10 - 2009-10-13
EXTH item: 113 - ASIN - 10 - B000VYX8PY
EXTH item: 115 - Sample - 4 - 0x0000
EXTH item: 116 - StartReading - 4 -
EXTH item: 503 - UpdatedTitle - 25 - Warriors #2: Fire and Ice
EXTH item: 504 - cDEContentKey - 10 - B000VYX8PY
EXTH item: 405 - 405 - 1 -
EXTH item: 406 - 406 - 8 -
EXTH item: 407 - 407 - 8 -
EXTH item: 209 - 209 - 30 -      
EXTH item: 401 - ClippingLimit - 1 - 0x64
EXTH item: 403 - 403 - 1 - 0x1
EXTH item: 404 - TTSFlag - 1 - 0x0
EXTH item: 501 - CDEContentType - 4 - EBOK
EXTH item: 208 - 208 - 211 - atv:kin:1:qhfGeadH8be7Ic8va3zaYrBxw2GTDPI9vbNYLGQ7 1f0vi+FBvmmQFAHYbrUtaKsKDEUfsKzLT5e4bouwwXNraVZK5d EjSPb0tyfOdugQszVl58PwwOrHmegTUkz7NaS8XE9v22pQ9eOy w7Z29r0bwtP+LumctlYWoCidSevjLQ8=:a/OKsKiagrfjyH1uM6jMo2VQmAs=
LONGTITLE: Warriors Fire And Ice
LASTID: 328
-----------------

mobi2mobi appears to pass binary data on the following records:
Record 116 - (4) 00 00 83 85
Record 209 - (30) 01 00 00 00 D0 00 00 00 01 94 00 00 00 01 91 00 00 00 01 95 00 00 00 01 96 00 00 00 01 97
Record 405 - (1) 00
Record 406 - (8) 00 00 00 00 00 00 00 00
Record 407 - (8) 00 00 00 00 00 00 00 00
Gurra is offline   Reply With Quote
Old 07-08-2012, 05:43 PM   #457
mdbsoftware
Junior Member
mdbsoftware began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2012
Device: Kindle Touch
Code:
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 WindowsApplication1.progbOpenFile.UpdateBookFields(String datapath, Boolean open) in C:\Users\Developer\Desktop\Mobi2Mobi_GUI\Mobi2Mobi_GUI_v11\Mobi2Mobi_GUI\Form1.vb:line 622
   at WindowsApplication1.progbOpenFile.btnCovert_Click(Object sender, EventArgs e) in C:\Users\Developer\Desktop\Mobi2Mobi_GUI\Mobi2Mobi_GUI_v11\Mobi2Mobi_GUI\Form1.vb:line 1046
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs 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.WndProc(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.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Mobi2Mobi_GUI_VB
    Assembly Version: 0.0.0.6
    Win32 Version: 0.0.0.6
    CodeBase: file:///C:/Program%20Files/Mobi2Mobi/Mobi2Mobi_GUI_VB.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.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.

Last edited by pdurrant; 03-10-2013 at 07:30 AM.
mdbsoftware is offline   Reply With Quote
Old 07-28-2012, 02:31 AM   #458
nabrum
Member
nabrum began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Dec 2009
Device: none
mobi2mobi open azw3 files

Is there anyway to have mobi2mobi open azw3 files in the mobipocket/kindle files menu?

It has open indicators for mobi, prc, azw and I have to do a "*.*" on the mobipocket/kindle files menu. That's a pain. (It seems the newest version of an unnamed "conversion" tool produces azw3 output on the newer amazon ebooks.

If there is a script or exe that needs editing, I can do it if I know the name. I looked at the obvious mobi2mobi exe's/tars and could find anything obvious. A fix would be to change "azw" to "az*" in the menu.

Thanks
nabrum is offline   Reply With Quote
Old 09-10-2012, 02:34 PM   #459
rockster
Enthusiast
rockster began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Sep 2012
Device: kindle
I am trying to insert cover image on a mobi file that i use on kindle for PC. The problem is that the cover image is not showing in the library view but if i check in the book the image is there. Any idea why the cover image is not showing? Also how can i delete a cover image from mobi file?

Thanks!
rockster is offline   Reply With Quote
Old 03-01-2013, 07:13 AM   #460
jenrar
Connoisseur
jenrar began at the beginning.
 
Posts: 61
Karma: 10
Join Date: Nov 2011
Device: none
I get an unhandled exception error on a mobi book. It says Index was outside the bounds of the array. Here are the details:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

Code:
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at WindowsApplication1.progbOpenFile.UpdateBookFields(String datapath, Boolean open) in C:\Users\Developer\Desktop\Mobi2Mobi_GUI\Mobi2Mobi_GUI_v11\Mobi2Mobi_GUI\Form1.vb:line 615
   at WindowsApplication1.progbOpenFile.btnOpenFile_Click(Object sender, EventArgs e) in C:\Users\Developer\Desktop\Mobi2Mobi_GUI\Mobi2Mobi_GUI_v11\Mobi2Mobi_GUI\Form1.vb:line 439
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs 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.WndProc(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.5466 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Mobi2Mobi_GUI_VB
    Assembly Version: 0.0.0.6
    Win32 Version: 0.0.0.6
    CodeBase: file:///C:/Users/Jenny/Desktop/Mobi2Mobi_GUI_VB_v11/Mobi2Mobi_GUI_VB.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.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.


Any ideas? TIA!

Last edited by pdurrant; 03-10-2013 at 07:30 AM.
jenrar is offline   Reply With Quote
Old 03-09-2013, 12:00 PM   #461
gggggg
Junior Member
gggggg began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2013
Device: kindle PW
Cool win8/64 - 0.11mobi2mobi, mobiperl-win-0.0.43

I get an exception when opening mobi files - do I have to install anything else or maybe .net Version doesnt suite... ?
Code:
Informationen ber das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.IndexOutOfRangeException: Der Index war auerhalb des Arraybereichs.
   bei WindowsApplication1.progbOpenFile.UpdateBookFields(String datapath, Boolean open) in C:\Users\Developer\Desktop\Mobi2Mobi_GUI\Mobi2Mobi_GUI_v11\Mobi2Mobi_GUI\Form1.vb:Zeile 615.
   bei WindowsApplication1.progbOpenFile.btnOpenFile_Click(Object sender, EventArgs e) in C:\Users\Developer\Desktop\Mobi2Mobi_GUI\Mobi2Mobi_GUI_v11\Mobi2Mobi_GUI\Form1.vb:Zeile 439.
   bei System.Windows.Forms.Control.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
   bei System.Windows.Forms.Button.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.6400 (Win8RTMGDR.050727-6400).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
----------------------------------------
Mobi2Mobi_GUI_VB
    Assembly-Version: 0.0.0.6.
    Win32-Version: 0.0.0.6.
    CodeBase: file:///D:/sources/calibre/mobi2mobi/Mobi2Mobi_GUI_VB.exe.
----------------------------------------
Microsoft.VisualBasic
    Assembly-Version: 8.0.0.0.
    Win32-Version: 8.0.50727.6387 (Win8RTM.050727-6300).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
----------------------------------------
System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.6401 (Win8RTMGDR.050727-6400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.6402 (Win8RTMGDR.050727-6400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.6401 (Win8RTMGDR.050727-6400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Runtime.Remoting
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.6387 (Win8RTM.050727-6300).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll.
----------------------------------------
mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.6400 (Win8RTMGDR.050727-6400).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.6400 (Win8RTMGDR.050727-6400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Last edited by gggggg; 03-10-2013 at 11:22 AM.
gggggg is offline   Reply With Quote
Old 03-26-2014, 12:59 PM   #462
hatde130113
Enthusiast
hatde130113 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhatde130113 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhatde130113 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhatde130113 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhatde130113 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhatde130113 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhatde130113 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhatde130113 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhatde130113 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhatde130113 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhatde130113 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 28
Karma: 12500
Join Date: Mar 2014
Device: Kindle Paperwhite gen 2
Could you make MobMobi to run as OSX version ? Thanks a lot!
hatde130113 is offline   Reply With Quote
Old 02-21-2015, 09:33 PM   #463
Infinite3
Enthusiast
Infinite3 began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Feb 2015
Device: Kinde paper white
Hello there, I am getting this error message.



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 WindowsApplication1.progbOpenFile.UpdateBookFields (String datapath, Boolean open) in C:\Users\Developer\Desktop\Mobi2Mobi_GUI\Mobi2Mobi _GUI_v10\Mobi2Mobi_GUI\Form1.vb:line 615
at WindowsApplication1.progbOpenFile.btnOpenFile_Clic k(Object sender, EventArgs e) in C:\Users\Developer\Desktop\Mobi2Mobi_GUI\Mobi2Mobi _GUI_v10\Mobi2Mobi_GUI\Form1.vb:line 439
at System.Windows.Forms.Control.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.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.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Mobi2Mobi_GUI_VB
Assembly Version: 0.0.0.6
Win32 Version: n/a
CodeBase: file:///C:/Users/Joshua/Downloads/Mobi2Mobi_GUI_VB_v10/Mobi2Mobi_GUI_VB.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5488 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.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.





Does any one know what is wrong with it, and/or how to fix it?
Thanks!
Infinite3 is offline   Reply With Quote
Old 02-24-2015, 08:51 PM   #464
waterqds
Member
waterqds began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2015
Device: Kindle Touch
I also have the 2 kinds of errors:
1. Open a file whose name contains Chinese characters got the following error:
System.IndexOutOfRangeException: 索引à ƒÂ¨Ã‚Â¶Ã‚Â…ÃƒÂ¥Ã‚Â‡Ã‚ÂºÃƒ ¤ÂºÂ†Ã¦Â•Â°Ã §Ã‚»Â„界é ™ã€‚ 在
WindowsApplication1.progbOpenFile.UpdateBookFields (String datapath, Boolean open) 在
WindowsApplication1.progbOpenFile.btnOpenFile_Clic k(Object sender, EventArgs e) 在
System.Windows.Forms.Control.OnClick(EventArgs e) 在
System.Windows.Forms.Button.OnClick(EventArgs e) 在
System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent) 在
System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) 在
System.Windows.Forms.Control.WndProc(Message& m) 在
System.Windows.Forms.ButtonBase.WndProc(Message& m) 在
System.Windows.Forms.Button.WndProc(Message& m) 在
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m) 在
System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m) 在
System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
If the file is renamed to only ASCII filename, it is OK to extract its meta information.
When the GUI generate the .bat, should it convert the filename to system locale (codepage)?

2. Title, Author, etc display in wrong graph. Obviously it is caused by encoding issue.
If the title, author are saved in metadata as UTF8 encoding, the mobi2mobi.exe can extract correctly. However the GUI doesn't convert it to the Windows system locale (code page 936). The display is wrong.
I think if you wants to set up the title etc in Chinese, the GUI also should convert it to utf8 before it save to meta.
That said, if you always use English, i.e. English filename, English title, it should work without issue. I don't know if there is any standard which specify the title's encodings

Last edited by waterqds; 02-24-2015 at 08:55 PM.
waterqds is offline   Reply With Quote
Old 02-24-2015, 09:23 PM   #465
waterqds
Member
waterqds began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2015
Device: Kindle Touch
According to https://wiki.mobileread.com/wiki/MOBI, the encoding is
MOBI Header:
28 0x1c 4 text Encoding 1252 = CP1252 (WinLatin1); 65001 = UTF-8
waterqds 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
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


All times are GMT -4. The time now is 03:02 AM.


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