error setting schema

Bug #791615 reported by darkween
60
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Weather Indicator
Fix Released
High
Vadim Rutkovsky

Bug Description

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

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

Could you please provide a bit more info on this:
1) APT log - just post the output of 'sudo less /var/log/apt/term.log | grep -n5 "indicator-weather"'
2) DConf schema list - the output of 'gsettings list-recursively apps.indicators.weather'

Changed in weather-indicator:
status: New → Incomplete
Revision history for this message
darkween (darkween) wrote :

dkwn@dkwn:~$ sudo less /var/log/apt/term.log | grep -n5 "indicator-weather"
[sudo] password for dkwn:
34-ldconfig deferred processing now taking place
(Leyendo la base de datos ... 00%
36-300364 ficheros y directorios instalados actualmente.)
37-Preparando para reemplazar emesene 2.11.4+dfsg-1~webupd8~maverick (usando .../emesene_2.11.5-0+emesene2~maverick1_all.deb) ...
38-Desempaquetando el reemplazo de emesene ...
39:Preparando para reemplazar indicator-weather 11.05.30~maverick1 (usando .../indicator-weather_11.05.31~maverick1_all.deb) ...
40:Desempaquetando el reemplazo de indicator-weather ...
41-Procesando disparadores para desktop-file-utils ...
42-Procesando disparadores para python-gmenu ...
43-Rebuilding /usr/share/applications/desktop.es_AR.UTF8.cache...
44-Procesando disparadores para man-db ...
45-Procesando disparadores para menu ...
46-Procesando disparadores para hicolor-icon-theme ...
47-Procesando disparadores para python-support ...
48-Configurando emesene (2.11.5-0+emesene2~maverick1) ...
49:Configurando indicator-weather (11.05.31~maverick1) ...
50-Installing indicator-specific icons...
51-Installing indicator dconf schema...
52:/var/lib/dpkg/info/indicator-weather.postinst: 17: glib-compile-schemas: not found
53-Fixing incomplete weather icons...
54-Configurando chromium-browser-inspector (13.0.782.0~svn20110601r87409-0ubuntu1~ucd1~maverick) ...
55-Configurando chromium-codecs-ffmpeg (13.0.782.0~svn20110601r87409-0ubuntu1~ucd1~maverick) ...
56-Configurando chromium-browser (13.0.782.0~svn20110601r87409-0ubuntu1~ucd1~maverick) ...
57-Configurando chromium-browser-l10n (13.0.782.0~svn20110601r87409-0ubuntu1~ucd1~maverick) ...

----

dkwn@dkwn:~$ gsettings list-recursively apps.indicators.weather
Unknown command 'list-recursively'
Uso:
  gsettings [OPCIÓN...] COMMAND

Opciones de ayuda:
  -h, --help Mostrar opciones de ayuda

Commands:
  help Show this information
  get Get the value of a key
  set Set the value of a key
  reset Reset the value of a key
  monitor Monitor a key for changes
  writable Check if a key is writable

Use 'gsettings COMMAND --help' to get help for individual commands.

---

dkwn@dkwn:~$ indicator-weather

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

aborting...
Abortado

if i try to execute with sudo, i have the same result:

dkwn@dkwn:~$ sudo indicator-weather
GLib-GIO-ERROR **: Settings schema 'apps.indicators.weather' is not installed
aborting...

Revision history for this message
darkween (darkween) wrote :

He appeared today an update on the update manager of weather indicator,
when i execute:

dkwn@dkwn:~$ sudo indicator-weather
[sudo] password for dkwn:
Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1907, in <module>
    wi = indicator_weather()
  File "/usr/bin/indicator-weather", line 912, 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: 'Settings' object has no attribute 'list_keys'

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

Could you please make sure you have the latest version of 'libglib2.0-bin' (2.26.0-0ubuntu1) - then please reinstall the indicator-weather package.

Another way is installing the schema manually - execute 'sudo glib-compile-schemas /usr/share/glib-2.0/schemas'

Revision history for this message
LordPhoenix (lorphoenix) wrote :

I've got same problem and my version of libglib is :

apt-cache policy libglib2.0-bin
libglib2.0-bin:
  Installé : 2.26.1-0ubuntu1
  Candidat : 2.26.1-0ubuntu1
 Table de version :
 *** 2.26.1-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ maverick-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2.26.0-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ maverick/main i386 Packages

i've tried command you give but get same result when running indicator-weather

Revision history for this message
darkween (darkween) wrote :

dkwn@dkwn:~$ apt-cache policy libglib2.0-bin
libglib2.0-bin:
  Instalados: 2.26.1-0ubuntu1
  Candidato: 2.26.1-0ubuntu1
  Tabla de versión:
 *** 2.26.1-0ubuntu1 0
        500 http://debian.informatik.uni-erlangen.de/ubuntu/ maverick-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2.26.0-0ubuntu1 0
        500 http://debian.informatik.uni-erlangen.de/ubuntu/ maverick/main i386 Packages

Revision history for this message
Red Five (nelson-butterworth) wrote :

apt-cache policy libglib2.0-bin
libglib2.0-bin:
  Installed: 2.26.1-0ubuntu1
  Candidate: 2.26.1-0ubuntu1
  Version table:
 *** 2.26.1-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.26.0-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages

Revision history for this message
Red Five (nelson-butterworth) wrote :

sudo less /var/log/apt/term.log | grep -n5 "indicator-weather"
29-Unpacking replacement python-ubuntuone-client ...
30-Preparing to replace screenlets-pack-all 0.0.2~bzr952+20110530212803~maverick1 (using .../screenlets-pack-all_0.0.2~bzr953+20110601060540~maverick1_all.deb) ...
31-Unpacking replacement screenlets-pack-all ...
32-Preparing to replace super-boot-manager 0.6.6-1 (using .../super-boot-manager_0.6.91_all.deb) ...
33-Unpacking replacement super-boot-manager ...
34:Preparing to replace indicator-weather 11.05.31~maverick1 (using .../indicator-weather_11.05.31~maverick3_all.deb) ...
35:Unpacking replacement indicator-weather ...
36-Processing triggers for man-db ...
37-Processing triggers for gconf2 ...
38-Processing triggers for hicolor-icon-theme ...
39-Processing triggers for python-support ...
40-Processing triggers for bamfdaemon ...
--
49-Setting up ubuntuone-client (1.7+r996-36~maverick1) ...
50-Setting up libsyncdaemon-1.0-1 (1.7+r996-36~maverick1) ...
51-Setting up ubuntuone-client-gnome (1.7+r996-36~maverick1) ...
52-Setting up screenlets-pack-all (0.0.2~bzr953+20110601060540~maverick1) ...
53-Setting up super-boot-manager (0.6.91) ...
54:Setting up indicator-weather (11.05.31~maverick3) ...
55-Installing indicator-specific icons...
56-Installing indicator dconf schema...
57-Fixing incomplete weather icons...
58-Processing triggers for python-support ...
59-Processing triggers for libc-bin ...

Execution of gsettings list-recursively results in the same response as darkween. Manual installation of the schema and execution of indicator-weather failed with the same error: AttributeError: 'Settings' object has no attribute 'list_keys'

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

Could any of the affected users attach your ~/.cache/indicator-weather.log?

Revision history for this message
Ron S (ronshere-people) wrote :

Log file as requested .

Revision history for this message
LordPhoenix (lorphoenix) wrote :

Here is log file. The output is always the same :

arnaud@Jupiter:~$ indicator-weather
Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1927, in <module>
    wi = indicator_weather()
  File "/usr/bin/indicator-weather", line 932, 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: 'Settings' object has no attribute 'list_keys'

Changed in weather-indicator:
status: Confirmed → Fix Committed
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

The bug is fixed in 11.05.31~maverick6 version

Changed in weather-indicator:
status: Fix Committed → Fix Released
assignee: nobody → Vadim Rutkovsky (roignac)
Revision history for this message
Larry Tate (cathect) wrote :

After the update that was just released, I am able to summon indicator-weather applet. However, when performing set up the program hangs during the "Review Choices" after selecting a location. Clicking "apply" has no effect. The only choice is to hit "back" or "cancel" to escape the dialogue box.

sudo indicator-weather
[sudo] password for strange_cathect:
Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1858, in on_apply
    wi.settings.save_location_details(eval(str(location_details)), str(location_code))
  File "/usr/bin/indicator-weather", line 237, in save_location_details
    if self.LOCATIONS_KEY in self.db.list_keys():
AttributeError: 'Settings' object has no attribute 'list_keys'

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.