-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KSPC >= 1.22.0 breaks SpaceCenter node parsing #167
Comments
Could you please provide an example Kopernicus config that reproduce this, or at least the name of a planet pack and body in that planet pack ? |
Ok, found it by myself by looking at your logs.
Original file (notice how it is all squished as a single line when viewing it in github) This being said, if the stock parser is treating this case "correctly", KSPCF should definitely behave identically. I will try to push a fix ASAP. |
Ok, my guess would be that those lines :
need to be @NathanKell Would you mind taking a look at this ? |
Yep, and in the commented code there it even is already testing for both, it's just not doing it there. Whoops. :] (Testing for either works because those cases put the parser in SkipToKey mode, which eats all whitespace until a non-whitespace character.) |
Thanks for the info already. We were able to fix the issues with the config file on our end. No more crashes for now. |
Installing KSPC at or above version 1.22.0 causes Kopernicus to be unable to parse the fields inside any SpaceCenter nodes in custom planetary systems. This issue only occurs if KSPC is installed and at version 1.22.0 or above. The exception thrown is always
Input string was not in a correct format.
and for the very first line inside the SpaceCenter node, even if it is something as simple aslongitude = 315.97
Logs files
The text was updated successfully, but these errors were encountered: