[Bug 854818] Re: software-properties-gtk crashed with AttributeError in toggle_source_use(): 'NoneType' object has no attribute 'disabled'
Mauro
854818 at bugs.launchpad.net
Wed Dec 21 14:03:58 UTC 2011
Same here, 11.10 and Gnome Shell.
Some other infos:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 649, in on_isv_source_toggled
self.backend.ToggleSourceUse(str(source_entry))
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/python2.7/dist-packages/softwareproperties/dbus/SoftwarePropertiesDBus.py", line 156, in ToggleSourceUse
self.toggle_source_use(source.encode("utf-8"))
File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 433, in toggle_source_use
source.disabled = not source.disabled
AttributeError: 'NoneType' object has no attribute 'disabled'
--
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:
Triaged
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