indicator-weather doesn't display an icon for some cities

Bug #703730 reported by Alan Hill
48
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Weather Indicator
Fix Released
Critical
Vadim Rutkovsky

Bug Description

The indicator runs and takes up space in the panel but doesn't display an icon for certain locations. I've set up the following cities:

Indianapolis, IN (mostly cloudy) - blank
Edinburgh, UK (partly cloudy) - shows icon
Berkeley, CA (partly cloudy) - shows icon
Indianapolis, IN (mostly cloudy) - blank
Fort Wayne, IN (cloudy) - blank
Chicago, IL (cloudy) - blank
Detroit, MI (cloudy) - blank
New York, NY (partly cloudy) - shows icon

Indianapolis was tested twice; first using the wizard on the initial run and then added manually to be sure the wizard wasn't at fault. The second instance has a different label.

Those locations without an icon are in the same geographic area (midwestern United States), for what that's worth. They also have different conditions so it doesn't seem to be a missing icon.

I'm running it from a terminal and see no errors, just a message whenever it updates.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Thanks for this full investigation of the problem!

Changed in weather-indicator:
importance: Undecided → Critical
milestone: none → 11.02.16
status: New → Confirmed
Revision history for this message
Daniel Holm (danielholm) wrote :

Västervik, SWE too. No matter what condition.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Currently, Weather indicator is being moved to a new backend (gweather + pymetar), which will make gathering of weather data more stable.
Citites, which will be avialable for selection, will be the same as in Gnome Weather applet.

Changed in weather-indicator:
assignee: nobody → Vadim Rutkovsky (roignac)
status: Confirmed → In Progress
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Now the data and an icon seem to be picked up correctly.

Call for testers - see Unstable Builds PPA in Weather Indicator Team (https://launchpad.net/~weather-indicator-team/+archive/unstable) for updated packages

Changed in weather-indicator:
status: In Progress → Fix Committed
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

 I forgot to add, that citites are stored on other format.

For now, user has to manually reset cities - start gconf-editor, navigate to "/apps/indicator-weathe" and reset "places" setting. You will have to add citites again

Weather Indicator now logs some debug data to console - please, attach the ouptu if any error occurs

Revision history for this message
Alan Hill (hundredsand100s) wrote :

Same problem, I'm afraid. Indianapolis doesn't show an icon, Edinburgh does. I attached the terminal output.

Revision history for this message
Alan Hill (hundredsand100s) wrote :

Gah. That's with version 11.01.16+bzr111~maverick1 from the unstable ppa. Sorry, it's 5am here :/

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Reopening per last comment.

Alan, could you please try this on more locations and, possibly, weather conditions - the more the better.
The problem is that NOAA doesn't have a list of available conditions, so we have to gather the list of conditions ourselves.

Changed in weather-indicator:
status: Fix Committed → Confirmed
Revision history for this message
Alan Hill (hundredsand100s) wrote :

I tried 13 more cities, trying for different weather conditions and locations (not much luck on the conditions; pretty much everywhere seems to be cloudy right now). Results are:

Indianapolis, US (now works, somehow)
Edinburgh, UK
Fort Lauderdale, US (doesn't work) Few clouds / 21.7C
Johannesburg, South Africa ("BUG: Condition name is empty!" is displayed)
Quito, Equador ("BUG: Condition name is empty!" is displayed)
Chicago, US
Detroit, US
Fort Wayne, US (doesn't work) Few clouds / -14.14C
Bangkok, Thailand ("BUG: Condition name is empty!" is displayed)
Christchurch, New Zealand
Muncie, US
Jacksonville, US
Honolulu, US
Bishkek, Krygyzstan ("BUG: Condition name is empty!" is displayed)
Moscow, Russia

Indianapolis worked this time. I'll try to isolate why and test more cities later today.

Revision history for this message
Vadim Rutkovsky (roignac) wrote : Re: [Bug 703730] Re: indicator-weather doesn't display an icon for some cities

Thanks for this massive amount of debug information, Alan!

Will continue to work on a list of weather conditions and update unstable
PPA.

Revision history for this message
Alan Hill (hundredsand100s) wrote :

I came across this page a few weeks ago; is it by chance what you're looking for? It lists possible return values for weather type, coverage and intensity along with a human-readable string NOAA uses for their NDFD feed.

http://www.weather.gov/xml/xml_fields_icon_weather_conditions.php

Revision history for this message
Alan Hill (hundredsand100s) wrote :

I tested 68 locations (I took every 100th one from the list of ICAO codes). They're all showing icons except:

DAFH - Tilrempt/Hassi R'mel - Few clouds
KEFD - Houston / Ellington - Few clouds
KOVS - BOSCOBEL AIRPORT - Few clouds

So it looks like "Few clouds" is the problem.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

It seems, that some icon sets are not displaying "weather-clouds" icon.
Alan, which icon set are you using? You may check /usr/share/icons/<your
icon set name>/status/scalable/weather-clouds.svg

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Pushed another fix for icons - added more weather conditions

Changed in weather-indicator:
status: Confirmed → Fix Committed
Changed in weather-indicator:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.