[0.0.4] unity-tweak-tool crashed with AssertionError in __init__()

Bug #1156201 reported by dino99
44
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Unity Tweak Tool
Fix Released
Medium
J Phani Mahesh
unity-tweak-tool (Ubuntu)
Fix Released
Medium
J Phani Mahesh

Bug Description

cant start on RR i386 + gnome3-team ppa

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: unity-tweak-tool 0.0.4-0~91~raring1 [origin: LP-PPA-freyja-dev-unity-tweak-tool-daily]
ProcVersionSignature: Ubuntu 3.8.0-13.22-generic 3.8.3
Uname: Linux 3.8.0-13-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.9.1-0ubuntu1
Architecture: i386
CrashCounter: 1
CrashDB: {"impl": "launchpad", "project": "unity-tweak-tool"}
Date: Sun Mar 17 13:42:01 2013
ExecutablePath: /usr/bin/unity-tweak-tool
InterpreterPath: /usr/bin/python3.3
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: Debian-exim adm admin audio avahi avahi-autoipd backup bin cdrom clamav colord couchdb crontab daemon debian-tor dialout dip disk fax floppy fuse games gnats haldaemon i2c irc klog kmem libuuid lightdm list lp lpadmin mail man messagebus mlocate mysql mythtv netdev news ntp operator pcscd plugdev polkituser powerdev proxy pulse pulse-access root rtkit sambashare saned sasl scanner shadow src ssh ssl-cert staff sudo sys syslog tape tty users utempter utmp uucp vboxusers video voice whoopsie winbindd_priv www-data

Revision history for this message
dino99 (9d9) wrote :
information type: Private → Public
summary: - unity-tweak-tool crashed with AssertionError in __init__()
+ [0.0.4] unity-tweak-tool crashed with AssertionError in __init__()
Revision history for this message
J Phani Mahesh (phanimahesh) wrote :

Reason : Your system is missing overlay-scrollbars package.

Fix will be released in a couple of days.

Changed in unity-tweak-tool:
status: New → Fix Committed
assignee: nobody → J Phani Mahesh (phanimahesh)
Revision history for this message
dino99 (9d9) wrote :

Confirm that installing the "overlay" packages resolve that issue; but still does not like to be forced to install them

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

well, as Phani said a fix should arrive in a couple of days, so soon enough this ain't gonna be an issue.

Revision history for this message
Tobias Bannert (toba) wrote :

Same problem in Ubuntu 12.10 with 0.0.4-0~92~quantal1.
Crashes when starting unity-tweak-tool.

affects: unity-tweak-tool → ubuntu
Changed in ubuntu:
status: Fix Committed → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in unity-tweak-tool (Ubuntu):
status: New → Confirmed
affects: ubuntu → unity-tweak-tool (Ubuntu)
Changed in unity-tweak-tool (Ubuntu):
status: New → Confirmed
tags: removed: need-duplicate-check
Changed in unity-tweak-tool (Ubuntu):
importance: Undecided → Medium
Barneedhar (barneedhar)
no longer affects: unity-tweak-tool
Changed in unity-tweak-tool:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Jalakas (jalakas) wrote :

I believe it can be fixed by depending on overlay-scrollbars.

I also had to install unity-lens-files. I don't see why the program needs it but it must be also in dependency list to start program properly.

Revision history for this message
J Phani Mahesh (phanimahesh) wrote : Re: [Bug 1156201] Re: [0.0.4] unity-tweak-tool crashed with AssertionError in __init__()

We wish to keep the dependency list to an absolute minimum. We have
fallen back to dynamic checking at startup to prevent issues.

Also please report a bug if missing unity-lens-files caused utt to not
start/crash
--
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

Barneedhar (barneedhar)
Changed in unity-tweak-tool (Ubuntu):
status: Confirmed → Fix Committed
Changed in unity-tweak-tool:
status: Triaged → Fix Committed
assignee: nobody → J Phani Mahesh (phanimahesh)
Revision history for this message
Tobias Bannert (toba) wrote :

Where is the fix?

Revision history for this message
J Phani Mahesh (phanimahesh) wrote :

The fix is not yet "released", but can be found in our github
repository.
(bzr branch on launchpad would also have updated by now. )

The fixed version can be accessed at 'master' branch from
https://github.com/freyja-dev/unity-tweak-tool

Revision history for this message
Barneedhar (barneedhar) wrote :

@Tobias, the package with the bug fix is currently building in PPA.

Revision history for this message
Tobias Bannert (toba) wrote :

0.0.4-0~97~quantal1 from ppa same problem

Revision history for this message
Tobias Bannert (toba) wrote :

The version from github (also the ppa version?) depends python3-distutils-extra (>= 2.10) but is not installed in 12.10 by using the ppa version.
Only python3-distutils-extra 2.37-1 is available in Ubuntu 12.10.

Revision history for this message
J Phani Mahesh (phanimahesh) wrote :

Apologies for the confusion.

If you look at https://code.launchpad.net/~freyja-dev/unity-tweak-tool/trunk you will find that the fix to this bug was in rev 98. I should have verified that launchpad used the most latest code.

I have triggered a rebuild and the PPA should get updated in a few hours. Please verify if 0.0.4-0~99~quantal1 fixes the issue. You can also run it by downloading the source and running 'python3 develtest.py' from the top directory.

Revision history for this message
J Phani Mahesh (phanimahesh) wrote :

And regarding the dependency issue, python3-distutils-extra is only a build-dependency. That package is not required to run the application and hence will not be installed normally. It is only required to generate a deb file from the source or to install directly from the source.

You should explicitly ask apt-get with build-dep to pull in the build dependencies.

Revision history for this message
Tobias Bannert (toba) wrote :

Thanks for your work. With 0.0.4-0~99~quantal1 it starts.

Now it's time for testing und using.

Changed in unity-tweak-tool:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-tweak-tool - 0.0.4

---------------
unity-tweak-tool (0.0.4) raring; urgency=medium

  [ Barneedhar Vigneshwar ]
  * New upstream release (LP: #1165141)
  * data/windowmanager.ui
    - Fix missing signal in the auto-raise switch (LP: #1160782)
  * UnityTweakTool/section/sphagetti/theme.py
    - Fix KeyError when fetching window themes (LP: #1146122)
  * UnityTweakTool/section/unity.py
    - Fix show-desktop switch (LP: #1156266)
    - Fix 'switch between workspace' switch (LP: #1156236)

  [ J Phani Mahesh ]
  * debian/source_unity-tweak-tool.py
    - Update Apport hook to file crash bugs against the package by default
  * setup.py
    - Install translated pot files
  * unity-tweak-tool
    - Fixed and renamed -r parameter to --reset-unity in the wrapper
  * UnityTweakTool/__init__.py
    - Prevent multiple instances using dbus
  * UnityTweakTool/elements/radio.py
    - Fix AssertionError in __init__() (LP: #1156201)
    - Fix AssertionError due to missing overlay-scrollbar package (LP: #1156337)
  * UnityTweakTool/section/sphagetti/compiz.py
    - Fix resetting transparency values (LP: #1099067)
  * UnityTweakTool/section/sphagetti/unity.py
    - Fix AttributeError in refresh(): 'NoneType' object has no attribute 'get_boolean' (LP: #1155331)

  [Sam Hewitt]
  * debian/control
    - Added dependency on python3-cairo (LP: #1156789)
  * UnityTweakTool/section/sphagetti/unity.py
    - Fixed unresponsive 'battery-life' switch (LP: #1129262)
 -- Barneedhar Vigneshwar <email address hidden> Fri, 05 Apr 2013 23:05:49 +0530

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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