I have a weird problem that I hope you can help with.
Short background. Both I and my wife dive with Uwatec Galileo Luna Trimix computers. We have separate log books in Diving Log. I usually load the dives from the first one, then open the other logbook and load the dives from the other one. Always when I do this the second computer has to reread ALL dives from the dive computer (I'm guessing that this is because the Downloader.db holds a fingerprint per dive computer Model and not by Serial number). This is an irrititation, but one that I can live with.
The problem is that the other day I did a series of short, shallow apnea dives with my computer. The final series of dives contains no dives - i.e. I pushed the button on my computer to start a series and then didn't actually do any dives. This apparently created a dive in the computer with 0 depth...
On attempting to load my dives to Diving Log I get the following error:
Code: Select all
System.ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at Divinglog.Download.Universal.ParseSmartData()
at Divinglog.Download.Universal.LibDC_DownloadComplete(DeviceStatusEnum Status)
at Divinglog.Download.Libdivecomputer.BWorker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Diving Log Version: 6.0.0.1
Windows Version: Windows 7
If there was some way to just load the dives after that one I'd ignore the problem and carry on, but because of the issue mentioned above, DL currently wants to load all the dives from my computer each time, so it loads for a while and then crashes on the above error.
I have successfully loaded the dives into Uwatecs SmartTrak program and can load into DL that way, but I'd rather go direct. I've attached a zip with an slg from SmartTrak of all the dives currently in my computer - it's dive #133 that is causing the issues. Also enclosed are my Downloader.db and Downloader.txt - note these haven't updated after loading my wife's computer - because of the crash they are not being updated when I load mine. Finally the DownloadSmart.xml file is attached - mainly because the Serial in there is different from the one in Downloader.db, so it is probably mine.
Fingers crossed that you can help,
Thanks,
Simon Varney