[Bug 904717] Re: Sometimes I can't edit/remove software sources

Launchpad Bug Tracker 904717 at bugs.launchpad.net
Fri Dec 23 10:00:20 UTC 2011


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: software-properties (Ubuntu)
       Status: New => Confirmed

-- 
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/904717

Title:
  Sometimes I can't edit/remove software sources

Status in “software-properties” package in Ubuntu:
  Confirmed

Bug description:
  $ software-properties-gtk

  (software-properties-gtk:21952): Gtk-WARNING **: Theme parsing error: gtk.css:55:40: Missing opening bracket in color definition
  gpg: /tmp/tmpHEQRqG/trustdb.gpg: trustdb created
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 842, in on_remove_clicked
      self.backend.RemoveSource(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 269, in RemoveSource
      self.remove_source(source.encode("utf-8"))
    File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 711, in remove_source
      if source.file != apt_pkg.config.find_file("Dir::Etc::sourcelist"):
  AttributeError: 'NoneType' object has no attribute 'file'

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: software-properties-gtk 0.81.13.1
  ProcVersionSignature: Ubuntu 3.0.0-14.23-core2 3.0.9-ck1
  Uname: Linux 3.0.0-14-core2 x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Thu Dec 15 13:24:14 2011
  PackageArchitecture: all
  SourcePackage: software-properties
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list