The download hangar is currently disabled. We're doing our best to bring it back as soon as possible.

KNIP Jax to v4 issue

Let's hear all about the eye candy at those military bases.
Post Reply
Corvette99
Second Lieutenant
Second Lieutenant
Posts: 42
Joined: 31 May 2010, 17:16
Version: P3D

KNIP Jax to v4 issue

Post by Corvette99 »

I am trying to update KNIP , Jacksonville NAS in P3Dv4, scenery folder 0302, file 26210. I wanted to remove the default objects and replace with the MAIW objects,but every time I try to compile I get this error;
"
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 5532, 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:"
There's more but I"m thinking this is the part that's restricting me. Any ideas ? Can I "fix" the approach issue ?
I can post the whole error message if needed. This bugger has become a challenge but I need some advice here.
Thanks in advance! Scott "Pappy"
User avatar
Firebird
MAIW Admin
MAIW Admin
Posts: 12132
Joined: 11 Aug 2006, 21:04
Version: FS9
Location: EGLL

Re: KNIP Jax to v4 issue

Post by Firebird »

The problem is more or less what it says it is. The approach on the line number flagged, 5532, is not recognised.
Enumeration means that a number is assigned instead of a word and it lists them, so GPS =1, ILS =2, LDA=3, etc
Whatever you currently have is returning '-4' which is an invalid type as you have to have a positive number with enumeration..

So either reselect a valid approach type for the problem line or alternatively amend the line 5532 column 34 to the valid one you wanted and compile the code with bglcomp.

Does this help?
Steve
_______________________________________________________
Image
Quid Si Coelum Ruat
_______________________________________________________
Corvette99
Second Lieutenant
Second Lieutenant
Posts: 42
Joined: 31 May 2010, 17:16
Version: P3D

Re: KNIP Jax to v4 issue

Post by Corvette99 »

Is it possible to change that bad default setting? I haven't changed anything yet. Not sure how to even find that.
User avatar
Manschy
Major
Major
Posts: 580
Joined: 21 May 2009, 07:50
Version: P3D
Location: Gutersloh, Germany

Re: KNIP Jax to v4 issue

Post by Manschy »

Hi Scott,

just did a reply to your post over at SOH:

http://www.sim-outhouse.com/sohforums/s ... pile-error

Hope this can help.
Regards, Manfred.
User avatar
Firebird
MAIW Admin
MAIW Admin
Posts: 12132
Joined: 11 Aug 2006, 21:04
Version: FS9
Location: EGLL

Re: KNIP Jax to v4 issue

Post by Firebird »

That is not a default setting that is built into ADE, I assume that is what you are using, if not say what you are using.

If you like I can take a look at your code and see if I can find out anything else. PM it to me if you want me to look.
Steve
_______________________________________________________
Image
Quid Si Coelum Ruat
_______________________________________________________
Corvette99
Second Lieutenant
Second Lieutenant
Posts: 42
Joined: 31 May 2010, 17:16
Version: P3D

Re: KNIP Jax to v4 issue

Post by Corvette99 »

I didn't change any codes, just tried to compile the "stock airport" into a folder in AddOn Scenery
User avatar
Manschy
Major
Major
Posts: 580
Joined: 21 May 2009, 07:50
Version: P3D
Location: Gutersloh, Germany

Re: KNIP Jax to v4 issue

Post by Manschy »

There we are. We should know what programmes you use firstly...
Regards, Manfred.
Corvette99
Second Lieutenant
Second Lieutenant
Posts: 42
Joined: 31 May 2010, 17:16
Version: P3D

Re: KNIP Jax to v4 issue

Post by Corvette99 »

ADE P4
This is going above my paygrade I think ! LOL
Corvette99
Second Lieutenant
Second Lieutenant
Posts: 42
Joined: 31 May 2010, 17:16
Version: P3D

Re: KNIP Jax to v4 issue

Post by Corvette99 »

Firebird wrote: 25 Aug 2018, 15:15 The problem is more or less what it says it is. The approach on the line number flagged, 5532, is not recognised.
Enumeration means that a number is assigned instead of a word and it lists them, so GPS =1, ILS =2, LDA=3, etc
Whatever you currently have is returning '-4' which is an invalid type as you have to have a positive number with enumeration..

So either reselect a valid approach type for the problem line or alternatively amend the line 5532 column 34 to the valid one you wanted and compile the code with bglcomp.

Does this help?
I wouldn't know where to look for that , but thanks.
User avatar
Firebird
MAIW Admin
MAIW Admin
Posts: 12132
Joined: 11 Aug 2006, 21:04
Version: FS9
Location: EGLL

Re: KNIP Jax to v4 issue

Post by Firebird »

Looking over the error you sent me in the pm, you might just have found a bug in the P4 version of ADE.
What I said to you in the reply may well solve the issue in either of the workarounds but once done it would be worth dropping a bug report to Scruffyduck to see if they are away/have a fix for - if indeed it is a bug.
Steve
_______________________________________________________
Image
Quid Si Coelum Ruat
_______________________________________________________
Corvette99
Second Lieutenant
Second Lieutenant
Posts: 42
Joined: 31 May 2010, 17:16
Version: P3D

Re: KNIP Jax to v4 issue

Post by Corvette99 »

It's worked fine on all other projects, but this one I've tried several different addon sceneries for KNIP and for some reason, none of the cvx files have hidden the default objects, so I thought I would use the default ade and MAIW objects when I hit this road block.
I'm still pretty new to all this and not that good!
This project may have just died !
Thanks anyway Gentlemen.
Post Reply