Military AI Works • Compiler Error in ADE for KVQQ
Page 1 of 1

Compiler Error in ADE for KVQQ

Posted: 08 Mar 2018, 23:33
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

Re: Compiler Error in ADE for KVQQ

Posted: 09 Mar 2018, 08:36
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.

Re: Compiler Error in ADE for KVQQ

Posted: 09 Mar 2018, 08:50
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 !

Re: Compiler Error in ADE for KVQQ

Posted: 09 Mar 2018, 11:45
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

Re: Compiler Error in ADE for KVQQ

Posted: 09 Mar 2018, 14:34
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.

Re: Compiler Error in ADE for KVQQ

Posted: 09 Mar 2018, 16:35
by clickclickdoh
** Walks by whistling **




It should work fine in FSX and P3d if you make a replacement background poly.

Re: Compiler Error in ADE for KVQQ

Posted: 09 Mar 2018, 16:50
by petebramley
Thanks for the subtle hint :-)

Re: Compiler Error in ADE for KVQQ

Posted: 09 Mar 2018, 18:09
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