update-manager crashed with AttributeError in check_hovering(): 'tuple' object has no attribute 'get_tags'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu GNOME |
Confirmed
|
Undecided
|
Unassigned | ||
update-manager (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Brian Murray | ||
Yakkety |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Impact
------
We are receiving thousands of crash reports regarding update-manager when it is used in conjunction with the gnome3-team ppa which provides a new version of gtk3. Here is the Errors Bucket:
Test Case
---------
On an Ubuntu 16.04 system
1) sudo add-apt-repository ppa:gnome3-
2) sudo apt-get update
3) sudo apt-get upgrade
4) reboot
5) downgrade whoopsie (sudo apt-get install whoopsie=0.2.52 libwhoopsie0=
6) open a terminal
7) run update-manager
8) observe Traceback re: "AttributeError: '_ResultTuple' object has no attribute 'get_tags'
With the version of the package from -proposed you will no longer receive a traceback.
We can also verify that the bucket at the Ubuntu Error Tracker does not contain the new version of update-manager in the versions table.
Regression Potential
-------
Little given that the patch uses a try / except handler for the AttributeError. That being said we should try installing the version of update-manager from -proposed on a system without the new version of gtk3 and upgrading packages.
Unexpectedly crash on close.
ProblemType: CrashDistroRelease: Ubuntu 16.04
Package: update-manager 1:15.10.3
ProcVersionSign
Uname: Linux 4.4.0-7-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CrashCounter: 1
CurrentDesktop: GNOME
Date: Mon Feb 22 14:36:11 2016
ExecutablePath: /usr/bin/
GsettingsChanges:
b'com.
b'com.
b'com.
b'com.
b'com.
InstallationDate: Installed on 2015-11-10 (104 days ago)
InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151108)
InterpreterPath: /usr/bin/python3.5
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/bin/
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
XDG_RUNTIME_
LANG=pt_BR.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
Title: update-manager crashed with AttributeError in check_hovering(): 'tuple' object has no attribute 'get_tags'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio bluetooth cdrom clamav dip firebird gdm lp lpadmin plugdev pulse sambashare src ssh sudo tty users utmp uucp uuidd vboxusers video www-data
Related branches
tags: | removed: need-duplicate-check |
Changed in update-manager (Ubuntu): | |
importance: | Undecided → Medium |
no longer affects: | update-manager |
Changed in update-manager (Ubuntu): | |
status: | Confirmed → Triaged |
tags: | added: yakkety |
Changed in ubuntu-gnome: | |
status: | New → Confirmed |
description: | updated |
This happens in the following function:
251 def check_hovering( self, x, y):
252 """Check if the mouse is above a tagged link and if yes show
253 a hand cursor"""
254 _hovering = False
I hovered over a link in the changelog for a package in update-manager without an issue. I'm using the Unity desktop environment and update-manager version 1:15.10.3.