Can't Apply Settings During "Setup Weather" wizard

Bug #1171282 reported by Lonnie Lee Best
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
indicator-weather (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm unable to complete the Setup wizard for indicator-weather. At the very end of the setup, clicking the "Apply" button does nothing; it does not save my settings and it does not close the dialog, yet the dialog is not locked up (I can hit the back or cancel buttons effectively, but I cannot proceed past the apply button; it just remains highlighted and the dialog doesn't go away unless click cancel).

This is a severe bug (especially for first-time-users who wouldn't already have a configuration file generated by a prior version's installation and setup).

Reproduce:
1) sudo apt-get install indicator-weather
2) start indicator-weather
3) Click indicator and then "Setup Weather"
4) Click location's tab
5) Click "add" button
6) search for 75845
7) Select "Groveton, Texas" from drop down
8) Make label "Groveton", and click next button
9) Click "Apply" button
---
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
DistroRelease: Ubuntu 13.04
InstallationDate: Installed on 2013-04-21 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130421)
MarkForUpload: True
Package: indicator-weather 12.07.30-0ubuntu5
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Tags: raring
Uname: Linux 3.8.0-19-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom debian-tor dip lpadmin plugdev sambashare sudo

description: updated
tags: added: raring
Revision history for this message
Lonnie Lee Best (launchpad-startport) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Lonnie Lee Best (launchpad-startport) wrote : IndicatorLog.txt

apport information

Revision history for this message
Lonnie Lee Best (launchpad-startport) wrote : Settings.txt

apport information

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
Pablo Piaggio (papibe) wrote :

Same problem, here. Location: Dallas, Texas.

It occurs either if you choose Yahoo or Google as provider.

When run from the command line there are two concerning messages. This one when the program is started:

/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

And this one when the 'Apply' button is pressed:

Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1883, 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)
AttributeError: Location instance has no attribute 'location_code'

The last one looks like the reason it is not possible to set a location.

Kind Regards.

Revision history for this message
Pablo Piaggio (papibe) wrote :

Sorry, I didn't add my detail information:

$ lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise

$ uname -a
Linux vaughan 3.2.0-41-generic #66-Ubuntu SMP Thu Apr 25 03:27:11 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

$ apt-cache policy indicator-weather

indicator-weather:
  Installed: 11.11.28-0ubuntu1.3
  Candidate: 11.11.28-0ubuntu1.3
  Version table:
 *** 11.11.28-0ubuntu1.3 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     11.11.28-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

I think this indicator-weather bug is a duplicate of bug #1170851

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.