Bug#784345: lightsoff: error in xml, missing <range>-tag 'max' attribute, file /usr/share/glib-2.0/schemas/org.gnome.lightsoff.gschema.xml

jmullee jmullee at yahoo.com
Tue May 5 16:53:57 UTC 2015


Package: lightsoff
Version: 1:3.14.1-1
Severity: normal
Tags: patch

Dear Maintainer

 - dconf-editor crashes when reading/displaying settings for 'lightsoff'
 - a small change to a lightsoff xml file prevents dconf-editor from crashing
 - patch included

dconf crash: bug #778744
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1304401.html

patch:
/usr/share/glib-2.0/schemas/org.gnome.lightsoff.gschema.xml
-------8<-------
--- org.gnome.lightsoff.gschema.xml     2014-10-14 15:42:22.000000000 +0100
+++ org.gnome.lightsoff.gschema.xml     2015-05-05 17:40:33.934121496 +0100
@@ -2,7 +2,7 @@
   <schema id="org.gnome.lightsoff" path="/org/gnome/lightsoff/" gettext-
domain="lightsoff">
     <key name="level" type="i">
       <default>1</default>
-      <range min="1" />
+      <range min="1" max="10" />
       <summary>The current level</summary>
       <description>The users's most recent level.</description>
     </key>
------->8-------



-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lightsoff depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.22.0-1
ii  libc6                                        2.19-18
ii  libclutter-1.0-0                             1.20.0-1
ii  libclutter-gtk-1.0-0                         1.6.0-1
ii  libglib2.0-0                                 2.42.1-1
ii  libgtk-3-0                                   3.14.5-1

Versions of packages lightsoff recommends:
ii  yelp  3.14.1-1

lightsoff suggests no packages.

-- debconf information excluded

-- debsums errors found:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_TIME = "en_IE.utf8",
	LC_MONETARY = "en_IE.utf8",
	LC_MEASUREMENT = "en_IE.utf8",
	LC_NUMERIC = "en_IE.utf8",
	LC_PAPER = "en_IE.utf8",
	LANG = "en_GB.utf8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debsums: changed file /usr/share/glib-2.0/schemas/org.gnome.lightsoff.gschema.xml (from lightsoff package)



More information about the pkg-gnome-maintainers mailing list