Closed bbrendon closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
bump
Having the same issue with SAME# 026125
That usually mean that the SAMEID can not be used, try a different one
There really isn't another ID for my area. A few weeks ago there was an alert and it pulled the data fine.
...and apparently there is an issue for this upstream. https://github.com/zebpalmer/WeatherAlerts/issues/12
Really? It works when there are alerts? Don't hold your breath, the upstream Lib looks abandoned
Yes. It’s been working okay other than the log message. The alert summary gets cut off after about three sentences. I’ve been trying to decide if I should use this or dark sky. Darksky has a problem where it duplicates the same alert sometimes.
That's interesting... What sameid are you using?
I'm also having the same issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm still seeing this
Here is how i fixed mine...
last_event = nws.alerts[0]
To this:
if nws.alerts:
last_event = nws.alerts[0]
The error is because there are no alerts available, and we are ASSUMING there is something in the dictionary.