View Single Post
Old 03-25-2012, 07:49 AM   #450
Gurra
Junior Member
Gurra began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2012
Device: Kindle
Index was outside the bounds of the array

Hi,

Just installed mobiperl 0.0.43 + Mobi2Mobi_GUI v11 (+activepython +.net v4 client) in order to change some .mobi titles.
There seem to be some strange issues.

First of all, seemingly all files containing a cover image get error messages in the info field, e.g.:
"FIRST IMG Record Id: 174
ERROR: Record 178 - Image data size definitely too large: 289188
ERROR: Record 180 - Image data size definitely too large: 267626
ERROR: Record 183 - Image data size definitely too large: 223086
..." etc.
I guess this message comes from mobi2mobi.exe. Do you know if it is normal?

Secondly and more importantly, I find that on some .mobi files, I get an unhandled exception "Index was outside the bounds of the array".
The exception text is:
"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_Clic k(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.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)"

I can send you an offending .mobi if it would be of help.
Gurra is offline   Reply With Quote