indicator-weather crashed with AttributeError in prepare_location_for_yahoo(): 'module' object has no attribute 'get_woeid_from_yahoo'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Weather Indicator |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
1. open terminal
2. start indicator-weather
3. click 'Set Up Weather'
In the terminal this error appears:
/usr/lib/
Gtk.Window.
4. open Locations tab
5. click 'Add'
The same error appears
6. search for a location (Amsterdam)
Now this error appears in the terminal and the attached crash report is shown:
Traceback (most recent call last):
File "/usr/bin/
if self.location.
File "/usr/bin/
self.
File "/usr/bin/
woeid_result = pywapi.
AttributeError: 'module' object has no attribute 'get_woeid_
7. name the location
8. click apply
A new crash report is shown (bug #1187322) and the following error in the terminal:
Traceback (most recent call last):
File "/usr/bin/
(location_code, location_details) = self.location.
File "/usr/bin/
return (self.location_
AttributeError: Location instance has no attribute 'location_code'
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: indicator-weather 13.05.27 [origin: LP-PPA-
ProcVersionSign
Uname: Linux 3.2.0-45-
ApportVersion: 2.0.1-0ubuntu17.2
Architecture: i386
CrashCounter: 1
CrashDB: indicator_weather
Date: Tue Jun 4 15:13:02 2013
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
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 AttributeError in prepare_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
I tried changing to the Weather.com sourche before step 4 because the report complains about Yahoo, but with no change in the result.