Portree-Kid / flightgear-airports

GNU General Public License v3.0
6 stars 1 forks source link

v0.0.24 - Full screen displays but "Checking" progress bar never displays #89

Closed LGBudd closed 3 years ago

LGBudd commented 3 years ago

The entire screen displays correctly now (problem with asphalt layer removed) but a click on "Check" never shows a progress bar and doesn't complete. Could there be something wrong with my install? 2020-08-08 The debugger shows the following: Failed to load resource: net::ERR_CONNECTION_REFUSED http://localhost:8080/json/ai/models?d=99 Then many "NewClass" renderer.js:11 lines Then:

TypeError: Cannot read property 'eachLayer' of undefined
    at a.check (renderer.js:11)
    at a.showCheck (renderer.js:11)
    at W (renderer.js:1)
    at a.o (renderer.js:1)
    at W (renderer.js:1)
    at a.e.$emit (renderer.js:1)
    at a.click (renderer.js:11)
    at HTMLAnchorElement.<anonymous> (renderer.js:1)

 ​

wkitty42 commented 3 years ago

that ERR_CONNECTION_REFUSED is because you don't have FG running so FGA can query it for where the AI craft are located... no idea about the rest, though...

Portree-Kid commented 3 years ago

The reason is, that obviously my check for a displayed APT dat overlay isn't working. It's required for the on runway check.

LGBudd commented 3 years ago

Thank you both! I was able to at least work around as @wkitty42 stated above. FlightGear had to be running the same airport I was trying to check, but that made the check work. I had also rescanned as I updated to 2020.2.1 and thought that might make a difference, since it did not work when I got FlightGear running but at an airport different than the one I wanted had loaded in FGA. I'm glad to hear that it is the way Keith indicates, however, as it makes it much "cleaner."

Portree-Kid commented 3 years ago

Fixed in 0.0.25