SamHuard

Good morning,

Vehicle is a Porsche 718 Cayman GT4 Clubsport MR. ICD Lite-P Clubsport

When trying to import the .KML file with the Start/Stop Path, Pi Toolset 7.0 crashes with an exception error. 

I've tried using online Google Earth Pro, the desktop version and 3 different Windows 10 laptops. 

Any help would be greatly appreciated.

Sam

Error:

Exception: System.Xml.Schema.XmlSchemaValidationException
The element 'Document' in namespace 'http://www.opengis.net/kml/2.2' has invalid child element 'CascadingStyle' in namespace 'http://www.google.com/kml/ext/2.2'. List of possible elements expected: 'visibility, open' in namespace 'http://www.opengis.net/kml/2.2' as well as 'author, link' in namespace 'http://www.w3.org/2005/Atom' as well as 'address' in namespace 'http://www.opengis.net/kml/2.2' as well as 'AddressDetails' in namespace 'urn[redface]asis:names:tc:ciq:xsdschema:xAL:2.0' as well as 'phoneNumber, Snippet, snippet, description, AbstractViewGroup, LookAt, Camera, AbstractTimePrimitiveGroup, TimeStamp, TimeSpan, styleUrl, AbstractStyleSelectorGroup, Style, StyleMap, Region, Metadata, ExtendedData, AbstractFeatureSimpleExtensionGroup, AbstractFeatureObjectExtensionGroup, AbstractContainerSimpleExtensionGroup, AbstractContainerObjectExtensionGroup, Schema, AbstractFeatureGroup, AbstractContainerGroup, AbstractOverlayGroup, Placemark, NetworkLink, Document, Folder, GroundOverlay, ScreenOverlay, PhotoOverlay, DocumentSimpleExtensionGroup, DocumentObjectExtensionGroup' in namespace 'http://www.opengis.net/kml/2.2'.

Source:
System.Xml

Stack Trace:
at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(ValidationEventHandler eventHandler, Object sender, XmlSchemaValidationException e, XmlSeverityType severity)
at System.Xml.Schema.XmlSchemaValidator.ElementValidationError(XmlQualifiedName name, ValidationState context, ValidationEventHandler eventHandler, Object sender, String sourceUri, Int32 lineNo, Int32 linePos, XmlSchemaSet schemaSet)
at System.Xml.Schema.XmlSchemaValidator.ValidateElementContext(XmlQualifiedName elementName, Boolean& invalidElementInContext)
at System.Xml.Schema.XmlSchemaValidator.ValidateElement(String localName, String namespaceUri, XmlSchemaInfo schemaInfo, String xsiType, String xsiNil, String xsiSchemaLocation, String xsiNoNamespaceSchemaLocation)
at System.Xml.XsdValidatingReader.ProcessElementEvent()
at System.Xml.XsdValidatingReader.ProcessReaderEvent()
at System.Xml.XsdValidatingReader.Read()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XElement.ReadElementFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
at Pi.Research.Toolset.Metadata.Chp.Applets.GPS.GPSBeaconReceiverViewModel.OnImportLocationSettings()
at Pi.Research.Toolset.ViewModels.ParameterlessCommand.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
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.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at Pi.Research.Toolset.Shell.SingleInstanceManager.OnStartup(StartupEventArgs eventArgs)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at Pi.Research.Toolset.Shell.EntryPoint.Main(String[] args)

Inner Exception:
null

Quote 0 0
littleozfella
Hi,  I have had this problem also, it seems to be the way the KML file is produced. Be sure you have 2 points that are wider than the track so you have a good line across the track. Use Google Earth, Add and then Path to make the points Be sure there is only 2) and then save as KML.  Alternately you could note down the Lat/Long at each point on the circuit and manually enter them, not ideal but get you done.  I really don't have a definitive answer, if I make them and they don't work I just make another one.

Cheers
Quote 0 0
SamHuard
I tried entering the co-ordinates manually and it would trigger a lap every second and not work. 
That being said, can anyone tell me how to reset the amount of laps completed?

I will keep trying at it. 
Quote 0 0
littleozfella
To reset the laps, click on the Actions Tab, you will see where to go from there.
Quote 0 0