Jump to content
The simFlight Network Forums

Compile airports error with airports.xml file


Recommended Posts

I am encountering this error when compiling airports, and can't seem to figure out where the issue is.

Error:

FLW.STB.Utilities.StbDisconnectException: Invalid XML detected for airport GCXO(Tenerife-North).  Please check the runways.xml file found in the Prepar3D V5 installation folder at line 850301 position 35, and the AFD/AFCAD file that implements the airport.

airports.xml file for the offending airport GCXO:

<ICAO id="GCXO">
<ICAOName>Tenerife-North</ICAOName>
<Country>Spain</Country>
<City>Tenerife-North</City>
<File>D:\Prepar3D v5\Addon Scenery\MK Studios\MK_TenerifeVol2V2\scenery\GCXO_ADEP4_MK.bgl</File>
<SceneryName>GCTS - Tenerife South–Reina Sofia [Vol 2 V2] (MK Studios)</SceneryName>
<Longitude>-16.341536</Longitude>
<Latitude>28.482653</Latitude>
<Altitude>2072.99</Altitude>
<MagVar>-7.000</MagVar>
<Runway id="12">
<Len>11131</Len>
<Hdg>117.640</Hdg>
<Def>Asphalt</Def>
<ILSFreq>108.70</ILSFreq>
<ILSHdg>117.6</ILSHdg>
<ILSid>INOR</ILSid>
<ILSslope>3.00</ILSslope>
<ILSname>ILS/DME 12</ILSname>
<Lat>28.488033</Lat>
<Lon>-16.357794</Lon>
<FSStartLat>28.487858</FSStartLat>
<FSStartLon>-16.357231</FSStartLon>
<ClosedLanding>FALSE</ClosedLanding>
<ClosedTakeoff>FALSE</ClosedTakeoff>
<ApproachLights>NONE</ApproachLights>
<EdgeLights>NONE</EdgeLights>
<CenterLights>NONE</CenterLights>
<CenterRed>FALSE</CenterRed>
<EndLights>FALSE</EndLights>
<REIL>FALSE</REIL>
<Touchdown>FALSE</Touchdown>
<Strobes>0</Strobes>
<LeftVASI>NONE</LeftVASI>
<RightVASI>PAPI4</RightVASI>
<RightVASIbiasX>36.16</RightVASIbiasX>
<RightVASIbiasZ>1295.96</RightVASIbiasZ>
<RightVASIspacing>91.41</RightVASIspacing>
<RightVASIpitch>3.00</RightVASIpitch>
<ThresholdOffset>303</ThresholdOffset>
<PatternTakeOff>Left</PatternTakeOff>
<PatternLanding>Left</PatternLanding>
<PatternAltitude>305</PatternAltitude>
</Runway>
<Runway id="30">
<Len>11131</Len>
<Hdg>297.640</Hdg>
<Def>Asphalt</Def>
<ILSFreq>110.30</ILSFreq>
<ILSHdg>297.6</ILSHdg>
<ILSid>ITF</ILSid>
<ILSslope>3.00</ILSslope>
<ILSname>ILS/DME 30</ILSname>
<Lat>28.477272</Lat>
<Lon>-16.325285</Lon>
<FSStartLat>28.477449</FSStartLat>
<FSStartLon>-16.325848</FSStartLon>
<ClosedLanding>FALSE</ClosedLanding>
<ClosedTakeoff>FALSE</ClosedTakeoff>
<ApproachLights>NONE</ApproachLights>
<EdgeLights>NONE</EdgeLights>
<CenterLights>NONE</CenterLights>
<CenterRed>FALSE</CenterRed>
<EndLights>FALSE</EndLights>
<REIL>FALSE</REIL>
<Touchdown>FALSE</Touchdown>
<Strobes>0</Strobes>
<LeftVASI>NONE</LeftVASI>
<RightVASI>NONE</RightVASI>
<ThresholdOffset>0</ThresholdOffset>
<PatternTakeOff>Right</PatternTakeOff>
<PatternLanding>Right</PatternLanding>
<PatternAltitude>305</PatternAltitude>
</Runway>
</ICAO>

Link to post
Share on other sites

Here's the full compile error.

 

An exception occurred while trying to compile a new airports database.

As a result of this error, the default airport database will be used.  The default database does not contain flight schedules, airport data (runways and parking) or airport names you may have customized.  This may result in incorrect flight numbers being displayed, incorrect departures schedules for aircraft moved to the stand by approach control, and flight distance data will be more limited. 

FLW.STB.Utilities.StbDisconnectException: Invalid XML detected for airport GCXO(Tenerife-North).  Please check the runways.xml file found in the Prepar3D V5 installation folder at line 850301 position 35, and the AFD/AFCAD file that implements the airport.

Additional details:
   at FLW.Simulator.Objects.AirportCompiler.ReadAirportXml(XmlTextReader reader) in C:\_Data\Software Development\Flying-W\GitHub\STB\STB-P3DV5\Common\Flight Simulator Objects\FSObjects\AirportCompiler.cs:line 861
   at FLW.Simulator.Objects.AirportCompiler.LoadAirports() in C:\_Data\Software Development\Flying-W\GitHub\STB\STB-P3DV5\Common\Flight Simulator Objects\FSObjects\AirportCompiler.cs:line 701
   at FLW.Simulator.Objects.AirportCompiler.PerformCompileSteps() in C:\_Data\Software Development\Flying-W\GitHub\STB\STB-P3DV5\Common\Flight Simulator Objects\FSObjects\AirportCompiler.cs:line 216
   at FLW.Simulator.Objects.AirportCompiler.Compile() in C:\_Data\Software Development\Flying-W\GitHub\STB\STB-P3DV5\Common\Flight Simulator Objects\FSObjects\AirportCompiler.cs:line 170

Exception Handler Type: None

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy 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.