Indicator-weather no longer retrieves data

Bug #1030322 reported by Cavia Porcellus
124
This bug affects 28 people
Affects Status Importance Assigned to Milestone
Weather Indicator
New
Undecided
Unassigned

Bug Description

As of July 26th, 2012, indicator-weather has stopped being able to retrieve any new weather data.

The log reads multiple errors similar to this one: [Fetcher] 2012-07-27 19:47:17,908 - ERROR - Weather: error reaching url 'http://www.earthtools.org/timezone-1.1/42.331427/-83.0457538'

It looks like earthtools.org is down, probably taken over by spammers. I'm not sure if it's proper to file a bug here, since it might come back up again, but perhaps the way in which indicator-weather retrieves its data should be changed.

Thanks!

Revision history for this message
iLMagno (pmatias-87) wrote :

Same problem here:

[Fetcher] 2012-07-28 13:15:42,032 - DEBUG - Weather: current condition: 'sunny', '('weather-clear', 'weather-clear-night', False)'
[Fetcher] 2012-07-28 13:15:50,549 - ERROR - Weather: error reaching url 'http://www.earthtools.org/timezone-1.1/-34.4260273084/-58.5796165466'
[Fetcher] 2012-07-28 13:15:50,550 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2012-07-28 13:15:50,550 - DEBUG - Indicator: updateWeather: got condition 'Despejado', icon 'weather-clear'
[Fetcher] 2012-07-28 13:15:50,550 - DEBUG - Weather: day, show 'weather-clear' icon
[Fetcher] 2012-07-28 13:15:50,554 - ERROR - 'NoneType' object has no attribute 'strftime'
[Fetcher] 2012-07-28 13:15:50,554 - DEBUG - Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1397, in get_new_weather_data
    log.debug("Indicator: fill in menu with params: city='%s', temp='%s', humid='%s', wind='%s', sunrise='%s', sunset='%s', puretemp=%s" % (self.places[self.placechosen][1], weather.get_temperature_label(), weather.get_humidity_label(), weather.get_wind_label(), weather.get_sunrise_label(), weather.get_sunset_label(), weather.get_temperature()))
  File "/usr/bin/indicator-weather", line 898, in get_sunrise_label
    return "%s: %s" % (_("Sunrise"), TimeFormatter.format_time(self.__sunrise_t))
  File "/usr/lib/python2.7/dist-packages/indicator_weather/helpers.py", line 248, in format_time
    return t.strftime(TimeFormatter.format)
AttributeError: 'NoneType' object has no attribute 'strftime'

Revision history for this message
Turbo (joel-avery) wrote :

From my logs, it appears that things stopped working on one of my machines with this log entry:

2012-07-27 11:12:12,709 - ERROR - Weather: error reaching url 'http://www.earthtools.org/timezone-1.1/45.4111650793/-75.6981182098'

I'm in the Eastern Timezone.

Visiting Earthtools.org gets you a page that looks like a new domain landing page. Perhaps they missed a payment and dreamhost yanked the site.

Either way, this tool in completely broken.

Revision history for this message
Dino Conte (dermitdemdino) wrote :

The same problem here, indicator no longer works correct. Logfile as Attachment.

Revision history for this message
Rocko (rockorequin) wrote :

The my-weather-indicator (see http://ubuntuguide.net/weather-indicator-in-ubuntu-12-04-unity) is an alternative that still works. (It looks like it shows the sunrise/sunset times of the second city in local time, though.)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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