Comment 5 for bug 1094109

Revision history for this message
Dimitar Vlahovski (dvlahovski) wrote :

This bug is also affecting me on Linux 3.5.0-28-generic Ubuntu 12.10 64 bit
When running it from terminal, after clicking apply to add a location I get this traceback:
Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1892, in on_apply
    (location_code, location_details) = self.location.export_location_details()
  File "/usr/bin/indicator-weather", line 405, in export_location_details
    return (self.location_code, self.location_details)
AttributeError: Location instance has no attribute 'location_code'

Also ~/.cache/indicator-weather.log has:
[MainThread] 2013-05-06 13:17:15,219 - DEBUG - Location: Get Yahoo WOEID, url http://where.yahooapis.com/geocode?flags=J&location=New+York%2C+New+York%2C+United+States&appid=mOawLd4s
[MainThread] 2013-05-06 13:17:15,499 - ERROR - Location: error reaching url 'http://where.yahooapis.com/geocode?flags=J&location=New+York%2C+New+York%2C+United+States&appid=mOawLd4s'

After changing the weather data source to Google I get the same error.

And the OK button remains inactive despite changing settings.