http://bugzilla.opensuse.org/show_bug.cgi?id=1016856 Bug ID: 1016856 Summary: libmateweather1 applet does not load weather data Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: grant.marcroft@suse.com QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- The weather applet for the MATE Desktop Environment does not pull any weather data because the server it was compiled to query for weather data isn't online any more. I found this solution on the Ubuntu forums after some searching. http://askubuntu.com/questions/817083/my-weather-widget-is-not-working Line 525 of SOURCE/libmateweather-1.10.0/libmateweather/weather-metar.c } else if (!strstr (msg->response_body->data, "National Weather Service")) { Should be changed to } else if (!strstr (msg->response_body->data, "AVIATION WEATHER CENTER")) { And the GET request on lines 553 and 554 should be updated from http://weather.noaa.gov/mgetmetar.php?cccc=<code> to http://aviationweather.gov/metar/data?ids=<code> Line 552 of SOURCE/libmateweather-1.10.0/libmateweather/weather-metar.c msg = soup_form_request_new ( "GET", "http://weather.noaa.gov/mgetmetar.php", "cccc", loc->code, NULL); Should be changed to msg = soup_form_request_new ( "GET", "http://aviationweather.gov/metar/data", "ids", loc->code, NULL); After recompiling the libmateweather package and installing the new RPMs, the widget pulls weather data again. -- You are receiving this mail because: You are on the CC list for the bug.