indicator-weather crashed with AttributeError in get_value(): Settings instance has no attribute 'settings_design_doc'

Bug #747562 reported by artemioestrella
250
This bug affects 51 people
Affects Status Importance Assigned to Milestone
Weather Indicator
Fix Released
High
Vadim Rutkovsky
indicator-weather (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: indicator-weather

indicator-weather crashed

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: indicator-weather 11.03.27+repack-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
NonfreeKernelModules: nvidia wl
Architecture: amd64
Date: Fri Apr 1 11:18:31 2011
ExecutablePath: /usr/bin/indicator-weather
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/indicator-weather
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/indicator-weather']
SourcePackage: indicator-weather
Title: indicator-weather crashed with AttributeError in get_value(): Settings instance has no attribute 'settings_design_doc'
UpgradeStatus: Upgraded to natty on 2011-03-25 (7 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
artemioestrella (artemioestrella) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Possible regression detected

This crash has the same stack trace characteristics as bug #739209. However, the latter was already fixed in an earlier package version than the one in this report. This might be a regression or because the problem is in a dependent package.

tags: removed: need-duplicate-check
tags: added: regression-retracer
Revision history for this message
Fabien Tassin (fta) wrote :

Confirmed here (crash on startup just after a reboot), and by the number of duplicates.
Also, unmarking private.

Changed in indicator-weather (Ubuntu):
status: New → Confirmed
visibility: private → public
Changed in weather-indicator:
importance: Undecided → High
milestone: none → foggy
status: New → Confirmed
Changed in weather-indicator:
milestone: foggy → cloudy-4
Changed in weather-indicator:
assignee: nobody → Vadim Rutkovsky (roignac)
status: Confirmed → In Progress
Revision history for this message
Felix Lawrence (felix-lawrence) wrote :

If this crash normally happens on startup, perhaps indicator-weather is starting up before CouchDB is ready? If so, we could check whether CouchDB is running in indicator_weather.__init__, before the call to self.settings.prepare_settings_store() - would the test
None != CouchDatabase("weatherindicator", create = True)
do this? I know very little about CouchDB.

If it couldn't find CouchDB then we could check again every 5 seconds to see if it had started up. After 30 seconds, we should show an error icon and maybe just check every minute.

Revision history for this message
Vadim Rutkovsky (roignac) wrote : Re: [Bug 747562] Re: indicator-weather crashed with AttributeError in get_value(): Settings instance has no attribute 'settings_design_doc'

Yes, the problem is that now database variable is handled pretty losy, so it
may not be initialized via DBus. Correct behavoir would be making a loop and
wait until couchdb is initialized correctly.

Changed in weather-indicator:
status: In Progress → Fix Committed
Changed in weather-indicator:
status: Fix Committed → Fix Released
Revision history for this message
GuyR (guy-rouger) wrote :

just opening the session' classic' in Natty

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

This bug was fixed in the package indicator-weather - 11.04.10+repack-0ubuntu1

---------------
indicator-weather (11.04.10+repack-0ubuntu1) natty; urgency=low

  * New upstream bug fix release.
   - Fix for LP: #720066 "indicator-weather should re-use the
     time-format of other indicators"
   - Fix for LP: #750809 "No "Thunderstorm" icon shown in Forecast
     only empty place holder."
   - Fix for LP: #747562 "indicator-weather crashed with AttributeError
     in get_value(): Settings instance has no attribute 'settings_design_doc'"
   - Fix for LP: #743375 "indicator-weather crashed with error
     in _try_request_with_retries(): [Errno 111] Connection refused"
  * Drop python-apport from Depends to Recommends. (LP: #757568)
  * Drop patches. Included upstream.
  * debian/postinst: Link weather-few-clouds{-night}.png with
    weather-clouds{-night}.png, work-a-round for incomplete icon
    themes. Add Depends on gnome-icon-theme and xdg-utils.
 -- Andrew Starr-Bochicchio <email address hidden> Mon, 11 Apr 2011 15:08:07 -0400

Changed in indicator-weather (Ubuntu):
status: Confirmed → Fix Released
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.