[Bug 925382] Re: gsettings fails on setting all keys whose values are contained in []
Launchpad Bug Tracker
925382 at bugs.launchpad.net
Thu Feb 2 18:45:31 UTC 2012
This bug was fixed in the package glib2.0 - 2.31.14-0ubuntu1
---------------
glib2.0 (2.31.14-0ubuntu1) precise; urgency=low
* New upstream version:
GResource:
- GLib now includes a commandline utility, gresource, to explore
resources in ELF files
- The resource compiler can now optionally strip ignorable
whitespace from XML resources
- The resource compiler can now generate build dependencies
- The resource compiler will now autoselect output formats
GApplication:
- The menu markup parser API has been dropped, the menu XML support
lives in GTK+ now
GValueArray has been deprecated
* debian/libglib2.0-0.symbols:
- new version update
* debian/libglib2.0-bin.install:
- list the new gresource command and its manpage
* debian/control.in:
- Breaks on gtk << 3.3.12, glib and gtk needs to be updated together
due to the gmenu parser changes
- Build-Depends on libelf-dev for the gresources tools, thanks ricotz
* debian/docs:
- dropped, no need to install ChangeLog and NEWS from the past century
* debian/libglib2.0-bin.install:
- ship the glib-compile-resources manpage, thanks ricotz
* debian/patches/git_gsettings_lists_set.patch:
- git patch, fix "gsettings set ..." command line issues (lp: #925382)
-- Sebastien Bacher <seb128 at ubuntu.com> Thu, 02 Feb 2012 19:24:45 +0100
** Changed in: glib2.0 (Ubuntu)
Status: Fix Committed => Fix Released
--
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 setting all keys whose values are contained in []
Status in The "G" Library - GLib:
Fix Released
Status in “glib2.0” package in Ubuntu:
Fix Released
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/glib/+bug/925382/+subscriptions
More information about the foundations-bugs
mailing list