Jump to content

Cannot get the program to even start


gsumner

Recommended Posts

Just starting off in the latest version and get this error before it even loads.

 

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Xml.XmlException: Invalid character in the given encoding. Line 1224199, position 33.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
   at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
   at System.Xml.XmlTextReaderImpl.FinishPartialValue()
   at System.Xml.XmlTextReaderImpl.get_Value()
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
   at bi.f(String A_0)
   at bi..ctor(String A_0)
   at o.l(String A_0)
   at GMapTest.FormMain.x(Object A_0, EventArgs A_1)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
GMapTest
    Assembly Version: 1.9.0.0
    Win32 Version: 1.9.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/FlightplanVisualizer/FlightplanVisualizer.exe
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
NLog
    Assembly Version: 4.0.0.0
    Win32 Version: 4.5.11.8645
    CodeBase: file:///C:/Program%20Files%20(x86)/FlightplanVisualizer/NLog.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.ServiceModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PLToolbox.Metar
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/FlightplanVisualizer/PLToolbox.Metar.DLL
----------------------------------------
PLToolbox.Navigation
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/FlightplanVisualizer/PLToolbox.Navigation.DLL
----------------------------------------
PLToolbox
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/FlightplanVisualizer/PLToolbox.DLL
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
GMap.NET.WindowsForms
    Assembly Version: 1.9.1.0
    Win32 Version: 1.9.1.0
    CodeBase: file:///C:/Program%20Files%20(x86)/FlightplanVisualizer/GMap.NET.WindowsForms.DLL
----------------------------------------
GMap.NET.Core
    Assembly Version: 1.9.1.0
    Win32 Version: 1.9.1.0
    CodeBase: file:///C:/Program%20Files%20(x86)/FlightplanVisualizer/GMap.NET.Core.DLL
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.109.0
    Win32 Version: 1.0.109.0
    CodeBase: file:///C:/Program%20Files%20(x86)/FlightplanVisualizer/System.Data.SQLite.DLL
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

 


Any idea whats going on please.

 

Ive tried editing the start as you described in your youtube video but it wont accept anything as a true path to my makerunways location.

 

Can you suggest anything please.

 

Graham

 

WIN10 64bit

Link to comment
Share on other sites

I'm guessing it can't locate the settings-file. Is this a fresh (first time) installation? which version?

 

  • I suggest you fully un-install the program and remove the two folders (where "[user-name]" is naturally your windows user-name):
    C:\Program Files (x86)\FlightplanVisualizer
    C:\Users\[user-name]\AppData\Roaming\FlightplanVisualizer
  • Reboot the computer
  • Install version 1.18
  • Start version 1.18  BEFORE  you try to change anything

 

EDIT: There should be a Logfile.log in your C:\Users\[user-name]\AppData\Roaming\FlightplanVisualizer\Logs folder which might have some more info of what went wrong.

Link to comment
Share on other sites

On 2nd thought it might an issue with your runways.xml if you made your own? (not using the one bundled with the installer). You error message report an encoding error in line 1224199 (position 33).

 

I recently had an issue myself with MakeRunways caused by illegal chars in runways.xml. It was an issue with the free Aerosoft Paderborn scenery and the order by which MakeRunways was scanning (MSFS) official/3rd party scenery. Peter Dowson fixed this by changing the scan order, so perhaps you just need to update- and re-run MakeRunways:

https://forum.simflight.com/topic/92054-illegal-char-in-runwaysxml-mkrwy-511/

 

Link to comment
Share on other sites

So I'll do this step by step. I updated the makerunways to latest version and ran it.

 

Rmoved all traces of your app, then installed 1.18 and ran it then directed it to my p3dv5 folder in the settings.

 

It came back with

 

15:00:46.146| 1|INFO |-------------------------------------------------------------------------------------
15:00:46.158| 1|INFO |Starting Flightplan-Visualizer - version 1.18.0  (Release)
15:00:46.158| 1|INFO |-------------------------------------------------------------------------------------
15:00:46.196| 1|INFO |Load App-settings(xml): C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\UserData\Settings.xml
15:00:46.216| 1|INFO |Upgrading settings from 1.17.0 to 1.18.0
15:00:46.216| 1|INFO |Using NoaaGov Weather Provider
15:00:46.216| 1|INFO |Setting initial core affinity-mask: 0x000000FF
15:00:46.906| 9|INFO |Frequencies imported (MkRwy): 36121
15:00:47.131|13|INFO |TimeZones loaded: 333
15:00:47.146|14|INFO |CountryInfo loaded: 254
15:00:47.166|15|INFO |ProgramVersions loaded: 8
15:00:47.236|11|INFO |AircraftInfo loaded: 460
15:00:47.236|13|INFO |Reading Names(binary)
15:00:47.248|13|INFO |Names loaded (male-firstnames:278, female-firstnames:149, lastnames:478)
15:00:47.286|12|INFO |AirlineInfo loaded: 5634
15:00:48.096| 9|INFO |Gates imported (MkRwy): 251363
15:00:48.831|10|INFO |AirportInfo loaded: 67937
15:00:48.916|10|INFO |Dash-ICAO loaded: 13368
15:00:49.046|14|INFO |Airports imported (MkRwy): 36973
15:00:49.249| 1|INFO |Loading MkRwy/Support-Data in 2.393 seconds
15:00:49.249| 1|INFO |UserAirlineInfo loaded: 0
15:00:49.249| 1|INFO |UserAirportInfo loaded: 0
15:00:49.249| 1|INFO |UserAirportRedirect loaded: 208
15:00:49.249| 1|INFO |UserAircraftInfo loaded: 0 (owned: 0, types: 0)
15:00:49.249| 1|INFO |Load Favorite-Aircraft(xml): C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\UserData\UserFavoriteAircraftTypes.xml
15:00:49.249| 1|INFO |UserFavoriteAircraftTypes loaded: 0
15:00:49.249| 1|INFO |Loading/processing User-Data in 0.012 seconds
15:00:49.289| 1|INFO |Processing MkRwy-Data in 0.028 seconds
15:00:49.289| 1|INFO |Batch-load all active Flightplans
15:00:49.296| 1|INFO |Scanning for flightplan-backups
15:00:49.296| 1|INFO |Scanning for flightplans
15:00:49.296| 1|INFO |787 Flightplans found
15:00:53.431| 1|INFO |787 Flighplans loaded (schedules:24763, legs:776733) in 4.129 seconds
15:00:53.476| 1|INFO |Update map to active settings/last use flightplan
15:00:53.476| 1|INFO |Switch to flightplan: C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\Flightplans\Danish Air Transport - Wi19-20.bfp
15:00:53.626| 1|INFO |Update active tagged leg menu-items
15:00:54.516| 1|INFO |Opening PDF-File: C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\FV Quick Manual.pdf
15:00:57.516| 1|INFO |Perform version-check. Report if uses latest version: False.
15:01:07.596| 1|INFO |MainMenu Open Settings-form
15:01:07.626| 1|INFO |Opening settings-form
15:01:11.707| 1|INFO |Browse for MakeRunways path
15:02:00.926| 1|INFO |Make-runways path selected: C:\Program Files\Lockheed Martin\Prepar3D v5
15:02:02.856| 1|INFO |Close settings-form
15:02:02.866| 1|INFO |Settings-changes was accepted
15:02:02.876| 1|INFO |Settings changed: Reboot required
15:02:02.876| 1|INFO |Reboot via: C:\Program Files (x86)\FlightplanVisualizer\FVReboot.exe
15:02:02.936| 1|INFO |Closing program due to reboot
15:02:02.936| 1|INFO |Update- and save settings
15:02:02.936| 1|INFO |Save App-settings(xml): C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\UserData\Settings.xml
15:02:02.996| 1|INFO |-------------------------------------------------------------------------------------
15:02:02.996| 1|INFO |Ending Flightplan-Visualizer
15:02:02.996| 1|INFO |-------------------------------------------------------------------------------------
15:02:03.991| 1|INFO |-------------------------------------------------------------------------------------
15:02:04.012| 1|INFO |Starting Flightplan-Visualizer - version 1.18.0  (Release)
15:02:04.012| 1|INFO |-------------------------------------------------------------------------------------
15:02:04.036| 1|INFO |Load App-settings(xml): C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\UserData\Settings.xml
15:02:04.056| 1|INFO |Using MkRwyPath: C:\Program Files\Lockheed Martin\Prepar3D v5
15:02:04.056| 1|INFO |Using NoaaGov Weather Provider
15:02:04.056| 1|INFO |Setting initial core affinity-mask: 0x000000FF
15:02:04.636| 9|INFO |Frequencies imported (MkRwy): 55711
15:02:04.836|15|INFO |TimeZones loaded: 333
15:02:04.846|10|INFO |CountryInfo loaded: 254
15:02:04.876| 9|INFO |Gates imported (MkRwy): 63785
15:02:04.876|12|INFO |ProgramVersions loaded: 8
15:02:04.906|14|INFO |AircraftInfo loaded: 460
15:02:04.937|15|INFO |Reading Names(binary)
15:02:04.956|15|INFO |Names loaded (male-firstnames:278, female-firstnames:149, lastnames:478)
15:02:04.966|13|INFO |AirlineInfo loaded: 5634
15:02:05.657|10|FATAL|Error occured while importing (MkRwy) Airports and runways
15:02:05.657|10|FATAL|System.Xml.XmlException: Invalid character in the given encoding. Line 1224199, position 33.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
   at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
   at System.Xml.XmlTextReaderImpl.FinishPartialValue()
   at System.Xml.XmlTextReaderImpl.get_Value()
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
   at cl.h(String A_0)
15:02:05.657| 9|FATAL|Error reading MkRwy data
15:02:05.657| 9|FATAL|System.AggregateException: One or more errors occurred. ---> System.Xml.XmlException: Invalid character in the given encoding. Line 1224199, position 33.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
   at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
   at System.Xml.XmlTextReaderImpl.FinishPartialValue()
   at System.Xml.XmlTextReaderImpl.get_Value()
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
   at cl.h(String A_0)
   at cl.a.c()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at cl..ctor(String A_0)
   at ak.t(String A_0)
---> (Inner Exception #0) System.Xml.XmlException: Invalid character in the given encoding. Line 1224199, position 33.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
   at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
   at System.Xml.XmlTextReaderImpl.FinishPartialValue()
   at System.Xml.XmlTextReaderImpl.get_Value()
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
   at cl.h(String A_0)
   at cl.a.c()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---

15:02:06.076|11|INFO |AirportInfo loaded: 67937
15:02:06.132|11|INFO |Dash-ICAO loaded: 13368
15:02:06.132| 1|INFO |Loading MkRwy/Support-Data in 1.565 seconds
15:02:06.132| 1|INFO |UserAirlineInfo loaded: 0
15:02:06.132| 1|INFO |UserAirportInfo loaded: 0
15:02:06.132| 1|INFO |UserAirportRedirect loaded: 208
15:02:06.140| 1|INFO |UserAircraftInfo loaded: 0 (owned: 0, types: 0)
15:02:06.140| 1|INFO |Load Favorite-Aircraft(xml): C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\UserData\UserFavoriteAircraftTypes.xml
15:02:06.140| 1|INFO |UserFavoriteAircraftTypes loaded: 0
15:02:06.140| 1|INFO |Loading/processing User-Data in 0.011 seconds
15:02:06.140| 1|INFO |Processing MkRwy-Data in 0.000 seconds
15:02:06.140| 1|INFO |Batch-load all active Flightplans
15:02:06.140| 1|INFO |Scanning for flightplan-backups
15:02:06.140| 1|INFO |Scanning for flightplans
15:02:06.156| 1|INFO |787 Flightplans found
15:02:10.176| 1|INFO |787 Flighplans loaded (schedules:24763, legs:776733) in 4.024 seconds
15:02:10.216| 1|INFO |Update map to active settings/last use flightplan
15:02:10.216| 1|INFO |Switch to flightplan: C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\Flightplans\Danish Air Transport - Wi19-20.bfp
15:02:10.276| 1|INFO |Update active tagged leg menu-items
15:02:14.276| 1|INFO |Opening PDF-File: C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\FV Quick Manual.pdf
15:02:24.987| 1|INFO |Open UserData-folder
15:05:47.367| 1|INFO |Open UserData-folder
15:06:01.057| 1|INFO |Action Search Airport
15:06:09.117| 1|INFO |View Airport Info EGGD
15:06:09.537|22|INFO |Looking up METAR for EGGD using provider NoaaWeb
15:06:15.487| 1|INFO |Close Airport-info form
15:06:15.827|22|ERROR|An error occured obtaining METAR-message for EGGD using provider NoaaWeb: System.Net.WebException: The remote name could not be resolved: 'tgftp.nws.noaa.gov'
   at System.Net.HttpWebRequest.GetResponse()
   at PLToolbox.Metar.WebWeatherMessages.MessageDownloader.DownloadMessageStatic(String icao)
   at PLToolbox.Metar.WeatherMessageProvider.NoaaGovWeatherMessageProvider.GetMetarMessage(String icao, Boolean forceUpdate)
   at ak.b(String A_0, Boolean A_1)
15:06:15.827|18|INFO |Looking up TAF for EGGD using provider NoaaWeb
15:06:17.432|18|ERROR|An error occured obtaining TAF-message for EGGD using provider NoaaWeb: System.Net.WebException: The remote name could not be resolved: 'tgftp.nws.noaa.gov'
   at System.Net.HttpWebRequest.GetResponse()
   at PLToolbox.Metar.WebWeatherMessages.MessageDownloader.DownloadMessageStatic(String icao)
   at PLToolbox.Metar.WeatherMessageProvider.NoaaGovWeatherMessageProvider.GetTafMessage(String icao, Boolean forceUpdate)
   at ak.a(String A_0, Boolean A_1)
15:06:17.537| 1|INFO |Closing program
15:06:17.537| 1|INFO |Update- and save settings
15:06:17.537| 1|INFO |Save App-settings(xml): C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\UserData\Settings.xml
15:06:17.587| 1|INFO |-------------------------------------------------------------------------------------
15:06:17.587| 1|INFO |Ending Flightplan-Visualizer
15:06:17.587| 1|INFO |-------------------------------------------------------------------------------------
15:06:26.187| 1|INFO |-------------------------------------------------------------------------------------
15:06:26.207| 1|INFO |Starting Flightplan-Visualizer - version 1.18.0  (Release)
15:06:26.207| 1|INFO |-------------------------------------------------------------------------------------
15:06:26.227| 1|INFO |Load App-settings(xml): C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\UserData\Settings.xml
15:06:26.247| 1|INFO |Using MkRwyPath: C:\Program Files\Lockheed Martin\Prepar3D v5
15:06:26.247| 1|INFO |Using NoaaGov Weather Provider
15:06:26.247| 1|INFO |Setting initial core affinity-mask: 0x000000FF
15:06:26.817| 9|INFO |Frequencies imported (MkRwy): 55711
15:06:27.012|13|INFO |TimeZones loaded: 333
15:06:27.012|14|INFO |CountryInfo loaded: 254
15:06:27.047|15|INFO |ProgramVersions loaded: 8
15:06:27.047| 9|INFO |Gates imported (MkRwy): 63785
15:06:27.092|12|INFO |AircraftInfo loaded: 460
15:06:27.137|13|INFO |Reading Names(binary)
15:06:27.137|13|INFO |Names loaded (male-firstnames:278, female-firstnames:149, lastnames:478)
15:06:27.147|11|INFO |AirlineInfo loaded: 5634
15:06:27.827|14|FATAL|Error occured while importing (MkRwy) Airports and runways
15:06:27.827|14|FATAL|System.Xml.XmlException: Invalid character in the given encoding. Line 1224199, position 33.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
   at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
   at System.Xml.XmlTextReaderImpl.FinishPartialValue()
   at System.Xml.XmlTextReaderImpl.get_Value()
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
   at cl.h(String A_0)
15:06:27.827| 9|FATAL|Error reading MkRwy data
15:06:27.827| 9|FATAL|System.AggregateException: One or more errors occurred. ---> System.Xml.XmlException: Invalid character in the given encoding. Line 1224199, position 33.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
   at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
   at System.Xml.XmlTextReaderImpl.FinishPartialValue()
   at System.Xml.XmlTextReaderImpl.get_Value()
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
   at cl.h(String A_0)
   at cl.a.c()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at cl..ctor(String A_0)
   at ak.t(String A_0)
---> (Inner Exception #0) System.Xml.XmlException: Invalid character in the given encoding. Line 1224199, position 33.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
   at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
   at System.Xml.XmlTextReaderImpl.FinishPartialValue()
   at System.Xml.XmlTextReaderImpl.get_Value()
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
   at cl.h(String A_0)
   at cl.a.c()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---

15:06:28.238|10|INFO |AirportInfo loaded: 67937
15:06:28.297|10|INFO |Dash-ICAO loaded: 13368
15:06:28.297| 1|INFO |Loading MkRwy/Support-Data in 1.540 seconds
15:06:28.297| 1|INFO |UserAirlineInfo loaded: 0
15:06:28.297| 1|INFO |UserAirportInfo loaded: 0
15:06:28.297| 1|INFO |UserAirportRedirect loaded: 208
15:06:28.297| 1|INFO |UserAircraftInfo loaded: 0 (owned: 0, types: 0)
15:06:28.297| 1|INFO |Load Favorite-Aircraft(xml): C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\UserData\UserFavoriteAircraftTypes.xml
15:06:28.297| 1|INFO |UserFavoriteAircraftTypes loaded: 0
15:06:28.297| 1|INFO |Loading/processing User-Data in 0.009 seconds
15:06:28.297| 1|INFO |Processing MkRwy-Data in 0.000 seconds
15:06:28.297| 1|INFO |Batch-load all active Flightplans
15:06:28.297| 1|INFO |Scanning for flightplan-backups
15:06:28.297| 1|INFO |Scanning for flightplans
15:06:28.317| 1|INFO |787 Flightplans found
15:06:32.532| 1|INFO |787 Flighplans loaded (schedules:24763, legs:776733) in 4.214 seconds
15:06:32.577| 1|INFO |Update map to active settings/last use flightplan
15:06:32.577| 1|INFO |Switch to flightplan: C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\Flightplans\Danish Air Transport - Wi19-20.bfp
15:06:32.617| 1|INFO |Update active tagged leg menu-items
15:06:37.887| 1|INFO |Opening PDF-File: C:\Users\Greame\AppData\Roaming\FlightplanVisualizer\FV Quick Manual.pdf


Make sense?

 

Thanks for your help

 

Graham

Link to comment
Share on other sites

The issue is with your runways.xml file. If you load the runways.xml file into a text editor which can handle large files (like Notepad++) and goto line: 1224199 I am sure you will see some weird (illegal) chars or chars that are not encoded/escaped correctly (hence the xml-file is invalid). The issue I experienced, I saw "reversed chars" (black background/white text) in Notepad++ shown with hex-codes (e.g. "xA6").

 

Have you tried to download- and run the latest MakeRunways? It can be downloaded from via  this link:

http://www.fsuipc.com/

 

It's listed as version 5.11 (on the website) however it is in fact a newer version (you can see this when you have downloaded/extracted the file and look at properties/details it should show version as "5.1.2.6")

Link to comment
Share on other sites

Sure,

 

As i wrote in the first line of my last post I already did all that. My makerunways is version 5.126. Do you have your own version ?

 

Does your program retrieve these files by itself or do I have to copy them manually to your programs folder ?

 

Graham

Link to comment
Share on other sites

There are multiple ways. When first installed (when nothing have changed) FV is setup to look for the 3 files it uses (Runways.xml, G5.csv, and F5.csv) in the user-data folder. However going into settings you can specify another path, and when specified the next time you start FV it will look for the 3 files in that folder. Lastly in one of the 2 last releases (forgot which one) I added an argument that can be specified in the shortcut, where this argument tells where to locate these 3 files.

 

However I don't think your issue is finding these files. It appears that there are some "illegal" chars in your Runways.xml file. As I wrote I had this issue myself with the free Paderborn scenery in MSFS. When scanned with MkRwy the city name for Paderborn contained some weird (illegal) chars. This issue went away when Pete changed the order by which MkRwy scans "official" and 3rd party scenery (however only for MSFS). To me it appears you are using P3Dv5? These days I use mostly MSFS, however I have used P3Dv4.5 together with FV without any issues.

 

As I wrote in the last note, please load your Runwayx.xml into a text-editor that can handle larges files (e.g. Notepad++) and have a look in the line its complaining about (1224199). In the search-menu of Notepad++ you find a menu-item called "Go to" which opens a form where you can enter the line number it should go to (be patient it takes a few seconds with such a large file. Alternative put the file somewhere (e.g. drop-box or similar) where you can share the folder so I can download it, and have a look at it

Link to comment
Share on other sites

It appeared changing the "é" to an "e" cured your issue. If possible I would still like to have a look at the faulty Runways.xml so I can inform Peter Dowson so he (perhaps) can do something in MkRwy to handle- or at least detect this.

Link to comment
Share on other sites

Ok ill check my backups and send you a bad one before my edits. You'll note it identified a non standard minus sign too in the folder url. I've informed orbx and they plan to change the installation path. 

 

I'm quite busy today so if i can't upload it today (Saturday) I'll do it tomorrow. 

 

Thanks

Graham 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy & Terms of Use