Public bug reported:

If you try to add the Trosa, Södermanland, Sweden location, the final
"Apply" button doesn't make anything happen.

There is a traceback on stdout:

Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1647, in on_apply
    wi.settings.save_location_details(eval(str(location_details)), 
str(location_code))
  File "/usr/bin/indicator-weather", line 193, in save_location_details
    "yahoo id" : location_details['yahoo id'],
KeyError: 'yahoo id'

(This is independent of using Google of Yahoo! as a data source, so I'm
guessing it fails while looking is up in "our database", whatever that
means.).

Some testing indicated that the problem is that the location has a non-
ascii character in it. It probably fails to look it up because of using
the wrong encoding or something.

** Affects: indicator-weather (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  indicator-weather can't add non-ascii locations

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

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

Reply via email to