Weather applet doesn't start

Bug #790222 reported by Nodens
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Weather Indicator
Won't Fix
High
Unassigned

Bug Description

After upgrading today to newest build from Update Manager the applet doesn't start. I tried uninstalling and reinstalling the applet but the problem remains. The applet doesn't load in any way.

Revision history for this message
Nodens (lordnodens) wrote :

This is the message that appears if I try to run the applet from terminal instead of Applications Menu:

Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1882, in <module>
    wi = indicator_weather()
  File "/usr/bin/indicator-weather", line 892, in __init__
    self.settings.prepare_settings_store()
  File "/usr/bin/indicator-weather", line 99, in prepare_settings_store
    server = self.db._server
AttributeError: 'NoneType' object has no attribute '_server'

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Could you please specify indicator applet version and attach logs from ~/.cache/indicator-weather.log?

Changed in weather-indicator:
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Note, that in 11.05.31 version the indicator has migrated to dconf settings storage, so this issue is not actual - please, update to the latest version in Weather Indicator Team PPA (ppa:weather-indicator-team/ppa)

Changed in weather-indicator:
milestone: none → backlog
Revision history for this message
Nodens (lordnodens) wrote :

OK, from Weather Indicator Team PPA the version I get is 11.05.30~natty1.
I tried uninstalling and reinstalling (from terminal always) but I have the same problem.
Here is the log you asked.

Revision history for this message
Vadim Rutkovsky (roignac) wrote : Re: [Bug 790222] Re: Weather applet doesn't start

The bug is fixed in the following version - 11.05.31

Revision history for this message
Nodens (lordnodens) wrote :

Is this version available for download?

Revision history for this message
sparko (sparko-dutos) wrote :

Hello i have the latest version (11.05.31) but get the same issue
When i try to lauch the indicator, i get :

GLib-GIO-ERROR **: Settings schema 'apps.indicators.weather' is not installed

aborting...

Here is the log

Revision history for this message
Andre (ajx) wrote :

11.05.31~lucid1 from PPA doesn't start. Starting from the Terminal gives back:

Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1905, in <module>
    wi = indicator_weather()
  File "/usr/bin/indicator-weather", line 914, in __init__
    self.rate = self.settings.get_value("refresh_rate")
  File "/usr/bin/indicator-weather", line 130, in get_value
    if setting_name in self.db.list_keys():
AttributeError: 'NoneType' object has no attribute 'list_keys'

Revision history for this message
rakudave (rakudave) wrote :

first I also got "GLib-GIO-ERROR **: Settings schema 'apps.indicators.weather' is not installed"
I was able to fix this by issuing:
sudo apt-get install libglib2.0-bin (-> make it a dependency?)
... and reinstalling indicator-weather.
But then, I get the same error as Andre does :-(

Changed in weather-indicator:
milestone: backlog → 11.05.31
Revision history for this message
Andre (ajx) wrote :

Cannot install the new version 11.05.31~lucid2 because dependency for libglib2.0-bin cannot be resolved. :-(

Version 11.05.30 was running fine with icons in the forecast, etc. The update to 11.05.31 the day after broke my indicator-weather on Lucid as described in comment #8.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

My apologies to Lucid users - dconf is not available in the repos yet, so we have to revert to Cloudy 7 version, which still uses desktopcouch. I will update the PPA soon, please downgrade the package

Maverick users, the "'NoneType' object has no attribute 'list_keys'" issue is tracked in bug #791615

Changed in weather-indicator:
status: Incomplete → Won't Fix
Revision history for this message
Andre (ajx) wrote :

Thanks, I downgraded to version 11.05.30~lucid2 which is able to start.

Revision history for this message
Nodens (lordnodens) wrote :

Problem solved in 11.05.31 'Cloudy 8'

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.