← Back to team overview

weather-indicator-team team mailing list archive

[Bug 1187389] [NEW] indicator-weather crashed with AttributeError in prepare_location_for_yahoo(): 'module' object has no attribute 'get_woeid_from_yahoo'

 

You have been subscribed to a public bug by Mattijs Riekerk (mattijs-riekerk):

1. open terminal
2. start indicator-weather
3. click 'Set Up Weather'

In the terminal this error appears:
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `PreferencesDialog' can't be set after construction
  Gtk.Window.__init__(self, type=type, **kwds)

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/indicator-weather", line 2446, in next_page
    if self.location.prepare_location(self.place_selected):
  File "/usr/bin/indicator-weather", line 327, in prepare_location
    self.prepare_location_for_yahoo(geonames_details)
  File "/usr/bin/indicator-weather", line 390, in prepare_location_for_yahoo
    woeid_result = pywapi.get_woeid_from_yahoo(displayed_city_name)
AttributeError: 'module' object has no attribute 'get_woeid_from_yahoo'

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/indicator-weather", line 2500, in on_apply
    (location_code, location_details) = self.location.export_location_details()
  File "/usr/bin/indicator-weather", line 488, in export_location_details
    return (self.location_code, self.location_details)
AttributeError: Location instance has no attribute 'location_code'

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: indicator-weather 13.05.27 [origin: LP-PPA-weather-indicator-team]
ProcVersionSignature: Ubuntu 3.2.0-45.70-generic-pae 3.2.44
Uname: Linux 3.2.0-45-generic-pae i686
ApportVersion: 2.0.1-0ubuntu17.2
Architecture: i386
CrashCounter: 1
CrashDB: indicator_weather
Date: Tue Jun  4 15:13:02 2013
ExecutablePath: /usr/bin/indicator-weather
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/indicator-weather
PythonArgs: ['/usr/bin/indicator-weather']
SourcePackage: indicator-weather
ThirdParty: True
Title: indicator-weather crashed with AttributeError in prepare_location_for_yahoo(): 'module' object has no attribute 'get_woeid_from_yahoo'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

** Affects: weather-indicator
     Importance: Undecided
         Status: New


** Tags: apport-crash i386 need-duplicate-check precise running-unity third-party-packages
-- 
indicator-weather crashed with AttributeError in prepare_location_for_yahoo(): 'module' object has no attribute 'get_woeid_from_yahoo'
https://bugs.launchpad.net/bugs/1187389
You received this bug notification because you are a member of Weather Indicator Team, which is subscribed to the bug report.