error message when opening logbook

Discussions about the Betaversion of Diving Log 6.0
Post Reply
sheeper
Posts: 6
Joined: Sun Jul 06, 2014 19:10

error message when opening logbook

Post by sheeper »

opening the logbook generates the following error message. if I "continue" an empty logbook appears even though the info panel shows over 200 dives.
-----------------------------------------------------------------------------------------------------------------------
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at Divinglog.frmLogbook.LoadRibbon()
at Divinglog.frmLogbook.frmLogbook_Loaded(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
at System.Windows.Interop.HwndTarget.OnResize()
at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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)

Windows Version: Windows 7
divinglog
Site Admin
Posts: 5844
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: error message when opening logbook

Post by divinglog »

Thanks, I'll release tomorrow an update. Please let me know if that problem is fixed, once it is available.
sheeper
Posts: 6
Joined: Sun Jul 06, 2014 19:10

Re: error message when opening logbook

Post by sheeper »

the new release seems to have fixed it.

one comment though. when I open a logbook it take a while to move from record to record. the Diving Log window actually shows "not responding" and it takes about 12-15 seconds for the record to move and refresh the window.
divinglog
Site Admin
Posts: 5844
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: error message when opening logbook

Post by divinglog »

Is your logbook file directly on the PC or on a network drive? Are there many photos attached to the dive? This slowdown is defenitely not normal.
sheeper
Posts: 6
Joined: Sun Jul 06, 2014 19:10

Re: error message when opening logbook

Post by sheeper »

the problem went away with one of the recent updates.
divinglog
Site Admin
Posts: 5844
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: error message when opening logbook

Post by divinglog »

Thank you, great to hear that!
Post Reply