Crash with OpenWeatherMaps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
my-weather-indicator |
Fix Released
|
High
|
Lorenzo Carbonell |
Bug Description
Hello!
Just experienced the following crash on startup. Ubuntu 12.04 LTS.
Only applies to OpenWeatherMaps. Yahoo Weather works fine.
Also, OpenWeatherMaps worked yesterday, but not today.
It seems like OpenWeatherMaps is sending some inappropriate JSON symbols and the program does not handle that correctly.
(I censored the exact longitude and latitude with XXXX for privacy concerns)
-------------------
Requesting timezone
OWMWeatherService Current Weather url:http://
Traceback (most recent call last):
File "my-weather-
mwi=MWI()
File "/opt/extras.
self.
File "/opt/extras.
self.work()
File "/opt/extras.
self.
File "/opt/extras.
weather = self.weatherser
File "/opt/extras.
parsed_json = json.loads(
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 403: ordinal not in range(128)
Changed in my-weather-indicator: | |
assignee: | nobody → Lorenzo Carbonell (lorenzo-carbonell) |
importance: | Undecided → High |
status: | New → Fix Released |