update-manager crashed with AttributeError in show_diff(): 'NoneType' object has no attribute 'group'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptdaemon (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Brian Murray | ||
Quantal |
Fix Released
|
High
|
Unassigned | ||
update-manager (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Precise |
Invalid
|
High
|
Unassigned | ||
Quantal |
Invalid
|
High
|
Unassigned |
Bug Description
TEST CASE:
- a regression test should be enough
WARNING DO NOT DO THIS ON A REAL SYSTEM:
To trigger a conffile prompt artificially:
WARNING DO NOT DO THIS ON A REAL SYSTEM:
1. edit /etc/ppp/options and add a line somewhere inside the comments
2. edit /var/lib/
3. change the version from 2.4.5-5ubuntu1 to e.g. 1.0
4. change the "/etc/ppp/options 35abf1f84daddb8
5. run update-manager and update "ppp"
Unfortunately for me this does *not* trigger the crash.
Happened when updating Oneiric.
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: update-manager 1:0.152.22
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
Date: Sun Oct 16 19:49:42 2011
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
PythonArgs: ['/usr/
SourcePackage: update-manager
Title: update-manager crashed with AttributeError in show_diff(): 'NoneType' object has no attribute 'group'
UpgradeStatus: Upgraded to oneiric on 2011-10-07 (8 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers
Related branches
- Martin Pitt (community): Approve
-
Diff: 25 lines (+4/-0)2 files modifiedaptdaemon/gtk3widgets.py (+2/-0)
aptdaemon/gtkwidgets.py (+2/-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): | |
status: | Confirmed → Incomplete |
Changed in update-manager (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: precise |
Changed in update-manager (Ubuntu Precise): | |
status: | New → Triaged |
Changed in update-manager (Ubuntu): | |
importance: | Medium → High |
Changed in update-manager (Ubuntu Precise): | |
importance: | Undecided → High |
Changed in aptdaemon (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
Changed in aptdaemon (Ubuntu Precise): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
Sorry for the delay. Are you still having this problem? wiki.ubuntu. com/BugSquad
---
Ubuntu Bug Squad volunteer triager
http://