Description of problem: bash-4.2$ gnome-tweak-tool Gtk-Message: Failed to load module "pk-gtk-module" INFO : Caching gsettings: <gtweak.gsettings._GSettingsSchema: org.gnome.shell> WARNING : Error listing extensions Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_shell_extensions.py", line 146, in __init__ for extension in shell.list_extensions().values(): File "/usr/lib/python2.7/site-packages/gtweak/gshellwrapper.py", line 54, in list_extensions out = self._proxy.execute_js('const ExtensionSystem = imports.ui.extensionSystem; ExtensionSystem.extensionMeta') File "/usr/lib/python2.7/site-packages/gtweak/gshellwrapper.py", line 35, in execute_js result, output = self._proxy.Eval('(s)', js) File "/usr/lib/python2.7/site-packages/gi/overrides/Gio.py", line 136, in __call__ arg_variant = GLib.Variant(signature, tuple(args)) File "/usr/lib/python2.7/site-packages/gi/overrides/GLib.py", line 181, in __new__ (v, rest_format, _) = creator._create(format_string, [value]) File "/usr/lib/python2.7/site-packages/gi/overrides/GLib.py", line 85, in _create return self._create_tuple(format, args) File "/usr/lib/python2.7/site-packages/gi/overrides/GLib.py", line 100, in _create_tuple builder.init(variant_type_from_string('r')) AttributeError: 'VariantBuilder' object has no attribute 'init' INFO : Caching gsettings: <gtweak.gsettings._GSettingsSchema: org.gnome.desktop.interface> Traceback (most recent call last): File "/usr/bin/gnome-tweak-tool", line 84, in <module> MainWindow() File "/usr/bin/gnome-tweak-tool", line 47, in __init__ model) File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 40, in __init__ self._model.load_tweaks() File "/usr/lib/python2.7/site-packages/gtweak/tweakmodel.py", line 103, in load_tweaks mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0) File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_font.py", line 28, in <module> GSettingsRangeTweak("org.gnome.desktop.interface", "text-scaling-factor", adjustment_step=0.1, size_group=sg), File "/usr/lib/python2.7/site-packages/gtweak/widgets.py", line 94, in __init__ _min, _max = self.settings.get_range(key_name)[1] File "/usr/lib/python2.7/site-packages/gi/types.py", line 44, in function return info.invoke(*args) NotImplementedError: structure type 'GVariant' is not supported yet Version-Release number of selected component (if applicable): gnome-tweak-tool-3.0.5-1.fc16.noarch How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Seems to be a problem triggered in pygobject2 -- any idea?
confirmed here. seems to be present on other distros too: https://bugs.mageia.org/show_bug.cgi?id=2127 https://bugs.launchpad.net/ubuntu/+source/gnome-tweak-tool/+bug/807120 https://bugzilla.novell.com/show_bug.cgi?id=705438
Interesting, Mageia actually has a fix for it already, but the bug report is rather terse (which component was the fix introduced in?). Time to learn their build process...
This is the fix: http://ftp.belnet.be/mirror/mageia/distrib/cauldron/SRPMS/core/release/gobject-introspection-1.29.16-1.mga2.src.rpm * Fri Jul 15 2011 wally <wally> 1.29.0-3.mga2 + Revision: 124387 - follow Ubuntu and roll back to gir/glib-2.0 as of before upstream commit 6d30588c1 (Later commits have a GVariant which current pygobject does not deal with. This is fixed in the invoke-rewrite branch of pygobject, so until this lands we need the older annotations) Looks like we need to either fix gobject-introspection to use older annotations, or update pygobject to the invoke-rewrite branch. Any preference?
I understood about half of that. So...you pick. =) I just want it to work ;)
pygobject3 has been released upstream, and the Fedora review has just been completed. pygobject2 on Rawhide has had its introspection support disabled, since that is now provided by pygobject3; packages depending on introspection would need to be updated to depend on pygobject3 on F-16 and above. Any idea how many other apps are affected, in addition to gnome-tweak-tool? It's going to be a mess to track down -- gnome-tweak-tool, for instance, depends on pygobject2 via gnome-shell.
Downgrading gobject-introspection to 0.10.8-1.fc16.x86_64.rpm seems to be a work around. At least gnome-tweak-tools runs and seems to work. Gene
After updating today, I also had to downgrade pygobject2 to 2.28.6-1.fc16 to keep gnome-tweak-tool runnable. Gene
Now that pygobject3 is in testing for f16, reassigning this back to gnome-tweak-tool
*** Bug 728946 has been marked as a duplicate of this bug. ***
*** Bug 731247 has been marked as a duplicate of this bug. ***
gnome-tweak-tool-3.1.0-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/gnome-tweak-tool-3.1.0-1.fc16
Package gnome-tweak-tool-3.1.0-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gnome-tweak-tool-3.1.0-1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/gnome-tweak-tool-3.1.0-1.fc16 then log in and leave karma (feedback).
-- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
salim: aha..."pygobject3 has been released upstream, and the Fedora review has just been completed. pygobject2 on Rawhide has had its introspection support disabled, since that is now provided by pygobject3; packages depending on introspection would need to be updated to depend on pygobject3 on F-16 and above." sounds like it's the root issue for https://bugzilla.redhat.com/show_bug.cgi?id=732855 , yes?
Confirmed fixed. Output: [poo@poo ~]$ gnome-tweak-tool Gtk-Message: Failed to load module "pk-gtk-module" (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x1be3750. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x204bc40. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x204bd10. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x205d7b0. Allocation is 1x17, but minimum required size is 135x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x1be3880. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x204beb0. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x2176030. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x1be39b0. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x21761d0. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x21762a0. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x21593d0. Allocation is 1x17, but minimum required size is 75x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x1be3ae0. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x2176440. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x2176510. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x21ee2b0. Allocation is 1x17, but minimum required size is 75x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x1be3290. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x1e376b0. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x1fe8830. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x1ff0eb0. Allocation is 1x17, but minimum required size is 200x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x1be33c0. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x1fe89d0. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x1fe8aa0. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x20464b0. Allocation is 1x17, but minimum required size is 200x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x1be34f0. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x1fe8c40. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x1fe8d10. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x204e9c0. Allocation is 1x17, but minimum required size is 200x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x1be3620. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x1fe8eb0. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x204b830. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x205d040. Allocation is 1x17, but minimum required size is 50x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x1be3160. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x1e37440. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x1e37510. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x1fe4090. Allocation is 1x17, but minimum required size is 120x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x1be3c10. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x21f7920. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x21f79f0. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x21fc1c0. Allocation is 1x17, but minimum required size is 143x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x1be3d40. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x21f7b90. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x21f7c60. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x20f80a0. Allocation is 1x17, but minimum required size is 46x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x1be3e70. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x21f7e00. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x21f7ed0. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x20f85f0. Allocation is 1x17, but minimum required size is 143x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x20b7020. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x20fa140. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x20fa210. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x20bd450. Allocation is 1x17, but minimum required size is 104x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkFontButton's child GtkBox 0x20a1390. Allocation is 1x21, but minimum required size is 98x21. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkFontButton's child GtkBox 0x20a1530. Allocation is 1x21, but minimum required size is 69x21. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkFontButton's child GtkBox 0x20a16d0. Allocation is 1x21, but minimum required size is 112x21. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkFontButton's child GtkBox 0x2300100. Allocation is 1x21, but minimum required size is 98x21. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x20b7610. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x23002a0. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x2300370. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x218c0c0. Allocation is 1x17, but minimum required size is 57x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkToggleButton 0x20b7740. Allocation is 1x21, but minimum required size is 25x27. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkBox 0x2300510. Allocation is 1x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkBox's child GtkArrow 0x23005e0. Allocation is 15x9, but minimum required size is 15x15. (gnome-tweak-tool:6026): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x2329060. Allocation is 1x17, but minimum required size is 70x27. (Running)
gnome-tweak-tool-3.1.0-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.