indicator-weather can't add non-ascii locations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-weather (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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/
wi.
File "/usr/bin/
"yahoo id" : location_
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.
Indeed, it is, as there is also a non-ascii character in the full name "Senica, Trnavský, Slovakia".