Board index FlightGear Development Weather

Live weather fail

Everything related to weather simulation, visuals should be discussed in the shader subforum.

Live weather fail

Postby SurferTim » Tue Feb 05, 2019 1:18 pm

Seems like every time I change versions, something else fails. Now I get a message that "No METAR available. Aborting", and "NIL" in the weather box. I like live weather. Any way to fix it?
Flightgear 2018-3-1 and 2018-4-0 for Ubuntu.
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 77
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: N2ST/Pirate
Version: 2018-3-1
OS: Ubuntu 18.04

Re: Live weather fail

Postby wkitty42 » Tue Feb 05, 2019 1:21 pm

there is a search function on the forums ;)

this problem has already been reported here as well as to the dev mailing list and a patch is pending to correct the problem...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 5221
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Live weather fail

Postby SurferTim » Tue Feb 05, 2019 1:24 pm

I know how to use search. All results were old (like years and versions). It was reported fixed, but it isn't. If you are better at a search than I am, post a freaking link! ;)
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 77
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: N2ST/Pirate
Version: 2018-3-1
OS: Ubuntu 18.04

Re: Live weather fail

Postby Alant » Tue Feb 05, 2019 1:40 pm

https://forum.flightgear.org/viewtopic.php?f=25&t=35320&p=342320&hilit=metar#p342290

The last post was today, so no searching is really required.

Have a nice day. ;)

Alan
Alant
 
Posts: 815
Joined: Wed Jun 23, 2010 5:58 am
Location: Portugal
Callsign: Tarnish99
Version: from Git
OS: Windows 10

Re: Live weather fail

Postby SurferTim » Tue Feb 05, 2019 1:48 pm

Thank you, Alan! Imagine foolish me looking under "weather" and the post was under "flying".

It must have failed in the last couple days, because mine was working three days ago. I'll live without it until it is fixed.

Edit: It seems this has happened before according to my search. Wouldn't it be great to be able to change this URL with a startup parameter instead of hard coded?
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 77
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: N2ST/Pirate
Version: 2018-3-1
OS: Ubuntu 18.04

Re: Live weather fail

Postby Isaak » Tue Feb 05, 2019 1:53 pm

It's failing because the external weather source (NOAA.gov) has changed the URL where FG looks for weather info. It has nothing to do with the update to 2018.3.x. Sadly, the URL is hard coded in FlightGear, so it's not easy to fix this bug. For the average user (who doesn't know how to compile FG from source), a new version will be needed.
Isaak
 
Posts: 350
Joined: Sat Jun 04, 2011 2:52 pm
Location: Leuven, Belgium
Callsign: OO-ISA
Version: 2019.1.1
OS: Windows 10

Re: Live weather fail

Postby SurferTim » Tue Feb 05, 2019 1:55 pm

The URL should not be hard coded. That is my point. It should be in a setup file or a startup parameter. That is the sad part to me. If they hard code it, this will certainly happen again.

Edit: Think about it for just a second. If this URL was in a xml file, the fix would have been "open this file, change this URL, click save".
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 77
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: N2ST/Pirate
Version: 2018-3-1
OS: Ubuntu 18.04

Re: Live weather fail

Postby Thorsten » Tue Feb 05, 2019 3:09 pm

The URL should not be hard coded. That is my point. It should be in a setup file or a startup parameter. That is the sad part to me. If they hard code it, this will certainly happen again.


It's OpenSource - the preferred way to address such issues is not to be sad but to submit a suitable patch.
Thorsten
 
Posts: 10523
Joined: Mon Nov 02, 2009 8:33 am

Re: Live weather fail

Postby SurferTim » Tue Feb 05, 2019 3:26 pm

I had severe problems last time I tried to compile from source code. Ubuntu wasn't kind to me. Maybe I'll try again.

You've been on the forum almost 10 years. I've been here a couple months. I thought it would be easy for you pros. My mistake.
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 77
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: N2ST/Pirate
Version: 2018-3-1
OS: Ubuntu 18.04

Re: Live weather fail

Postby Alant » Tue Feb 05, 2019 3:34 pm

Don´t worry about that.

Anyway it is being attended to. and the problems about a hard coded URL is understood. Being an opensource project such things actually get into the code without being picked up.

Just keep an eye open for changes, which should not be long in coming.

Alan
Alant
 
Posts: 815
Joined: Wed Jun 23, 2010 5:58 am
Location: Portugal
Callsign: Tarnish99
Version: from Git
OS: Windows 10

Re: Live weather fail

Postby Thorsten » Tue Feb 05, 2019 3:34 pm

It doesn't work like that.

Sure, experience means that I (or a few other folks) might get some task done faster. Thinking it through, the logical consequence is that the fastest coder ends up doing all the work - which of course makes the project move at snail's pace because no work is ever distributed.

Whereas if a dozen not so fast people take each ten times the time it would take e.g. me to do, the project moves ahead much faster.

I am currently busy coding orbital rendezvous math - which might not interest you on the least, but then again, live weather does not interest me. Chances are I am /much/ faster at rendezvous math than pretty much anyone else around here, so in a sense I am spending my time rather efficiently, and chances are that if we both try to look for how to make a patch for weather server in a file, I would only be a bit faster than you.

So go figure... :D
Thorsten
 
Posts: 10523
Joined: Mon Nov 02, 2009 8:33 am

Re: Live weather fail

Postby Thorsten » Tue Feb 05, 2019 3:36 pm

Anyway it is being attended to. and the problems about a hard coded URL is understood. Being an opensource project such things actually get into the code without being picked up.


Actually they do not seem to , because we had the same discussion the last time, the problem was understood already back then, yet the solution slipped through the cracks because of too few people and nobody marking this top of the priority list and here we go again.
Thorsten
 
Posts: 10523
Joined: Mon Nov 02, 2009 8:33 am

Re: Live weather fail

Postby SurferTim » Tue Feb 05, 2019 3:44 pm

Thanks again, Alan. I'm not worried about it. It was a suggestion because in my search, I noticed this was not the first time this has happened.

My problem was "unmet dependencies" with my compile attempt. The compiler would give me a long list of dependencies, and when I completed installing those, it would give me another list.

I would like to help. Like I said, maybe I'll get all those dependencies worked out. It was just a suggestion for whoever was working on it.
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 77
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: N2ST/Pirate
Version: 2018-3-1
OS: Ubuntu 18.04

Re: Live weather fail

Postby Alant » Tue Feb 05, 2019 3:58 pm

Off topic here, but I used a script called flightgear-from-scratch on my Ubuntu box a week or so ago. You can find it on Flightgear´s wiki. There was one issue which google helped me with, but sadly I did not note down at the time.
Alant
 
Posts: 815
Joined: Wed Jun 23, 2010 5:58 am
Location: Portugal
Callsign: Tarnish99
Version: from Git
OS: Windows 10

Re: Live weather fail

Postby SurferTim » Wed Feb 06, 2019 1:27 pm

I found the script, but it generated errors on Ubuntu 18.04.

I posted the hack for this problem in Flying.
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 77
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: N2ST/Pirate
Version: 2018-3-1
OS: Ubuntu 18.04

Next

Return to Weather

Who is online

Users browsing this forum: No registered users and 0 guests