KSP-MGA-Planner icon indicating copy to clipboard operation
KSP-MGA-Planner copied to clipboard

2 issues, Eeloo cannot orbit Sarnus and I don't know how to test my system locally

Open snazzyostrich opened this issue 3 years ago • 7 comments

The converter gives me an error when feeding Eeloo into it since it orbits Sarnus. I'm combining OPM with MPE and JMP. The last part speaks for itself. Sorry this is a dumb question, I'm not experienced with this stuff at all.

snazzyostrich avatar Dec 12 '22 23:12 snazzyostrich

Hello !

The converter gives me an error when feeding Eeloo into it since it orbits Sarnus.

Can you be more precise about what error does the converter give ? What files are you providing it ?

I don't know how to test my system locally

I don't know what's your experience with git and github, so I'll give the simplest way involving no commandline stuff.

Install VScode if you don't have it already. Then download your forked MGA repository from github. Open the repository (downloaded folder) with VSCode. Install the Live server extension for VSCode. You can install it directly from VSCode (search for "Live server"). It will add a "go live" button on the blue bar at the bottom of the editor. Click it, and it should automatically open your browser with your MGA planner running.

If you modify a file you just need to refresh the page on the browser.

nmisyats avatar Dec 13 '22 12:12 nmisyats

The error reads "ERROR: Cannot read properties of undefined (reading 'Orbit')". I am now able to test the system, however none of the added objects appear. I replaced OPM's files with those of it combined with MPE and JMP so that you could get to it through the dropdown menu.

snazzyostrich avatar Dec 13 '22 22:12 snazzyostrich

Can you upload the files that you are giving to the converter ? (you can attach files to your comment).

however none of the added objects appear

This can happen if there is missing or invalid data in the configuration files (bodies.yml, config.yml or systems.yml). I'll try to check this problem this week.

nmisyats avatar Dec 13 '22 22:12 nmisyats

Github doesn't support kopernicus config files, so I made a google drive instead. https://drive.google.com/drive/folders/1dUs-zRRI9626dzPuMivWXiBfOkKVsifW?usp=share_link

snazzyostrich avatar Dec 14 '22 23:12 snazzyostrich

I need an authorization to access the file, or you need to make the file publicly accessible for anyone that has the link you provided.

nmisyats avatar Dec 15 '22 18:12 nmisyats

When add Eeloo for OPM, I excluded Eeloo's Kopernicus config and enable stock system when doing auto conversion. Then I manually edit Eeloo's orbital parameter.

TNQOYxNU avatar Dec 17 '22 10:12 TNQOYxNU

@snazzyostrich Can you add public access with link to the file on google drive please ? I'm not able to download it. Or you can put the Kopernicus file in a zip and attach it to a comment.

nmisyats avatar Dec 18 '22 13:12 nmisyats