[Bug 820150] Re: software-properties-gtk crashed with AttributeError in remove_source(): 'NoneType' object has no attribute 'file'

Launchpad Bug Tracker 820150 at bugs.launchpad.net
Wed Mar 7 09:20:13 UTC 2012


This bug was fixed in the package software-properties - 0.82.5

---------------
software-properties (0.82.5) precise; urgency=low

  * softwareproperties/gtk/SoftwarePropertiesGtk.py: Drop duplicate definition
    of on_treeview_sources_cursor_changed().
  * softwareproperties/gtk/SoftwarePropertiesGtk.py: Fix crash when closing
    the application with the window title bar button. (LP: #911834)
  * add-apt-repository: Intercept ValueError in addition to URLError, as this
    is the error thrown when trying to decode invalid JSON (which happens on
    404 pages etc.). (LP: #861258)
  * softwareproperties/SoftwareProperties.py, _find_source_from_string():
    Reload the sources list before searching, as it might have changed while
    the D-BUS backend was running. (LP: #854818, #820150)
  * softwareproperties/gtk/SoftwarePropertiesGtk.py: Add missing argument to
    menu popup() call. (LP: #815236)
 -- Martin Pitt <martin.pitt at ubuntu.com>   Wed, 07 Mar 2012 10:14:52 +0100

** Changed in: software-properties (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  software-properties-gtk crashed with AttributeError in
  remove_source(): 'NoneType' object has no attribute 'file'

Status in “software-properties” package in Ubuntu:
  Fix Released

Bug description:
  I was trying to remove a repository.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: software-properties-gtk 0.81.4
  ProcVersionSignature: Ubuntu 3.0.0-7.9-generic 3.0.0
  Uname: Linux 3.0.0-7-generic x86_64
  Architecture: amd64
  Date: Tue Aug  2 21:08:28 2011
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110705.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 62914689
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '62914689']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in remove_source(): 'NoneType' object has no attribute 'file'
  UpgradeStatus: Upgraded to oneiric on 2011-08-03 (0 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/820150/+subscriptions




More information about the foundations-bugs mailing list