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.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/747562
Title:
indicator-weather crashed with AttributeError in get_value(): Settings
instance has no attribute 'settings_design_doc'
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs