Weather plugin shows no data. "currently no data available."
No more information or message for the user what to do - a good example for very bad user experience in case of error.
it just does not work.
Designs
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
I have the same issue. The weather plugin doesn't work anymore.
That's what I got from PANEL_DEBUG=1.
weather-Message: 18:38:44.950: getting https://api.met.no/weatherapi/sunrise/2.0/?lat=54.754163&lon=20.448327&date=2020-09-08&offset=+02:00&days=5weather-Message: 18:38:44.950: getting https://api.met.no/weatherapi/locationforecastlts/1.3/?lat=54.754163&lon=20.448327&msl=26(wrapper-2.0:18507): weather-WARNING **: 18:38:44.990: Download of weather data failed with HTTP Status Code 404, Reason phrase: Not Found
I can confirm with OP and others who have replied that the weather plugin hasn't been operating as of a few days ago (early September 2020). I use a version of Xbuntu (Ubuntu) xfce4.
I just got it to install with Xubuntu 18.04 LTS with very minimal editing of any files. The autogen.sh complained since 18.04 LTS does not have xdt-autogen 4.14.0, so I changed it to look for version 4.12.0 which is what Xubuntu 18.04 has. It installed and works great!
git clone https://github.com/xfce-mirror/xfce4-weather-plugincd xfce4-weather-plugin/sed -i 's/4.14.0/4.12.0/' autogen.sh./autogen.sh --prefix=/usrmakesudo make install
The output in command ./autogen.sh --prefix=/usr is:
...
checking for gtk+-3.0 >= 3.22.0... not found
*** The required package gtk+-3.0 was not found on your system.
*** Please install gtk+-3.0 (atleast version 3.22.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.
What package I need? The package "gtk+-3.0" not exist.
Thank you very much but I prefer to compile myself. So I would like to know what packages are required to be able to compile without errors. Or a link to that libweather.so file in an official repository for system security reasons.
Plus, only replacing the file here you miss out on newer features of upgrading to the newest version of the plugin. I am not aware of any official repository for the libweather.so, and I am in full agreement for security reasons that you shouldn't download a file like that from an unknown location.
To avoid downloading a file from an unknown location, you can find at least 2 solutions to fix this bug in the Debian bugreport.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925561
The Debian XFCE maintainers provide a deb-package for an easy upgrade to version 0.10.1-1
As mentioned previously, the old versions of Locationforecast (1.9), Nowcast (0.9) and Weathericon (1.1) will terminate on March 1st, 2021. Incredibly, almost 70 % of the current API traffic is still using version 1.9, This means a lot of sites and apps will stop working shortly. We recommend everyone not yet upgraded to start working on this ASAP. Please see our docs for more information:
Same problem here on my Xubuntu 20.04 but solved with a similar workaround to that shown by Yousuf Philips above except that I downloaded the .deb package from the PPA repository for Xfce-4.16 and simply extracted the libweather.so__ file from that package and replaced the native libweather.so file in the 20.04 version with this newer extracted file.