unity-tweak-tool crashed with TypeError in on_colorbutton_resize_outline_color_set(): color_to_hash() got an unexpected keyword argument 'aplha'

Bug #1166884 reported by pop
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Unity Tweak Tool
Fix Released
Undecided
Unassigned
unity-tweak-tool (Ubuntu)
Fix Released
Low
Barneedhar
Raring
Fix Released
Low
Andrew Starr-Bochicchio

Bug Description

SRU Justification:

[Impact]

 * A simple typo leads to this crasher

[Test Case]

 1) With version 0.0.4 from raring installed, attempt to change window resize outline color. (Window Manager>Additional>Resizing) This will result in this crash.
 2) Install 0.0.4ubuntu0.1 from raring-proposed and verify that this does not occur.

[Regression Potential]

 * The fix is trivial. It is essentially s/aplha/alpha/ There is very little chance of regression.

[Other Info]

 As this is a native package, the patches are applied directly. The fix is taken from this upstream commit:

https://github.com/freyja-dev/unity-tweak-tool/commit/de7546c210afcbe3585ff58f7925ed1a527f22ec

------

Trying to change windows resize outline color

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: unity-tweak-tool 0.0.4
ProcVersionSignature: Ubuntu 3.8.0-17.27-generic 3.8.6
Uname: Linux 3.8.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Tue Apr 9 10:12:37 2013
ExecutablePath: /usr/bin/unity-tweak-tool
InstallationDate: Installed on 2013-03-30 (10 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130328)
InterpreterPath: /usr/bin/python3.3
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/unity-tweak-tool
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/unity-tweak-tool']
SourcePackage: unity-tweak-tool
Title: unity-tweak-tool crashed with TypeError in on_colorbutton_resize_outline_color_set(): color_to_hash() got an unexpected keyword argument 'aplha'
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/UnityTweakTool/section/sphagetti/compiz.py", line 785, in on_colorbutton_resize_outline_color_set
     colorhash = gsettings.color_to_hash(self.ui['colorbutton_resize_outline'].get_color(),aplha=1)
 TypeError: color_to_hash() got an unexpected keyword argument 'aplha'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: sudo

Revision history for this message
pop (morr303) wrote :
pop (morr303)
information type: Private → Private Security
Revision history for this message
Jamie Strandboge (jdstrand) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
Barneedhar (barneedhar)
Changed in unity-tweak-tool (Ubuntu):
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Barneedhar (barneedhar)
Changed in unity-tweak-tool:
status: New → Fix Committed
Barneedhar (barneedhar)
Changed in unity-tweak-tool:
status: Fix Committed → Fix Released
tags: removed: need-duplicate-check
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :
description: updated
Changed in unity-tweak-tool (Ubuntu Raring):
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Andrew Starr-Bochicchio (andrewsomething)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
unity-tweak-tool (0.0.4ubuntu1) saucy; urgency=low

  * Backport fixes from upstream git.
  * UnityTweakTool/elements/colorchooser.py
   - Fix TypeError in get_rgba() (LP: #1165627)
  * UnityTweakTool/section/sphagetti/compiz.py
   - Fix TypeError in color_to_hash() (LP: #1166884)
  * UnityTweakTool/section/unity.py
   - Fix Show recently used and more suggestions in dash search (LP: #1166294)
 -- Andrew Starr-Bochicchio <email address hidden> Mon, 13 May 2013 16:39:04 -0400

Changed in unity-tweak-tool (Ubuntu):
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.4ubuntu0.1

---------------
unity-tweak-tool (0.0.4ubuntu0.1) raring-updates; urgency=low

  * Backport fixes from upstream git.
  * UnityTweakTool/elements/colorchooser.py
   - Fix TypeError in get_rgba() (LP: #1165627)
  * UnityTweakTool/section/sphagetti/compiz.py
   - Fix TypeError in color_to_hash() (LP: #1166884)
  * UnityTweakTool/section/unity.py
   - Fix Show recently used and more suggestions in dash search (LP: #1166294)
 -- Andrew Starr-Bochicchio <email address hidden> Mon, 13 May 2013 16:39:04 -0400

Changed in unity-tweak-tool (Ubuntu Raring):
status: In Progress → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Matthew, or anyone else affected,

Accepted unity-tweak-tool into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/unity-tweak-tool/0.0.4ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Adam Conrad (adconrad) wrote :

Ignore the above message about this being "Fix Released" in raring-updates. This was due to the uploader mistargetting the upload to -updates instead of -proposed, and I have since copied it back to -proposed and it will be deleted from -updates. Please verify this SRU as usual, and we can migrate it once it's been checked.

Changed in unity-tweak-tool (Ubuntu Raring):
status: Fix Released → Fix Committed
Revision history for this message
Barneedhar (barneedhar) wrote :

Confirming package version 0.0.4ubuntu0.1 contains the fix for this bug.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

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

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

---------------
unity-tweak-tool (0.0.4ubuntu0.1) raring-updates; urgency=low

  * Backport fixes from upstream git.
  * UnityTweakTool/elements/colorchooser.py
   - Fix TypeError in get_rgba() (LP: #1165627)
  * UnityTweakTool/section/sphagetti/compiz.py
   - Fix TypeError in color_to_hash() (LP: #1166884)
  * UnityTweakTool/section/unity.py
   - Fix Show recently used and more suggestions in dash search (LP: #1166294)
 -- Andrew Starr-Bochicchio <email address hidden> Mon, 13 May 2013 16:39:04 -0400

Changed in unity-tweak-tool (Ubuntu Raring):
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.