*** This bug is a duplicate of bug 821233 ***
    https://bugs.launchpad.net/bugs/821233

/usr/bin/indicator-weather line 367:  if
(yahoo_woeid_result['ResultSet']['Error'] != 0) and
(yahoo_woeid_result['ResultSet']['Results'] != None):

...replace ['Error'] != 0 with ['Error'] != '0' so it reads :  if
(yahoo_woeid_result['ResultSet']['Error'] != '0') and
(yahoo_woeid_result['ResultSet']['Results'] != None):

This fixed it for me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1087986

Title:
  indicator-weather crashed with AttributeError in
  export_location_details(): Location instance has no attribute
  'location_code'

To manage notifications about this bug go to:
https://bugs.launchpad.net/weather-indicator/+bug/1087986/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to