software-center crashed with NameError in _medium_required()

Bug #446269 reported by Red
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: software-center

I was browsing the catalog whilst installing the samba package. software-center kept running, but repeated the crash every time I tried to install anything else.

Ubuntu 9.10 daily.

ProblemType: Crash
Architecture: i386
Date: Thu Oct 8 13:08:56 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/share/software-center/software-center
InterpreterPath: /usr/bin/python2.6
Package: software-center 0.5.0
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-12.41-generic
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with NameError in _medium_required()
Traceback:
 Traceback (most recent call last):
   File "/usr/share/software-center/softwarecenter/view/appdetailsview.py", line 550, in _medium_requiusername
     dialog = AptMediumRequiusernameDialog(medium, drive)
 NameError: global name 'medium' is not defined
Uname: Linux 2.6.31-12-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Red (original-red) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Red (original-red) wrote :

Found the cause : the install cd-rom was enabled in the repositories, disabling it stopped the crashes.

This is a funny one, as I don't have a karmic CD - I installed using a USB stick with a daily build iso on it - is this another bug in itself?.

Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
visibility: private → public
Changed in software-center (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 0.5.1

---------------
software-center (0.5.1) karmic; urgency=low

  * icon updates from Kenneth Wimer
  * softwarecenter/db/update.py:
    - fix index bug in pkgname handling
  * make screenshots scrollable (LP: #439420)
  * fix reopen() handling by not using xapian.Database.reopen()
    but instead do a full open of the db (LP: #430603)
  * softwarecenter/view/appdetailsview.py:
    - add support for http proxies (LP: #446069)
    - fix crash in cdrom handling (LP: #446269)
    - do not show error when a transaction is cancelt
      (LP: #440941)
  * softwarecenter/view/widgets/imagedialog.py:
    - change default window size to match the default image
      size from screenshots.debian.net (LP: #445938)
  * debian/control:
    - depend on the latest aptdaemon for working proxy support

 -- Michael Vogt <email address hidden> Mon, 12 Oct 2009 18:25:10 +0200

Changed in software-center (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.