indicator-weather crashed with UnicodeDecodeError in get_woeid_from_yahoo(): 'ascii' codec can't decode byte 0xc3 in position 121: ordinal not in range(128)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python Weather API |
Unknown
|
Unknown
|
|||
Weather Indicator |
Fix Released
|
High
|
Unassigned |
Bug Description
Can't add location "Sant Fruitós de Bages"
ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: indicator-weather 13.05.29 [origin: LP-PPA-
ProcVersionSign
Uname: Linux 3.8.0-26-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
CrashDB: indicator_weather
Date: Sat Jul 13 09:46:19 2013
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2013-07-12 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
PythonArgs: ['/usr/
SourcePackage: indicator-weather
ThirdParty: True
Title: indicator-weather crashed with UnicodeDecodeError in get_woeid_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
Changed in weather-indicator: | |
milestone: | none → 13.06.01 |
Changed in python-weather-api: | |
milestone: | none → 0.3.4 |
information type: | Private → Public |
Changed in weather-indicator: | |
status: | Fix Committed → Fix Released |
Hi, this is a one-line fix in pywapi.py (the fix is in the the pywapi SVN but not yet packaged)
Change line 906 in pywapi.py to:
json_response = handler.read()
Alternately, just apply the attached patch.