12.10 gnome-tweak-tool crashed with KeyError in schema_get_summary(): 'computer-icon-visible'

Bug #1014633 reported by philinux
168
This bug affects 31 people
Affects Status Importance Assigned to Milestone
gnome-tweak-tool (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Quantal Apport crash detection

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: gnome-tweak-tool 3.4.0.1-2
ProcVersionSignature: Ubuntu 3.4.0-5.11-generic 3.4.0
Uname: Linux 3.4.0-5-generic x86_64
ApportVersion: 2.2.3-0ubuntu4
Architecture: amd64
Date: Mon Jun 18 13:41:00 2012
ExecutablePath: /usr/bin/gnome-tweak-tool
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120609.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: python /usr/bin/gnome-tweak-tool
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/gnome-tweak-tool']
SourcePackage: gnome-tweak-tool
Title: gnome-tweak-tool crashed with KeyError in schema_get_summary(): 'computer-icon-visible'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
philinux (philcb) wrote :
tags: removed: need-duplicate-check
philinux (philcb)
visibility: private → public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-tweak-tool (Ubuntu):
status: New → Confirmed
Revision history for this message
Rik Mills (rikmills) wrote :

Error in the attached traceback also seen here.

Revision history for this message
philinux (philcb) wrote :

As a workaround comment out line #48 in /usr/lib/python2.7/dist-packages/gtweak/tweaks/tweak_nautilus.py.

Credit to http://ubuntuforums.org/showpost.php?p=12042117&postcount=2

Revision history for this message
Doug McMahon (mc3man) wrote :

nautilus (1:3.5.2-0ubuntu3) quantal; urgency=low
.............
* debian/patches/05_desktop_menu_export.patch:
- synced on the new upstream version, those options got dropped:
hide toolbar, statusbar, extra panes, tree panel, computer location.

Revision history for this message
C Schilder (cschilder) wrote :

philinux (philcb), thank you for the tip. The workaround works for me.

Revision history for this message
Linuxexperte (andrea-koeth) wrote :

hi people,

I can confirm the same thing here in Ubuntu 12.10 with Gnome3.5!! And throguh looking at the Synaptic, I found out that all packages referring to Gnome and Gnome-Shell are already up to version 3.5 except of gnome-tweak-tool.

So I would suggest, that gnome-tweak-tool should be upgraded to version 3.5 because of dependcy-problems.

the properties of gnome-tweak-tool say this:

needs python2.7
needs python (>=2.7.1-0ubuntu2)
needs python (>2.8)
needs gsettings-desktop-schemas (>=3.3.2)
needs gnome-shell-common (>=3.4)
needs python-gi (>=3.2.1)
needs gir1.2-gtk-3.0
needs gir1.2-gconf-2.0

Then I checked in my Synaptic and found out, that these package-versions are installed by default:

python2.7 (packe-version 2.7.3-0ubuntu5)
python2.7.1 no package available
python2.8 no package available
python3 (package-version 3.2.3-0ubuntu1)
gsettings-desktop-schemas (package-version 3.5.2-0ubuntu1)
gnome-shell-common (package-version 3.4.1-5ubuntu1)
python-gi (package-version 3.3.2-1)
gir1.2-gtk-3.0 (package-version 3.5.4-0ubuntu1)
gir1.2-gconf-2.0 (package-version 3.2.5-0ubuntu2)

This shows up, that there are dependency-problems!! for example at the package gnome-shell-common. This package is still version 3.4 although the other packages of gnome-shell are already version 3.5!!
As next, the package python-gi is still version 3.3.2-1, although other packages of GNOME are already version 3.5!!
As firther thing, the package gir1.2-gconf-2.0 is still version 3.2.5 and needs to be version 3.5!!

So the following packages need to be upgraded:
gnome-shell-common
gnome-tweak-tool (installed version 3.4 but needs to be version 3.5!!)
python 3 (upgrade from version 3.2.3 to version 3.5!!)
python-gi (version 3.3.2-1 to version 3.5!!!)
gir1.2-gconf-2.0 (version 3.2.5 to version 3.5!!!)

Then I found, that no packages for python 2.7.1 and python 2.8 are available. But these are needed as dependency for gnome-tweak-tool as the output states abouve.

So this needs to be fixed, that gnome-tweak-tool can come back to live!!!

Greetings
Linuxexperte

Revision history for this message
Linuxexperte (andrea-koeth) wrote :

hi people,

I checked this trick from here:

https://bugs.launchpad.net/ubuntu/+source/gnome-tweak-tool/+bug/1015896

and can confirm, that it works for me. The gnome-tweak-tool came back to live and these mentioned options work in Gnome3.5!! They do not seem to be deprecated!!

Greetings
Linuxexperte

Revision history for this message
dino99 (9d9) wrote :

gnome-tweak-tool 3.5.0 from ricotz/testing ppa also works, but still python errors that need to be fixed.

tags: added: i386
Revision history for this message
Suhaimi Ghazali (serdotlinecho) wrote :

http://paste.ubuntu.com/1094316/

also didn't work:

TWEAKS = (
    DesktopIconTweak(group_name=TWEAK_GROUP_DESKTOP),
# GSettingsSwitchTweak("org.gnome.nautilus.desktop", "computer-icon-visible", schema_filename="org.gnome.nautilus.gschema.xml",group_name=TWEAK_GROUP_DESKTOP),

ricotz/testing ppa works for me.

Revision history for this message
mfauzirahman (mfauzirahman) wrote :

My problem solved after reinstall gnome tweak toll via synaptic

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-tweak-tool - 3.5.0~git20120706.7a333992-0ubuntu1

---------------
gnome-tweak-tool (3.5.0~git20120706.7a333992-0ubuntu1) quantal; urgency=low

  * New git snapshot (LP: #1014633)
 -- Rico Tzschichholz <email address hidden> Thu, 19 Jul 2012 23:08:37 +0200

Changed in gnome-tweak-tool (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.