*** This bug is a duplicate of bug 821233 ***
https://bugs.launchpad.net/bugs/821233
** Also affects: weather-indicator
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launc
*** This bug is a duplicate of bug 821233 ***
https://bugs.launchpad.net/bugs/821233
Thank you for taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug 821233, so it is being marked as such. Please look at
Is it not going to get fixed. - i got three Ubuntu machines here and on
two of them the weather indicator has this bug.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1093769
Title:
indicator-weather
This indicator evals json data (which is potentially dangerous) and the
evaluated data has ['ResultSet']['Error'] as "0" (string value) while the code
checks for 0, a number.
>>> '0' == 0
False
So the quick and dirty fix in this case is to modify the condition at line 367
in indicator-weather t
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: indicator-weather (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1093769
T
Running from console, these errors are returned:
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