[Bug 854818] Re: software-properties-gtk crashed with AttributeError in toggle_source_use(): 'NoneType' object has no attribute 'disabled'

Launchpad Bug Tracker 854818 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 Precise)
       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/854818

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

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

Bug description:
  Reproduced this, with the following steps:
  1. Add PPA with add-apt-repository (adds both deb and deb-src)
  2. Remove PPA with add-apt-repository --remove (only removes deb entry , deb-src is left there, see bug #838507)
  3. Open Software sources and try to disable or remove the deb-src entry left there

  Expected result:
  The deb-src entry is removed
  What happens:
  Nothing, but the trace attached is written to stdout.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: software-properties-gtk 0.81.9
  ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
  Uname: Linux 3.0.0-11-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu1
  Architecture: amd64
  CheckboxSubmission: be2fbfde253285762d2d7eaf0e9f7c54
  CheckboxSystem: edda5d4f616ca792bf437989cb597002
  Date: Tue Sep 20 19:59:12 2011
  ExecutablePath: /usr/bin/software-properties-gtk
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk --open-tab 2
  PythonArgs: ['/usr/bin/software-properties-gtk', '--open-tab', '2']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in toggle_source_use(): 'NoneType' object has no attribute 'disabled'
  UpgradeStatus: Upgraded to oneiric on 2011-09-20 (0 days ago)
  UserGroups: adm admin audio cdrom dialout dip floppy fuse plugdev sudo tape video

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




More information about the foundations-bugs mailing list