[Bug 875879] Re: update-manager crashed with AttributeError in show_diff(): 'NoneType' object has no attribute 'group'

Launchpad Bug Tracker 875879 at bugs.launchpad.net
Fri Sep 7 08:25:09 UTC 2012


This bug was fixed in the package aptdaemon - 0.45+bzr856-0ubuntu1

---------------
aptdaemon (0.45+bzr856-0ubuntu1) quantal; urgency=low

  * New upstream snapshot:
    - pkcompat: Fix get_files() LP: #1040619 (thanks to Martin Pitt)
    - Fix crash when run inside non-ascii dirs LP: #1044900
    - Fix crash in widget's diff view if a @@ line does not have a range
      LP: #875879 (thanks to Brian Murray)
    - Support credentials change when adding a repository that is already
      in sources.list/auth.conf
 -- Michael Vogt <michael.vogt at ubuntu.com>   Fri, 07 Sep 2012 10:20:10 +0200

** Changed in: aptdaemon (Ubuntu Quantal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/875879

Title:
  update-manager crashed with AttributeError in show_diff(): 'NoneType'
  object has no attribute 'group'

Status in “aptdaemon” package in Ubuntu:
  Fix Released
Status in “update-manager” package in Ubuntu:
  Invalid
Status in “aptdaemon” source package in Precise:
  Triaged
Status in “update-manager” source package in Precise:
  Invalid
Status in “aptdaemon” source package in Quantal:
  Fix Released
Status in “update-manager” source package in Quantal:
  Invalid

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/dpkg/status and search for "Package: ppp"
  3. change the version from 2.4.5-5ubuntu1 to e.g. 1.0
  4. change the "/etc/ppp/options 35abf1f84daddb8f602dada6bd46c52" to "/etc/ppp/options xxx"
  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
  ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu2
  Architecture: amd64
  Date: Sun Oct 16 19:49:42 2011
  ExecutablePath: /usr/bin/update-manager
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/update-manager
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  PythonArgs: ['/usr/bin/update-manager']
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/875879/+subscriptions




More information about the foundations-bugs mailing list