update-manager crashed with UnboundLocalError in show_diff(): local variable 'line_number' referenced before assignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aptdaemon |
Fix Released
|
Undecided
|
Barry Warsaw | ||
aptdaemon (Ubuntu) |
Fix Released
|
High
|
Barry Warsaw | ||
Precise |
Fix Released
|
High
|
Brian Murray |
Bug Description
Test Case:
1) Create a file named a.txt in /tmp/ with the contents 'one' in it.
2) Create a file named b.txt in /tmp/ with the contents 'onee' in it.
3) In a terminal start python3
4) from aptdaemon.
5) dv = DiffView()
6) dv.show_
With the unfixed version of aptdaemon observe an UnboundLocalError.
At the same time as the crash appeared, I got a box for Keep/Renew Steam config file.
I was however no able to click on either Keep/Renew.
ProblemType: CrashDistroRelease: Ubuntu 13.04
Package: update-manager 1:0.181
ProcVersionSign
Uname: Linux 3.8.0-4-generic x86_64
NonfreeKernelMo
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
Date: Sat Feb 9 14:05:09 2013
ExecutablePath: /usr/bin/
GsettingsChanges:
b'com.
b'com.
b'com.
b'com.
b'com.
InstallationDate: Installed on 2012-08-22 (170 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
InterpreterPath: /usr/bin/python3.3
MarkForUpload: True
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/bin/
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
XDG_RUNTIME_
LANG=nb_NO.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
Title: update-manager crashed with UnboundLocalError in show_diff(): local variable 'line_number' referenced before assignment
UpgradeStatus: Upgraded to raring on 2013-01-22 (18 days ago)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo tty
Related branches
- Michael Vogt: Needs Information
- Sebastian Heinlein: Pending requested
-
Diff: 111 lines (+62/-5)3 files modifiedREADME.tests (+3/-0)
aptdaemon/gtk3widgets.py (+10/-5)
tests/test_gtk3widgets.py (+49/-0)
- Colin Watson: Approve
-
Diff: 11606 lines (+11326/-22)25 files modified.pc/.quilt_patches (+1/-0)
.pc/.quilt_series (+1/-0)
.pc/.version (+1/-0)
.pc/applied-patches (+5/-0)
.pc/fix-lp-900982.patch/aptdaemon/enums.py (+698/-0)
.pc/fix-lp-932581.patch/aptdaemon/pkcompat.py (+2937/-0)
.pc/fix-lp-971748.patch/aptdaemon/networking.py (+262/-0)
.pc/fix-lp-971748.patch/aptdaemon/pkcompat.py (+2940/-0)
.pc/fix-lp-981124.patch/aptdaemon/client.py (+1697/-0)
.pc/fix_gettext_return_value_type.patch/aptdaemon/core.py (+2201/-0)
.pc/fix_gettext_return_value_type.patch/aptdaemon/utils.py (+88/-0)
aptdaemon/client.py (+8/-6)
aptdaemon/core.py (+20/-8)
aptdaemon/enums.py (+1/-1)
aptdaemon/networking.py (+11/-4)
aptdaemon/pkcompat.py (+10/-2)
aptdaemon/utils.py (+7/-1)
debian/changelog (+29/-0)
debian/patches/fix-lp-900982.patch (+19/-0)
debian/patches/fix-lp-932581.patch (+20/-0)
debian/patches/fix-lp-971748.patch (+87/-0)
debian/patches/fix-lp-981124.patch (+44/-0)
debian/patches/fix_gettext_return_value_type.patch (+171/-0)
debian/patches/series (+5/-0)
tests/regressions/test_lp768691.py (+63/-0)
tags: | removed: need-duplicate-check |
Changed in update-manager (Ubuntu): | |
importance: | Undecided → Medium |
Changed in aptdaemon: | |
status: | New → Confirmed |
tags: | added: rls-r-incoming |
Changed in aptdaemon (Ubuntu): | |
assignee: | nobody → Barry Warsaw (barry) |
Changed in aptdaemon (Ubuntu Precise): | |
assignee: | nobody → Barry Warsaw (barry) |
Changed in aptdaemon: | |
assignee: | nobody → Barry Warsaw (barry) |
Changed in aptdaemon: | |
status: | Confirmed → Fix Released |
description: | updated |
Changed in aptdaemon (Ubuntu Precise): | |
assignee: | Barry Warsaw (barry) → Brian Murray (brian-murray) |
Changed in aptdaemon (Ubuntu Precise): | |
status: | Triaged → In Progress |
Status changed to 'Confirmed' because the bug affects multiple users.