Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weather@mockturtl: Weather details fail to load (expired API?) #2178

Closed
Ranthe24 opened this issue Jan 4, 2019 · 22 comments
Closed

weather@mockturtl: Weather details fail to load (expired API?) #2178

Ranthe24 opened this issue Jan 4, 2019 · 22 comments

Comments

@Ranthe24
Copy link

Ranthe24 commented Jan 4, 2019

 * Applet version/Build date 1.1.40 2018-12-02 09:15 UTC
 * Cinnamon version 4.0.8
 * Distribution - Mint 19.1
 * Graphics hardware *and* driver used NVIDIA Corporation GF119 [GeForce GT 610], 
 * Snippet or attachment of ~/.cinnamon/glass.log (can't locate)
 * Snippet or attachment of ~/.xsession-errors
(cinnamon:1528): Cjs-WARNING **: 17:47:35.358: JS ERROR: TypeError: json is null
anonymous/refreshWeather/<@/home/<user>/.local/share/cinnamon/applets/weather@mockturtl/applet.js:430:11
soupQueue@/home/<user>/.local/share/cinnamon/applets/weather@mockturtl/applet.js:412:7

Notify author of applet
@mockturtl

Issue
Weather details fail to load in applet from Friday 4 Jan 2019. Applet was working fine prior to this date.

Steps to reproduce

  1. Add applet to Cinnamon taskbar
  2. Right click, select "Configure"
  3. Enter valid WOEID, close Configuration window.

Expected behaviour
Weather details for location associated with WOEID are displayed in the taskbar and in the popup window.

Actual behaviour
No weather details are displayed, "refresh" icons are displayed in the taskbar and in the popup window.

Other information
This may be caused by the expiration of the Yahoo! weather API -

"Important EOL Notice: As of Thursday, Jan. 3, 2019, the weather.yahooapis.com and query.yahooapis.com for Yahoo Weather API will be retired.
To continue using our free Yahoo Weather APIs, use https://weather-ydn-yql.media.yahoo.com/forecastrss. Contact yahoo-weather-ydn-api@oath.com for credentials to onboard to this free Yahoo Weather API service."
https://developer.yahoo.com/weather/?guccounter=1

@sakralbar
Copy link
Contributor

+1
Cinnamon version 4.0.8
Distribution - Mint 19.1

@MrNanook
Copy link

MrNanook commented Jan 4, 2019

Looks like API problem indeed.

Cinnamon 4.0.8
Manjaro 18.0.2

@educanorama
Copy link

+1. Same problem.
Cinnamon 3.8.9 openSUSE Tumbleweed snapshot 20181224

@thegreatyellow67
Copy link

thegreatyellow67 commented Jan 4, 2019

Also for me same problem.
Cinnamon 4.0.8 Linux Mint 19.1.

@jaszhix
Copy link
Contributor

jaszhix commented Jan 4, 2019

Please click the thumbs up icon to express interest in a fix, and don't +1 spam. Thanks.

@Sadi58
Copy link

Sadi58 commented Jan 5, 2019

A good alternative (systray indicator instead of cinnamon applet) until this is fixed:
https://gitlab.com/bitseater/meteo

@mattst
Copy link

mattst commented Jan 5, 2019

+1 on Linux Mint 17 Qiana, Cinnamon 64-bit 2.2.16

Updating the applet in Settings --> Applets fails with:

An error occurred while trying to access the server.  Please try again in a little while.
Details:  HTTP Error 404: Not Found

@jaszhix jaszhix mentioned this issue Jan 5, 2019
@nick-s-b
Copy link

nick-s-b commented Jan 6, 2019

Looks like project WOEID has been discontinued:

Important EOL Notice: As of Thursday, Jan. 3, 2019, the weather.yahooapis.com and query.yahooapis.com for Yahoo Weather API will be retired.
To continue using our free Yahoo Weather APIs, use https://weather-ydn-yql.media.yahoo.com/forecastrss. Contact yahoo-weather-ydn-api@oath.com for credentials to onboard to this free Yahoo Weather API service.
https://developer.yahoo.com/weather/

After Verizon acquired Yahoo!, this has been happening to a lot of their open APIs.

I've been looking for an alternative and there seems to be a few of them but they all require that a user create an account with them and get an API key. There's also an option to scrape websites for temp/weather forecast data.

Some alternatives that we could use to replace Yahoo:

Anyway, it looks like the new widget will have to be a bit more complicated. :)

@autumnlansing
Copy link

I've used, and am using again while this issue is still open, a cli program called ansiweather, which utilizes OpenWeatherMap. They were able to get an API key specifically for the program so that individual users don't need to register for a key themselves. OpenWeatherMap allows FOSS programs to do this:

fcambus/ansiweather#82

I can get a 7 day forecast with it.

@Phil995511
Copy link

From https://developer.yahoo.com/weather/

"Important EOL Notice: As of Thursday, Jan. 3, 2019, the weather.yahooapis.com and query.yahooapis.com for Yahoo Weather API will be retired.

To continue using our free Yahoo Weather APIs, use https://weather-ydn-yql.media.yahoo.com/forecastrss. Contact yahoo-weather-ydn-api@oath.com for credentials to onboard to this free Yahoo Weather API service. "

@joaoherberto
Copy link

joaoherberto commented Jan 7, 2019

I don't mind https://openweathermap.org, I already have an API key from them... :-)
I don't believe it's that big of a deal breaker to get one...

@ghost
Copy link

ghost commented Jan 7, 2019

The Weather Desklet uses BBC Wather by default and seems it works fine, and it requires no API key...

@EdPhere
Copy link

EdPhere commented Jan 8, 2019

Weather Desklet produces Err 02 No such file or directory: msgfmt . How to resolve?

@Phil995511
Copy link

Phil995511 commented Jan 16, 2019

Excuse me, do you think this app fix a day or is it better for us to change it ? it's been 2 weeks since it does not work anymore ...

@sakralbar
Copy link
Contributor

I use my-weather-indicator while this applet does not work.

@Sadi58
Copy link

Sadi58 commented Jan 16, 2019

@sakralbar Thanks for the tip. It stopped working at some stage and I forgot all about it. I now see it works very well.
https://launchpad.net/~atareao/+archive/ubuntu/atareao/

@mockturtl
Copy link
Contributor

I won't have time to fix this in the foreseeable future. I'd be happy to see it adopted by the Mint team, or whoever is interested in maintenance.

I'm using the bbcwx@oak-wood.co.uk desklet (with OpenWeatherMap) as an alternative.

@Gr3q
Copy link
Contributor

Gr3q commented Jan 19, 2019

I started to work on the applet to use OpenWeatherMap in a way that it could be extended to support more APIs (or BBC) later on.

I'm really busy too, but i will try to get it working this weekend, maybe get a pull request up next week. (Actually I don't really know if I'm allowed to do that but I will work on it nevertheless)

Edit: OpenWeatherMap is working, I will do the forecasts tomorrow.
Regressions so far: Wind Chill is not in this API, Location is not a button anymore (could refer to a static address later, API does not include it).

@Phil995511
Copy link

Phil995511 commented Jan 19, 2019

I started to work on the applet to use OpenWeatherMap in a way that it could be extended to support more APIs (or BBC) later on.

I'm really busy too, but i will try to get it working this weekend, maybe get a pull request up next week. (Actually I don't really know if I'm allowed to do that but I will work on it nevertheless)

Excellent news !! Mint puts you in its distribution, it is a duty on your part to honor the trust they place in you. In 7-8 years it is the 2nd major breakdown. Already last time you took too much time to solve problems. I hope that if a problem should happen again in the future you will react more quickly. If you need it, looking for someone to take over the project and take care as if it were her baby :) Excellent year 2019 to all of you, happiness and well being to you.

@mockturtl
Copy link
Contributor

Mint puts you in its distribution, it is a duty on your part to honor the trust they place in you. In 7-8 years it is the 2nd major breakdown. Already last time you took too much time to solve problems.

For most of the project's history, I kept a disclaimer: "I can't guarantee I will respond to these issues promptly, or ever. Feel free to @mention me in the issue comments if too much time has passed."

Spices developers are volunteers, and it's a non-transferable skill. Try not to take their time for granted.

@benchrest
Copy link

mockturtl I have used this weather app for a long time. I appreciate the effort you have put in it over the years. Rich

@Sadi58
Copy link

Sadi58 commented Jan 20, 2019

@Gr3q it will be very much appreciated if you can let us know here when this applet has been updated as a result of your ongoing work (BTW, probably you already know, "my-weather-indicator" also uses OpenWeatherMap and perhaps it might be helpful to this end).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests