Die met.no-sunrise-Schnittstelle hat mitgeteilt, dass diese Version des Netzdienstes veraltet ist. Wenn die Erweiterung nicht an die neue Version angepasst wird, wird sie in einigen Monaten nicht mehr funktionieren. Bitte erstellen Sie eine Fehlermeldung auf https://bugzilla.xfce.org, wenn das noch niemand getan hat. I'm not sure what's really behind this. It shows up in the xfce4-weather-plugin details pop up menu. However it looks like this nice feature needs support, otherwise it had its best days. Thanks a lot for taking care about!
Thanks for the notice. According to http://api.yr.no/weatherapi/sunrise/1.1/documentation, the sunrise API version 1.0 will expire on 2016-04-04, so there will be enough time to fix this. version 1.1: 2015-11-01 - version 1.0 expires 2016-04-04 =item - bugfix: publish 0, 1, or 2 moon rise / moon sets per date. Let's see what to do about this...
weather applet is reporting Met.no sunrise API states that this version of the webservice is deprecated, and the plugin needs to be adapted to use a newer version, or it will stop working within a few months. Please file a bug on https://bugzilla.xfce.org if no one else has done so yet. looks like the api just needs to be updated. not sure on the previous method but they have the updated info at http://api.met.no/weatherapi/documentation
Created attachment 6645 Sunrise 1.1 api patch
If my understanding of the api change is correct, they've added a new field to the moon parameter (set_next): <moon phase="First quarter" rise="2011-06-07T07:29:57Z" set="2011-06-06T23:11:45Z" set_next="2011-06-07T22:56:17Z"/> This is to account for situations where there may be more than on moon set in a given 24 hour period. In reviewing the code, this shouldn't have too much of an effect. We need to: 1. Update the code to use the new sunrise api call 2. Account for the set_next variable in the code 3. Display it in the details section. The above attached is a patch that does this.
Created attachment 6648 Sunrise api 1.1 -atch Updated to include the possibility of more than one moonrise (moonrisenext) and more than one moonset (moonsetnext).
Unfortunately we only have a few days until the release of Xubuntu 16.04 LTS. If there's no new release for xfce4-weather-plugin today or tomorrow, xfce4-weather-plugin will be unusable in Xubuntu 16.04 LTS and Linux Mint 18 Xfce (which will be built on Ubuntu 16.04). On the other hand: if you would be able to do a new release today or tomorrow, I'll try my very best to convince the Xubuntu devs to include it for 16.04....
*** Bug 12507 has been marked as a duplicate of this bug. ***
*** Bug 12510 has been marked as a duplicate of this bug. ***
*** Bug 12421 has been marked as a duplicate of this bug. ***
*** Bug 12457 has been marked as a duplicate of this bug. ***
ToZ, thanks for the complete patch, this looks very good. I will apply only one small part of this patch, that is the URL change, first and then release a new version soon (probably today). This should be safe and translators do not need to update. I will apply the rest of the patch later, so translators can catch up then.
From the changelog at http://api.met.no/weatherapi/sunrise/1.1/documentation: - version 1.0 expires 2016-06-06 - bugfix: publish 0, 1, or 2 moon rise / moon sets per date. @1) It seems they have changed the expiration date (that was 2016-04-04 before). @2) ToZ, could you maybe provide sample data too (a link would be sufficient)? The schema at http://api.met.no/weatherapi/sunrise/1.1/schema does not show any of the additional xml attributes you use in the patch, though I do not doubt that it is correct. Also, the plugin will not simply stop working. The error message is a bit misleading because I copied it from the message for the weather data. The plugin will simply not show any sunrise/sunset data when the sunrise service expires.
Harald, At their documentation website, http://api.met.no/weatherapi/sunrise/1.1/documentation, in the usage section, they have 3 examples. The the xml output from the third one used to show two moon sets (see comment #4 where I copied and pasted the output). Strangely, this has changed an the output from that example no longer shows this, even though the description states that it does. I have emailed the met.no developers numerous times asking for sample output but have not received a reply.
I noticed this too. Unfortunately, the docs are often wrong or incomplete. Now I have looked at it again, they are not using the 1.1 version in that sample request. Here is the right one: http://api.met.no/weatherapi/sunrise/1.1/?lat=70;lon=19;date=2011-06-07 It gives: ... <moon phase="First quarter" rise="2011-06-07T07:29:57Z" set="2011-06-06T23:11:45Z" set_next="2011-06-07T22:56:17Z"/> ... Maybe there is a better way to present this in the plugin than how we do it now, e.g. only show future moonrise/-sets and/or reorder the times. The plugin seems to work fine with the URL change alone, so there is still time to consider this.
Yes. That is what I based the patch on. I do agree that the api change only will be fine for now - everything will continue to work. We just won't see information about 2 moonrise, moonsets a day, which is a very rare occurence anyways.
I have released 0.8.7 which contains the URL change. This bug will stay open until I find more time to spend on investigating and deciding what to do with the rest of your patch.
I received a reply from met.no. As follows: ------------------------ Hello! We're sorry for the delayed answer and for the unclarity about the change, we have had some internal discussions. It seems that the xsd is invalid after the upgrade, we will fix this in the next update. Regarding the changes, you have found the example showing how this looks like in the new version. This time span shows both a rise_next and a set_next http://api.met.no/weatherapi/sunrise/1.1/?lat=70;lon=19;from=2011-06-07;to=2011-06-18 If you compare this with the 1.0-version of sunrise, the old version actually skipped one set (or rise), which clearly is wrong. Unfortunately we didn't get the message from the developer about introducing a new attribute name. I hope this answer your question, if not, feel free to ask again! Mvh. Siri Spjelkavik ----------------------- Viewing the information at that link shows the two new variables (rise_next and set_next). My patch accounts for those two new variables.
It appears to be resolved, so admin you can close this. No longer an issue, last updates resolved it. Thanks.
*** Bug 12651 has been marked as a duplicate of this bug. ***
It seems to have been fixed, as it no longer shows up as of 2 months ago. So moderator you can close this thread, and for now consider it resolved. If it shows up in the next release of Ubuntu then a new thread and fix will be needed but since Mint 18 is not out yet, I guess were all set. As for Ubuntu I have not chosen that Distro, So I am still using Mint and Ultimate Linux. Latest updates seemed to have resolved it.
*** Bug 12536 has been marked as a duplicate of this bug. ***
*** Bug 12573 has been marked as a duplicate of this bug. ***
*** Bug 12665 has been marked as a duplicate of this bug. ***
*** Bug 12804 has been marked as a duplicate of this bug. ***
*** Bug 12795 has been marked as a duplicate of this bug. ***
Met.no sunrise API states that this version of the webservice is deprecated, and the plugin needs to be adapted to use a newer version, or it will stop working within a few months. Please file a bug on https://bugzilla.xfce.org if no one else has done so yet. In case this is different to the earlier report.
I have not had any problems with it, so I am assuming this problem is resolved. I haven't moved (I use Linux Mint) up to 18 *Sarah* yet. I am sure you would have heard by now if it has problems or not.
Closing resolved fixed.
*** Bug 13372 has been marked as a duplicate of this bug. ***
*** Bug 13401 has been marked as a duplicate of this bug. ***
What version was this fixed in? The "Weather Update" from xfce4-panel 4.12.0 still shows the error. "Met.no LocationforecastLTS API states that this version of the webservice is deprecated, and the plugin needs to be adapted to use a newer version, or it will stop working within a few months. Please file a bug on https://bugzilla.xfce.org if no one else has done so yet. Astronomical data: Last: 2016-11-21 03:33:19 Next: 2017-03-09 12:58:22 Current failed attempts: 10905" Thanks
It was fixed in version 0.8.9: https://git.xfce.org/panel-plugins/xfce4-weather-plugin/commit/?id=a0fa6ea2e4c3e8e8b67ff518f5ed36ca7911e6fc Check to see if you and/or your distro are using this version.
ToZ, Thanks. I'm at Weather Plugin 0.8.6 (Xubuntu 16.04).
*** Bug 13427 has been marked as a duplicate of this bug. ***
*** Bug 13434 has been marked as a duplicate of this bug. ***
*** Bug 13524 has been marked as a duplicate of this bug. ***
( maybe this should be a new bug, if so(?), please let me know... having the same error, with xfce4-weather-plugin 0.8.9 and xfce4-panel 4.12.1 from devuan repos.. --- Downloads Weather data: Last: 2018-12-07 23:30:26 Next: 2018-12-08 00:30:26 Current failed attempts: 0 Astronomical data: Last: 2018-12-07 23:30:26 Next: 2018-12-08 23:30:26 Current failed attempts: 0 Met.no sunrise API states that this version of the webservice is deprecated, and the plugin needs to be adapted to use a newer version, or it will stop working within a few months. Please file a bug on https://bugzilla.xfce.org if no one else has done so yet. --- thanks,
The Weather app stopped working for a while, but then it started working. The error message still appears though. This is 0.8.9.
just a note : there is no such message in xfce4-weather-plugin 0.8.10 from mx linux repos.
L’API Met.no sunrise indique que cette version du service web est obsolète et le greffon doit être mis à jour pour utiliser une version plus récente, ou bien il cessera de fonctionner d’ici quelques mois. Veuillez signaler un bogue sur https://bugzilla.xfce.org si personne ne l’a encore fait.
The Met.no LocationforecastLTS API reports that this version of the web service is obsolete and that the plugin needs be adapted to use a newer version, otherwise it will stop working in a few months. Version: 0.10.0 in 2020-09-22
(In reply to Aschlla from comment #41) > The Met.no LocationforecastLTS API reports that this > version of the web service is obsolete and that the plugin needs > be adapted to use a newer version, otherwise > it will stop working in a few months. > Version: 0.10.0 > (sorry, i wrote it wrong, that was the time uh)