The website and forum will be intermittently unavailable while we're making some security updates.
File uploads to the download hangar are also disabled until further notice.

Compiler Error in ADE for KVQQ

Let's hear all about the eye candy at those military bases.
Post Reply
Reggie
Captain
Captain
Posts: 274
Joined: 22 Sep 2006, 11:54
Version: P3D
Location: Alabama - USA

Compiler Error in ADE for KVQQ

Post by Reggie »

Greetings everyone,

I'm trying to add some parking for the USCS and FL National Guard aircraft at KVQQ in P3Dv4.2. When I try to compile the airport, I get the following error code:


Compiler Errors Found. These were not identified by the Issue Manager. Please let us know
what the compiler error is so that we can improve the Issue Manager.

The compiler message is shown below

ScruffyDuck Scenery Design Engine Compiling
Using BglComp....


Parsing document: C:\MSFS\FS Design Tools\Airport Design Editor 175\!AdeTempWorkOnly\KVQQ_ADEP4_RLC.xml

INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 7204, 34, '-4' violates enumeration constraint of 'GPS ILS LDA LOCALIZER LOCALIZER_BACKCOURSE NDB NDBDME RNAV SDF TACAN VOR VORDME'.

The attribute 'type' with value '-4' failed to parse.

INTERNAL COMPILER ERROR: #C2950: Invalid APPROACH tag (-4).
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Approach>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = United States
ERROR: state = Florida
ERROR: city = Jacksonville
ERROR: name = Cecil
ERROR: lat = 30.2187776193023
ERROR: lon = -81.877166479826
ERROR: alt = 80.0F
ERROR: magvar = 5
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 16404.2F
ERROR: ident = KVQQ
ERROR: >
ERROR: <Approach
ERROR: type = -4
ERROR: runway = 09
ERROR: designator = RIGHT
ERROR: suffix = 0
ERROR: gpsOverlay = FALSE
ERROR: fixType = TERMINAL_WAYPOINT
ERROR: fixRegion = K7
ERROR: fixIdent = ZEVSI
ERROR: altitude = 1000.0F
ERROR: heading = 84.064896
ERROR: missedAltitude = 2000.0F
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 7371, 34, '-4' violates enumeration constraint of 'GPS ILS LDA LOCALIZER LOCALIZER_BACKCOURSE NDB NDBDME RNAV SDF TACAN VOR VORDME'.

The attribute 'type' with value '-4' failed to parse.

INTERNAL COMPILER ERROR: #C2950: Invalid APPROACH tag (-4).
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Approach>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = United States
ERROR: state = Florida
ERROR: city = Jacksonville
ERROR: name = Cecil
ERROR: lat = 30.2187776193023
ERROR: lon = -81.877166479826
ERROR: alt = 80.0F
ERROR: magvar = 5
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 16404.2F
ERROR: ident = KVQQ
ERROR: >
ERROR: <Approach
ERROR: type = -4
ERROR: runway = 27
ERROR: designator = LEFT
ERROR: suffix = 0
ERROR: gpsOverlay = FALSE
ERROR: fixType = TERMINAL_WAYPOINT
ERROR: fixRegion = K7
ERROR: fixIdent = YIPUV
ERROR: altitude = 1700.0F
ERROR: heading = 263.721832
ERROR: missedAltitude = 2100.0F
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!
INTERNAL COMPILER ERROR: #C2034: XML Parse Fatal Error (line, column, error)

ERROR: 7913, 0, Validate failed.

INTERNAL COMPILER ERROR: #C2430: Unrecoverable error parsing XML!
INTERNAL COMPILER ERROR: #C2006: Parse failed (0x80004005)
INTERNAL COMPILER ERROR: #C2003: Failed to process file: C:\MSFS\FS Design Tools\Airport Design Editor 175\!AdeTempWorkOnly\KVQQ_ADEP4_RLC.xml



I've tried getting on the FSDeveloper ADE forum, but it will not let me search and I don't have time to go through 309 pages.

Any assistance appreciated,

Reggie

Reggie
User avatar
Firebird
MAIW Admin
MAIW Admin
Posts: 12112
Joined: 11 Aug 2006, 21:04
Version: FS9
Location: EGLL

Re: Compiler Error in ADE for KVQQ

Post by Firebird »

To me it looks like you haven't designated the type of approach, it is set to -4. What are you trying to set?
The error lists all the appropriate response and the fact that it says 'enumeration' indicates that it is trying to assign a positive number.
Try selecting the type of approach again.
Steve
_______________________________________________________
Image
Quid Si Coelum Ruat
_______________________________________________________
User avatar
petebramley
MAIW Developer
MAIW Developer
Posts: 1529
Joined: 17 Jun 2007, 16:05
Version: P3D
Location: EGBG

Re: Compiler Error in ADE for KVQQ

Post by petebramley »

I had the same problem when I tried to add a couple of parking spaces. Even if I just opened up in ADE & saved without any amendments I got the same error. Too deep for me !
Pete B
Retired and busier than ever !!
Reggie
Captain
Captain
Posts: 274
Joined: 22 Sep 2006, 11:54
Version: P3D
Location: Alabama - USA

Re: Compiler Error in ADE for KVQQ

Post by Reggie »

Hello Firebird,
The “-4” is the default value set in the stock airport. I’m trying to figure out how to change that value to a positive, but cannot find it anywhere. And the program will not let me delete any navaids to build new ones.

I tried to compile without any modifications as well and got the same results as you did.

Where do I find the approaches to make changes? Are they the same as Navaids?

Thanks,
Reggie
User avatar
Greg
MAIW Admin
MAIW Admin
Posts: 4043
Joined: 12 Aug 2006, 19:56
Version: MSFS
Location: Belgium

Re: Compiler Error in ADE for KVQQ

Post by Greg »

The value must be one that occurs in the list (= enum) "GPS ILS LDA LOCALIZER LOCALIZER_BACKCOURSE NDB NDBDME RNAV SDF TACAN VOR VORDME", if not you get an enumeration violation.

It is strange that ADE sets the value to -4 for you because when I decompile KVQQ in ADEP4, I get the correct types.

What you could do is go into "Approach Mode" in ADE (use the toggle button in the top right corner), then select Lists -> Approaches.

Now edit both approaches that give errors for you (GPS R09R and GPS R27L). In the bottom right corner you'll see the properties of each approach. Set the type to something else and then back to "GPS"). Then save and compile.

If that doesn't work, you can also just delete both approaches from the list.
User avatar
clickclickdoh
MAIW Developer
MAIW Developer
Posts: 1568
Joined: 03 Mar 2009, 03:04

Re: Compiler Error in ADE for KVQQ

Post by clickclickdoh »

** Walks by whistling **




It should work fine in FSX and P3d if you make a replacement background poly.
User avatar
petebramley
MAIW Developer
MAIW Developer
Posts: 1529
Joined: 17 Jun 2007, 16:05
Version: P3D
Location: EGBG

Re: Compiler Error in ADE for KVQQ

Post by petebramley »

Thanks for the subtle hint :-)
Pete B
Retired and busier than ever !!
Reggie
Captain
Captain
Posts: 274
Joined: 22 Sep 2006, 11:54
Version: P3D
Location: Alabama - USA

Re: Compiler Error in ADE for KVQQ

Post by Reggie »

Well, I had problems with KJAX as well and an Administrator from ORBX uploaded this scenery file replacement, APX26210, that seems to have fixed the airports in that entire area of the country. All is good now.

Thank you for your assistance, keep up the outstanding work.

Cheers,
Reggie
Post Reply