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 737160 - unhelpful error message
unhelpful error message
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gsettings
2.40.x
Other Linux
: Normal minor
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2014-09-23 09:11 UTC by Christian Persch
Modified: 2014-11-20 09:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gsettingsschema: Print the string that failed to parse (1.17 KB, patch)
2014-09-23 09:13 UTC, Christian Persch
accepted-commit_now Details | Review

Description Christian Persch 2014-09-23 09:11:58 UTC
When the translated value of a key in a schema failed to parse, it prints the untranslated string instead of the translated one, so one can't see the problem.
Comment 1 Christian Persch 2014-09-23 09:13:04 UTC
Created attachment 286860 [details] [review]
gsettingsschema: Print the string that failed to parse

When parsing a translated value fails, print the actual string that
failed to parse instead of the 'domain\004string' untranslated string.

https://bugzilla.gnome.org/show_bug.cgi?id=737150
Comment 2 Matthias Clasen 2014-09-27 18:12:27 UTC
Review of attachment 286860 [details] [review]:

makes sense to me
Comment 3 Christian Persch 2014-11-20 09:41:03 UTC
Pushed to master.