update-manager-support-status crashed with NameError in get_maintenance_status()

Bug #513303 reported by shankao
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

Binary package hint: update-manager

Just tried the program:

$ update-manager-support-status
Traceback (most recent call last):
  File "/usr/bin/update-manager-support-status", line 82, in <module>
    (still_supported, support_str) = get_maintenance_status(cache, pkg.name, support_tag)
  File "/usr/bin/update-manager-support-status", line 20, in get_maintenance_status
    supported_for_n_month = int(suppoted_tag.rstrip("m"))
NameError: global name 'suppoted_tag' is not defined

ProblemType: Crash
Architecture: i386
CheckboxSubmission: 56f6196d6c59b6b05a94181cc3955a09
CheckboxSystem: c4d84cd56dc0e1c868ed7fe87c94fd31
Date: Wed Jan 27 16:07:55 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/update-manager-support-status
InterpreterPath: /usr/bin/python2.6
Package: update-manager-core 1:0.131.4
ProcCmdline: /usr/bin/python2.6 /usr/bin/update-manager-support-status
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 LANGUAGE=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
PythonArgs: ['/usr/bin/update-manager-support-status']
SourcePackage: update-manager
Title: update-manager-support-status crashed with NameError in get_maintenance_status()
Uname: Linux 2.6.32-9-generic i686
UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare

Revision history for this message
shankao (shankao) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

confirmed in bzr rev 1653.

visibility: private → public
Changed in update-manager (Ubuntu):
status: New → Triaged
Colin Watson (cjwatson)
Changed in update-manager (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
status: Triaged → Fix Committed
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.132

---------------
update-manager (1:0.132) lucid; urgency=low

  [ Michael Vogt ]
  * UpdateManager/Core/MetaRelease.py:
    - add timeout to meta-release download
  * UpdateManager/MetaReleaseGObject.py:
    - make sure threading is enabled
  * DistUpgrade/DistUpgrade.cfg:
    - add kubuntu-netbook to known metapackages
    - remove usplash artwork from KeyDependencies
  * DistUpgrade/DistUpgradeController.py:
    - test for server mode again after the sources.list rewrite,
      to capture the case when the initial sources.list is empty
  * DistUpgrade/DistUpgradeCache.py:
    - when showing the demoted packages, skip packages that
      are automatic installed
    - improve performance on the removal checks by making use of
      the auto removable information more agressively
    - increase space required by the kernel (it grew)
  * DistUpgrade/DistUpgradeView.py, DistUpgrade/DistUpgradeView{Gtk,KDE}.py:
    - show only non auto-installed removals bold
  * update-manager-support-status:
    - add --show-supported, --show-unsupported and --show-all for summary
    - add --list option for full details

  [ Colin Watson ]
  * update-manager-support-status:
    - fix typo in get_maintenance_status (LP: #513303)
    - add support statistics to the output
 -- Michael Vogt <email address hidden> Thu, 11 Feb 2010 10:31:37 +0100

Changed in update-manager (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.