-
Notifications
You must be signed in to change notification settings - Fork 147
-
Notifications
You must be signed in to change notification settings - Fork 147
simpleWeather is currently not working. #174
Comments
I am having similar issue. Response: As noted in the issue report, neither the success nor the error callbacks are called. |
Same here... |
Same here - I tweeted @fleetingftw to make sure he is aware of the issue. |
Same here. I also tweeted around an hour ago. Although based on ds00424's message, the error is potentially with Yahoo. |
how come the yahoo weather api is working fine but not with this? |
same here ! |
to fix edit jquery.simpleWeather.js |
worked .. thanks @oasif |
wow that worked. I would of never guessed this. thanks @oasif |
Thanks @oasif! |
Thank you @oasif !!! Put the fix in a fork of the library and PR'd, although I'm not sure how to recreate the minified version. |
Thank you @oasif. This fix ought to be included in v3.0.3. |
Removing |
Same issue as VitalyNikolaev here... |
@VitalyNikolaev I was having the same problem. I fixed it by adding [0] to the end of data.query.results.channel on line 38 or leaving the limit 1 in on line 26 |
|
I've now started having problems again using geolocation, it seems like using city works but not lat and long. Can anyone else test and confirm this? |
Yes, and solutions above, dosent solve the problem |
@VitalyNikolaev It's weird because it seemed to last night and when I wrote my last post...? |
The following line 26 should work with zip code: |
I (and I believe a few other people) are wanting to use the lat and long (as we can easily get it dynamically) so zip codes etc. don't work as well |
Correct, currently it's the lat/long that is causing the issue. Yahoo's API is reporting service unavailable on looking up location data using lat/long. Removing the |
@fleeting Is there an official place to check the status of that part of the api so I can figure out when the service is back up? |
@ascott23 Not that I'm aware of. Info and support from Yahoo regarding their APIs is rare. They post in their forums pretty rare and there are a few topics already open on it from other people about the issue (one, two). Their weather API went down a little while back and it took several days before it came back up with very little word from them besides on the uservoice page. |
Workarounds are always a pain but I'm going to finally look for a replacement API. Yahoo has been pretty unreliable the past six months, next to zero support/response, and generally lacks some weather data people ask for often. I've got a few I'll be checking out. |
Keep up the awesome work! |
Thanks for the update and suggested fixes! @oasif suggestion about removing that code from line 26 worked for me. |
Here is a workaround that supports lat/lng and text locations. Warning: The Weather Underground geolookup call returns a warning that it will be depreciated. This is a temporary workaround. Replace line 26 with this -
|
Thank you! Its worked for me! |
not working |
I have released an update to simpleWeather that fixes the issue. If anybody cares to test it out on their own setup that would be great. I did some testing with the demos and didn't have any issues. The cdn copy is still pending the refresh so you will need to download the file from the repo directly. Thanks to everybody who helped debug the issues and fixes. It turns out Yahoo has completely removed the |
lol very weird that I'm in the process of updating my site when you push out this fix. Tried everything in the comments above to no avail but your fix immediately sorted it with a ctrl v. (ps this is with 5 different locations all pulling in using Lat/Long) |
@fleeting - Thanks so much for the new release; I was just about to push up a patched version of the library when I noticed you published an update. It works great for my use case: use user geolocation coordinates, fallback to a specific woeid. Both work great, and I tested a few location names as well. |
Was getting a more generic location than I wanted using the query above, so modified it slightly |
I still can't get mine to work, It won't update. With all of the conversations above, its hard to tell what exactly am I supposed to do about this? Do I can the whole thing and start over by uploading the new files or what? I cant follow what you are asking us to do? |
OOPS nevermind it works now :) ThANK YOU! |
it stopped working for me again just about 20mins ago... it was working fine but now I see that it's broken even on this site. |
Same as @tk1087 . Very recently stopped working.
|
and of course now it starts working again, it just fixed itself. |
The demos are currently working for me so I would need to see some code or links to what isn't working to be of any hell. |
Also working for me - Thanks for the fix |
$.simpleWeather({ location: 'Austin, Tx', ...... WORKS Try in codepen |
We got it working….thanks.
|
Seems like international (non-us) weather is NOT working. So yours may be working, but international is not. |
Anyone else just lose it again? Getting the "THERE WAS A PROBLEM RETRIEVING THE LATEST WEATHER INFORMATION." in the codepen too. |
@andyades - Getting the same here, today. I wonder if it's just Yahoo being flaky again, or if they're changing their API yet again. |
That's great it's happening on mine too. Sent from a telephone. Lol.
|
Looks like Yahoo's weather API is down right now. Their YQL console is returning an error. https://developer.yahoo.com/yql/console/#h=select+*+from+weather.forecast+where+woeid%3D2367105 |
Yahoo's API seems to be back up and working. I'm closing this as the main issue in this thread has been fixed. Any other problems just create a new issue. |
Possible duplicate of open issue, but simpleweather sometimes errors and calls no callbacks.
jquery.simpleWeather.min.js:2 Uncaught TypeError: Cannot read property 'channel' of null
However, its not triggering the error function on the original query
Is there a way to make it call the error callback if this occurs?
The text was updated successfully, but these errors were encountered: