Crash when loading invalid or unreadable location details (indicator-weather crashed with AttributeError in on_city_changed(): 'indicator_weather' object has no attribute 'current_location')

Bug #1193990 reported by keldo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Weather Indicator
High
Joshua Tasker

Bug Description

Crash when updated to the 6/22 release from the previous one.

Deleted all location data (probably of the old-format) and it no longer crashes.

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: indicator-weather 13.05.29 [origin: LP-PPA-weather-indicator-team]
Uname: Linux 3.9.5-pf x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
CrashCounter: 1
CrashDB: indicator_weather
Date: Sun Jun 23 23:58:28 2013
ExecutablePath: /usr/bin/indicator-weather
InstallationDate: Installed on 2013-04-26 (59 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/indicator-weather
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/indicator-weather']
SourcePackage: indicator-weather
ThirdParty: True
Title: indicator-weather crashed with AttributeError in on_city_changed(): 'indicator_weather' object has no attribute 'current_location'
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/indicator-weather", line 1849, in on_city_changed
     self.current_location.prepare_time_zone(
 AttributeError: 'indicator_weather' object has no attribute 'current_location'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
keldo (keldo) wrote :
Revision history for this message
Joshua Tasker (jtasker) wrote :

This is fixed in the next unstable build; if Weather Indicator can't read places or location details, it resets them to defaults.

summary: - indicator-weather crashed with AttributeError in on_city_changed():
- 'indicator_weather' object has no attribute 'current_location'
+ Crash when loading invalid or unreadable location details (indicator-
+ weather crashed with AttributeError in on_city_changed():
+ 'indicator_weather' object has no attribute 'current_location')
Changed in weather-indicator:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Joshua Tasker (jtasker)
milestone: none → 13.7.2
Joshua Tasker (jtasker)
Changed in weather-indicator:
status: Triaged → Fix Committed
information type: Private → Public
Joshua Tasker (jtasker)
Changed in weather-indicator:
milestone: 13.7.2 → 13.8.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers