Public bug reported:

The 0.8.6 xfce4-weather-plugin included in Xubuntu 16.04 (and the 0.8.5
version in Linux Mint) expect to retrieve weather data from a server
using a weather API v 1.2.  The servers used for download have sunset
the 1.2 API and now require 1.3.  This causes the download to fail with
an HTTP 404 and the app to display some variant of "Currently no data
available".

Specific failure data:

weather-Message: getting 
http://api.yr.no/weatherapi/locationforecastlts/1.2/?lat=[...]
(wrapper-1.0:16241): weather-WARNING **: Download of astronomical data failed 
with HTTP Status Code 404, Reason phrase: Not Found

Note the "1.2" in the URL; swapping in "1.3" successfully retrieves
data.

It looks like the problem would probably be fixed by applying the
following commit from Feb 2017, just prior to the release of xfce-
weather-plugin 0.8.9. At least one user has reported that 0.8.9
continues to work.

https://git.xfce.org/panel-plugins/xfce4-weather-
plugin/commit/?id=e3f53da02a6c4918c0436a8a459f81f1c9eac131

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xfce4-weather-plugin 0.8.6-1
ProcVersionSignature: Ubuntu 4.4.0-77.98-generic 4.4.59
Uname: Linux 4.4.0-77-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat May 20 18:44:15 2017
InstallationDate: Installed on 2015-02-28 (812 days ago)
InstallationMedia: Xubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: xfce4-weather-plugin
UpgradeStatus: Upgraded to xenial on 2016-07-03 (321 days ago)

** Affects: xfce4-weather-plugin (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692270

Title:
  Unable to download weather data (URL changed)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-plugin/+bug/1692270/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to