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 571839 - gconf Type mismatch errors need to give more information
gconf Type mismatch errors need to give more information
Status: RESOLVED WONTFIX
Product: GConf
Classification: Deprecated
Component: gconf
2.24.x
Other All
: Normal minor
: ---
Assigned To: GConf Maintainers
GConf Maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2009-02-15 15:15 UTC by Dave Gilbert
Modified: 2018-08-17 13:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Dave Gilbert 2009-02-15 15:15:32 UTC
Where gconf is going to give a 'Type mismatch' error it should state what gconf item it is trying to parse so you can tell what broke.

In my particular case gconf_value_list_to_primitive_list_destructive was giving a

Type mismatch: Expected list, got string

in an app but it's not obvious which gconf value is broken.

Other information:
the callers to gconf_value_list_to_primitive_list_destructive mostly seem to have a key which they selected the data from; I'm not sure whether the right thing here is to pass that key down so it can get added to the error, or if some mechanism for mangling the GError as it gets passed back up is better.
Comment 1 André Klapper 2018-08-17 13:55:43 UTC
GConf has been deprecated since 2011.

GConf is not under active development anymore. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gconf/commits/master

dconf and gsettings are its successors. See https://developer.gnome.org/gio/stable/ch34.html and https://developer.gnome.org/GSettings/ for porting info.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent + supported version of dconf/gsettings. Thanks!