Cannot add location when name has accent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Weather Indicator |
New
|
Undecided
|
Unassigned |
Bug Description
I've installed packages from this PPA, from 13.10 into 14.04.
If I add a location without accent in the name, like "Washigton", it works fine.
If I try accented location names, like most of cities here in Brazil, by example "São Carlos", the Add New Location dialog never finish to add the location (the searching spin keeps looping forever and I cannot click in the "Continue" button).
This is the output at the command line:
23:34 /usr/share/
/usr/lib/
return ''.join(map(quoter, s))
Exception in thread Location:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/bin/
result, error_type = self.location.
File "/usr/bin/
self.
File "/usr/bin/
loc_id_result = pywapi.
File "/usr/lib/
url = LOCID_SEARCH_URL % quote(search_
File "/usr/lib/
return ''.join(map(quoter, s))
KeyError: u'\xe3'
I fixed it. Install ASCII transliterations of Unicode text (Python module) https:/ /apps.ubuntu. com/cat/ applications/ quantal/ python- unidecode/
For my it works ;)