Comment 66 for bug 821233

Revision history for this message
otticek (otticek) wrote : Re: [Bug 821233] Re: indicator-weather crashed with AttributeError in export_location_details(): Location instance has no attribute 'location_code'

thank you.

2013/10/14 jamie <email address hidden>

> This is a clean install of Ubuntu 12.04.3 amd64 and this bug is not fixed.
> As suggested, I looked at the code at line 367 and it looks like this:
> Pasted directly from gedit /usr/bin/indicator-weather
> if (yahoo_woeid_result['ResultSet']['Error'] != '0') and
> (yahoo_woeid_result['ResultSet']['Results'] != None):
>
> Ubuntu reported an internal error but the crash reporting failed (twice)
> Rebooted ran the "Setup weather Location" again but it just hangs at the
> "Apply" button in the wizard and does not trigger the crash report.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1131267).
> https://bugs.launchpad.net/bugs/821233
>
> Title:
> indicator-weather crashed with AttributeError in
> export_location_details(): Location instance has no attribute
> 'location_code'
>
> Status in Raring Backports:
> Invalid
> Status in Indicator-Weather:
> Fix Released
> Status in “indicator-weather” package in Ubuntu:
> Fix Released
> Status in “indicator-weather” source package in Precise:
> Fix Released
> Status in “indicator-weather” source package in Quantal:
> Fix Released
> Status in “indicator-weather” package in Baltix:
> In Progress
>
> Bug description:
> TEST CASE:
> 1. install indicator-weather, and run it from the commandline (or if you
> have it already, the guest session works too)
> 2. click on "Setup weather"
> 3. add a location and click on the wizard until "apply"
> 4. verify the crash
>
> 5. install the new version
> 6. repeat step 2,3 and verify that it does not crash anymore
>
> On Oneiric Alpha3 on trying to set up this application at the apply
> stage
>
> ProblemType: Crash
> DistroRelease: Ubuntu 11.10
> Package: indicator-weather 11.05.31-0ubuntu2
> ProcVersionSignature: Ubuntu 3.0.0-7.9-generic 3.0.0
> Uname: Linux 3.0.0-7-generic i686
> Architecture: i386
> Date: Fri Aug 5 03:16:15 2011
> ExecutablePath: /usr/bin/indicator-weather
> InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386
> (20110802.1)
> InterpreterPath: /usr/bin/python2.7
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python /usr/bin/indicator-weather
> ProcEnviron:
> LANGUAGE=en_GB:en
> LANG=en_GB.UTF-8
> SHELL=/bin/bash
> PythonArgs: ['/usr/bin/indicator-weather']
> SourcePackage: indicator-weather
> Title: indicator-weather crashed with AttributeError in
> export_location_details(): Location instance has no attribute
> 'location_code'
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/raring-backports/+bug/821233/+subscriptions
>