Hi!
I'm trying to sync my log with my Android phone. Whether I try to upload it directly to my phone or to dropbox or export to sql, it doesn't work.
Diving Log gives the next message:
Anybody knows how to proceed?
Sync: Error loading data
Re: Sync: Error loading data
Can you send me your logbook file to info (at) divinglog.de?
Re: Sync: Error loading data
Thanks. Funniest (?) thing happened: I wanted to make the file smaller before sending (it was 64 mB). I did that through the file-menu.
After that I opened the logbook that still is 62 mB and got the next message:
Going further I can't see any dives. Error code below. I can send the file, but it's quite big...
Errorcode:
Zie het einde van dit bericht voor meer informatie over het aanroepen
van JIT-foutopsporing (Just In Time) in plaats van dit dialoogvenster.
************** Tekst van uitzondering **************
System.InvalidCastException: De conversie van type DBNull naar type Integer is ongeldig.
bij Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(Object Value)
bij Divinglog.Logbook.Collections.GetPlaceList(String FromCity, Boolean OnlyLinked)
bij Divinglog.frmLogbook.LoadComboItems()
bij Divinglog.frmLogbook.frmLogbook_Load(Object sender, EventArgs e)
bij System.EventHandler.Invoke(Object sender, EventArgs e)
bij System.Windows.Forms.Form.OnLoad(EventArgs e)
bij System.Windows.Forms.Form.OnCreateControl()
bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
bij System.Windows.Forms.Control.CreateControl()
bij System.Windows.Forms.Control.WmShowWindow(Message& m)
bij System.Windows.Forms.Control.WndProc(Message& m)
bij System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bij System.Windows.Forms.ContainerControl.WndProc(Message& m)
bij System.Windows.Forms.Form.WmShowWindow(Message& m)
bij System.Windows.Forms.Form.WndProc(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
...
After that I opened the logbook that still is 62 mB and got the next message:
Going further I can't see any dives. Error code below. I can send the file, but it's quite big...
Errorcode:
Zie het einde van dit bericht voor meer informatie over het aanroepen
van JIT-foutopsporing (Just In Time) in plaats van dit dialoogvenster.
************** Tekst van uitzondering **************
System.InvalidCastException: De conversie van type DBNull naar type Integer is ongeldig.
bij Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(Object Value)
bij Divinglog.Logbook.Collections.GetPlaceList(String FromCity, Boolean OnlyLinked)
bij Divinglog.frmLogbook.LoadComboItems()
bij Divinglog.frmLogbook.frmLogbook_Load(Object sender, EventArgs e)
bij System.EventHandler.Invoke(Object sender, EventArgs e)
bij System.Windows.Forms.Form.OnLoad(EventArgs e)
bij System.Windows.Forms.Form.OnCreateControl()
bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
bij System.Windows.Forms.Control.CreateControl()
bij System.Windows.Forms.Control.WmShowWindow(Message& m)
bij System.Windows.Forms.Control.WndProc(Message& m)
bij System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bij System.Windows.Forms.ContainerControl.WndProc(Message& m)
bij System.Windows.Forms.Form.WmShowWindow(Message& m)
bij System.Windows.Forms.Form.WndProc(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
...
Re: Sync: Error loading data
Try to put it inside a zip file, that should reduce the file size a bit. Do you have Dropbox or SkyDrive where you can put the file? Does everything worked before? It seems that something is wrong with the logbook file.
Re: Sync: Error loading data
I put it in a zip-file and the size was reduced not a bit, but enormous: from 64 to 5. Strange.
I just sent it to you.
I just sent it to you.
Re: Sync: Error loading data
Thanks, I'll have a look at it tomorrow!
Re: Sync: Error loading data
Problem solved, thanks to Sven!
Great work!
Great work!