[Bug 925382] Re: gsettings fails on all values that are contained in []
Doug McMahon
925382 at bugs.launchpad.net
Thu Feb 2 10:30:11 UTC 2012
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/925382
Title:
gsettings fails on all values that are contained in []
Status in “glib2.0” package in Ubuntu:
New
Bug description:
Any attempt to use use gsettings to set a value that are [] fails
Test case example
use gsettings get to show values for com.canonical.Unity.Panel systray-whitelist
Try to reset using the same 'as' format, fails on error
Ex.
~$ gsettings get com.canonical.Unity.Panel systray-whitelist
['JavaEmbeddedFrame', 'Wine', 'scp-dbus-service', 'Update-notifier']
doug at doug-XPS-M1330:~$ gsettings set com.canonical.Unity.Panel systray-whitelist "['JavaEmbeddedFrame', 'Wine', 'scp-dbus-service']"
GLib-CRITICAL **: g_variant_type_is_maybe: assertion
`g_variant_type_check (type)' failed
GLib-CRITICAL **: g_variant_type_is_array: assertion
`g_variant_type_check (type)' failed
GLib-CRITICAL **: g_variant_type_dup_string: assertion
`g_variant_type_check (type)' failed
GLib-CRITICAL **: g_variant_type_equal: assertion `g_variant_type_check (type1)' failed
0-49:can not parse as value of type `(null)'
The same will happen for any key that uses same type, []
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libglib2.0-bin 2.31.12-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-12.20-generic-pae 3.2.2
Uname: Linux 3.2.0-12-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 1.91-0ubuntu1
Architecture: i386
Date: Thu Feb 2 05:17:30 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120128)
SourcePackage: glib2.0
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/925382/+subscriptions
More information about the foundations-bugs
mailing list