unity-tweak-tool fails to load if overlay-scrollbar is not installed

Bug #1130403 reported by Philippe
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Unity Tweak Tool
Confirmed
Low
Unassigned

Bug Description

Failed to launch unity-tweak-tool because it tries to load overlay-scrollbar witch I uninstalled because I hate them.

Here is the command line output :
Gtk-Message: Failed to load module "overlay-scrollbar"
Initialising...
schema com.canonical.desktop.interface not installed
Traceback (most recent call last):
  File "/usr/bin/unity-tweak-tool", line 56, in <module>
    UnityTweakTool.init()
  File "/usr/lib/python3/dist-packages/UnityTweakTool/__init__.py", line 135, in init
    connectpages()
  File "/usr/lib/python3/dist-packages/UnityTweakTool/__init__.py", line 57, in connectpages
    from UnityTweakTool.section.system import System
  File "/usr/lib/python3/dist-packages/UnityTweakTool/section/system.py", line 166, in <module>
    'cbox_overlay_scrollbar_mode']
  File "/usr/lib/python3/dist-packages/UnityTweakTool/elements/radio.py", line 54, in __init__
    key=self.key
AssertionError

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: unity-tweak-tool 0.0.3-0~74~quantal1 [origin: LP-PPA-freyja-dev-unity-tweak-tool-daily]
ProcVersionSignature: Ubuntu 3.5.0-24.37-generic 3.5.7.4
Uname: Linux 3.5.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
CrashDB: {"impl": "launchpad", "project": "unity-tweak-tool"}
Date: Tue Feb 19 17:21:06 2013
ExecutablePath: /usr/bin/unity-tweak-tool
InstallationDate: Installed on 2012-11-06 (105 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
InterpreterPath: /usr/bin/python3.2mu
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/unity-tweak-tool
PythonArgs: ['/usr/bin/unity-tweak-tool']
SourcePackage: unity-tweak-tool
Title: unity-tweak-tool crashed with AssertionError in __init__()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo

Revision history for this message
Philippe (philippe-langevin) wrote :
summary: - unity-tweak-tool crashed with AssertionError in __init__()
+ unity-tweak-tool fails to load if overlay-scrollbar is not installed
Revision history for this message
George Karavasilev (kokoto-java) wrote :

That's not a bug. Unity tweak tool is meant to be used with Unity and unity does come with overlay scrollbars installed. If you are trying to use UTT on DE that it's not Unity, it will not function properly (at all).

Changed in unity-tweak-tool:
status: New → Invalid
Revision history for this message
Philippe (philippe-langevin) wrote :

Don't know what DE means but I have Ubuntu 12.10 installed and the only thing removed from it is the overlay-scrollbar. There are plenty of other Unity settings that could be tweaked while disabling overlay-scrollbar related configurations.

At least, your tool should not crash but instead provide a decent warning (or error) message.

This IS a bug.

information type: Private → Public
Sam Hewitt (snwh)
Changed in unity-tweak-tool:
status: Invalid → Confirmed
importance: Undecided → Low
Revision history for this message
J Phani Mahesh (phanimahesh) wrote : Re: [Bug 1130403] Re: unity-tweak-tool fails to load if overlay-scrollbar is not installed

I point out the same and agree to this bug being marked invalid.

However, this bug will receive a fix soon since some blogs seem to
advocate removal of overlay-scrollbars package if the user does not
like the overlay scrollbars, which I would like to point out is NOT the
right thing to do.

Thanks for the report.

--
J Phani Mahesh
( http://phanimahesh.wordpress.com )

You deserve something amazing and free from restriction, you
deserve free software.(free not as in free beer but as in free speech)

This mail is digitally signed with Open PGP key id 0x62E2A632

Revision history for this message
Philippe (philippe-langevin) wrote :

So what do you suggest to not use overlay scrollbars ? Because yes, all blogs I saw said to uninstall this package.

Revision history for this message
Sam Hewitt (snwh) wrote :

You can re-install them, it would solve your problem. Then you can use Unity Tweak Tool to switch them off.

Revision history for this message
George Karavasilev (kokoto-java) wrote :

Unity Tweak Tool has an option to tweak the overlay scrollbars: http://i.imgur.com/kNofQAH.png

Revision history for this message
Philippe (philippe-langevin) wrote : Re: [Bug 1130403] Re: unity-tweak-tool fails to load if overlay-scrollbar is not installed

This is indeed a VERY good solution ;-)

On Wed, Feb 20, 2013 at 11:24 AM, Sam Hewitt <email address hidden> wrote:

> *** This bug is a duplicate of bug 1098615 ***
> https://bugs.launchpad.net/bugs/1098615
>
> You can re-install them, it would solve your problem. Then you can use
> Unity Tweak Tool to switch them off.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1130403
>
> Title:
> unity-tweak-tool fails to load if overlay-scrollbar is not installed
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity-tweak-tool/+bug/1130403/+subscriptions
>

--
Philippe

Revision history for this message
George Karavasilev (kokoto-java) wrote :

Well, there you have it - no need to uninstall the package - just use UTT ;p

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.