weather applet: disabled OK button in configuration

Bug #1091965 reported by Aaz
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
indicator-weather (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Running indicator-weather from console:

/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject

In context menu there are two elements — Settings and Exit (localized). Settings dialog does not allow to apply settings (OK button is disabled).

When selecting location there is another bug (probably connected with current):

AttributeError: Location instance has no attribute 'location_code'
Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1892, in on_apply
    (location_code, location_details) = self.location.export_location_details()
  File "/usr/bin/indicator-weather", line 405, in export_location_details
    return (self.location_code, self.location_details)

System info:
1) Ubuntu 12.10
2) 12.07.30-0ubuntu1
3) Expect to be able to change settings.
4) Unable to change settings.

This bug prevents usage of the weather applet.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-weather (Ubuntu):
status: New → Confirmed
Revision history for this message
Aaz (aaz2009) wrote :

in log there are errors

 [MainThread] 2012-12-26 10:31:18,701 - ERROR - Location: Yahoo woeid return error. Full response:
 {'@lang': 'en-US', 'ResultSet': {'@lang': 'en-US', 'Error': '0', 'Locale': 'en-US', 'Found': '1', 'ErrorMessage': 'No error', '@version': '2.0', 'Quality': '40', 'Results': [{'neighborhood': '', 'house': '', 'county': 'Paris', 'street': '', 'radius': '9200', 'quality': '40', 'unit': '', 'city': 'Paris', 'countrycode': 'FR', 'woeid': '615702', 'xstreet': '', 'line4': 'France', 'line3': '', 'line2': 'Paris', 'line1': '', 'state': 'Ile-de-France', 'latitude': '48.85693', 'hash': '', 'unittype': '', 'offsetlat': '48.85693', 'statecode': '', 'postal': '', 'name': '', 'uzip': '75001', 'country': 'France', 'longitude': '2.3412', 'countycode': '75', 'offsetlon': '2.3412', 'woetype': '7'}]}}
[MainThread] 2012-12-26 10:31:18,701 - ERROR - Assistant: Page 0: City with code Париж, Île-de-France, Франция was NOT found

Revision history for this message
Marwan Tanager (marwan-tngr) wrote :

I confirm this bug, too on Ubuntu 12.10. It renders the entire application
useless, because a location can't be added initially.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.