FS#26227 - dconf-editor error about schemas
Attached to Project:
Arch Linux
Opened by gymka (gymka) - Monday, 03 October 2011, 14:07 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 05 October 2011, 16:36 GMT
Opened by gymka (gymka) - Monday, 03 October 2011, 14:07 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 05 October 2011, 16:36 GMT
|
Details
Description:
on dconf-editor start got error, well error says what is wrong. it don't likes closed but not opened description tags in xml files. solution: /usr/share/glib-2.0/schemas/org.gnome.antler.gschema.xml /usr/share/glib-2.0/schemas/org.gnome.caribou.gschema.xml must have "<description>" before each "</description>". should be: <?xml version="1.0" encoding="UTF-8"?> <schemalist> <schema path="/org/gnome/antler/" id="org.gnome.antler"> <key type="s" name="keyboard-type"> <default>'touch'</default> <summary>The keyboard geometry Caribou should use</summary> <description>The keyboard geometry determines the shape and complexity of the keyboard, it could range from a 'natural' look and feel good for composing simple text, to a fullscale keyboard.</description> </key> <key type="b" name="use-system"> <default>false</default> <summary>Use System Theme</summary> <description> <description/> </key> <key type="d" name="min-alpha"> <default>0.20000000000000001</default> <summary>Minimal opacity of keyboard</summary> <description> <description/> </key> <key type="d" name="max-alpha"> <default>1.0</default> <summary>Maximal opacity of keyboard</summary> <description> <description/> </key> <key type="i" name="max-distance"> <default>100</default> <summary>Maximum distance when keyboard is hidden</summary> <description> <description/> </key> </schema> </schemalist> by default: <?xml version="1.0" encoding="UTF-8"?> <schemalist> <schema path="/org/gnome/antler/" id="org.gnome.antler"> <key type="s" name="keyboard-type"> <default>'touch'</default> <summary>The keyboard geometry Caribou should use</summary> <description>The keyboard geometry determines the shape and complexity of the keyboard, it could range from a 'natural' look and feel good for composing simple text, to a fullscale keyboard.</description> </key> <key type="b" name="use-system"> <default>false</default> <summary>Use System Theme</summary> <description/> </key> <key type="d" name="min-alpha"> <default>0.20000000000000001</default> <summary>Minimal opacity of keyboard</summary> <description/> </key> <key type="d" name="max-alpha"> <default>1.0</default> <summary>Maximal opacity of keyboard</summary> <description/> </key> <key type="i" name="max-distance"> <default>100</default> <summary>Maximum distance when keyboard is hidden</summary> <description/> </key> </schema> </schemalist> Steps to reproduce: launch dconf-editor |
This task depends upon
Closed by Ionut Biru (wonder)
Wednesday, 05 October 2011, 16:36 GMT
Reason for closing: Works for me
Wednesday, 05 October 2011, 16:36 GMT
Reason for closing: Works for me
usr/share/glib-2.0/schemas/org.gnome.antler.gschema.xml: error in 12 symbol 35: element <description> can't be in <description>. ignoring whole file
usr/share/glib-2.0/schemas/org.gnome.caribou.gschema.xml: error in 12 symbol 35: element <description> can't be in <description>. ignoring whole file
(it's translation from lithuanian, not actual message)
caribou-0.4.0-2
dconf-0.10.0-1
now reinstalled caribou and problem reappears...
deleted /usr/share/glib-2.0/schemas/org.gnome.caribou.gschema.xml installed caribou and it created bad /usr/share/glib-2.0/schemas/org.gnome.caribou.gschema.xml
2. if i remove unnecessary(that one which don't have description and <description> tag before it) <description/> everything works, i can install dconf without any error.
3. my fix is bad, i can launch dconf-editor but it does not show antler and caribou configuration lines, but if i remove unnecessary tags it shows these configuration lines