Public bug reported:

When adding East Melbourne as a location, "Apply" buttons seemingly does
nothing; there is an AttributeError in the console output.

How to reproduce:
1. Go to Preferences, Locations, select Add.
2. Search for "East Melbourne".
3. Select "East Melbourne, Victoria, Australia", select Next.
4. Enter any name for it, select Next.
5. Select Apply.

Expected results:
East Melbourne is added as a location.

Actual results:
Nothing happens when Apply button is pressed. In the console, the following 
output is produced:

Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1882, 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'

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: indicator-weather 11.05.31-0ubuntu2.1
ProcVersionSignature: Ubuntu 3.0.0-15.24-generic-pae 3.0.13
Uname: Linux 3.0.0-15-generic-pae i686
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Mon Jan  9 13:28:51 2012
InstallationMedia: Ubuntu 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: indicator-weather
UpgradeStatus: Upgraded to oneiric on 2011-10-16 (84 days ago)

** Affects: indicator-weather (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/913610

Title:
  Adding East Melbourne gives AttributeError

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-weather/+bug/913610/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to