After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 663695 - gnome-tweak-tool barfs up exceptions when parsing /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.xml
gnome-tweak-tool barfs up exceptions when parsing /usr/share/glib-2.0/schemas...
Status: RESOLVED FIXED
Product: gnome-tweak-tool
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
: 664361 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-11-09 13:56 UTC by Alex Bennée
Modified: 2011-11-19 02:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to be a little more graceful with bad input. (1.63 KB, patch)
2011-11-09 13:56 UTC, Alex Bennée
none Details | Review

Description Alex Bennée 2011-11-09 13:56:07 UTC
Created attachment 201063 [details] [review]
Patch to be a little more graceful with bad input.

This is potentially a bug with the schema itself in which case please feel free to re-assign. Otherwise the following patch at least reduces the exception to something a little more useful.


./gnome-tweak-tool 
warning: schema /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.xml missing summary text:
<key name="saved-im-presence" type="i">
      <default>1</default>
      <summary/>
    </key>
warning: schema /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.xml missing summary text:
<key name="saved-session-presence" type="i">
      <default>0</default>
      <summary/>
    </key>
Comment 1 John Stowers 2011-11-09 21:57:03 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.

Thanks for the patch, we should be robust in any case. I'm not sure if summary is required or not

http://developer.gnome.org/gio/2.30/GSettings.html
Comment 2 John Stowers 2011-11-19 02:17:19 UTC
*** Bug 664361 has been marked as a duplicate of this bug. ***