[Jaunty] Cannot Edit Software Sources In Adept

Bug #335975 reported by Lambros Bezedes
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Jaunty by Dan Dart

Bug Description

I have upgraded my Kubuntu distro from Intrepid to Jaunty (9.04 - development branch) for testing. When i try to edit the software sources in Adept the program fetches the package list instead.

Adept version is 3.0~beta4ubuntu6.1 0

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Could you paste the output of trying to run "kdesudo software-properties-kde" in the console?

Changed in adept:
status: New → Incomplete
Revision history for this message
Lambros Bezedes (kleidokrators) wrote :

Traceback (most recent call last):
  File "/usr/bin/software-properties-kde", line 34, in <module>
    from softwareproperties.kde.SoftwarePropertiesKDE import SoftwarePropertiesKDE
ImportError: No module named softwareproperties.kde.SoftwarePropertiesKDE
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 85, in apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL), 'w')
OSError: [Errno 17] File exists: '/var/crash/_usr_bin_software-properties-kde.0.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/software-properties-kde", line 34, in <module>
    from softwareproperties.kde.SoftwarePropertiesKDE import SoftwarePropertiesKDE
ImportError: No module named softwareproperties.kde.SoftwarePropertiesKDE

Changed in software-properties:
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Lambros Bezedes (kleidokrators) wrote :

After a recent update the promblem seems to be resolved.

Revision history for this message
Dan Dart (dandart) wrote :

Also affects KDE4.2 branch of Intrepid.

Extra PPA repos installed:
deb http://ppa.launchpad.net/kubuntu-experimental/ubuntu intrepid main
deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu intrepid main

Revision history for this message
steve44 (giorgo-man) wrote :

Same here in Intrepid KDE 4.2. Here's the output when run "kdesudo software-properties-kde" :

/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
Traceback (most recent call last):
  File "/usr/bin/software-properties-kde", line 114, in <module>
    app = SoftwarePropertiesKDE(datadir=data_dir, options=options, file=file, attachWinID=attachWinID)
  File "/usr/lib/python2.5/site-packages/softwareproperties/kde/SoftwarePropertiesKDE.py", line 71, in __init__
    self.userinterface = SoftwarePropertiesKDEUI(datadir)
  File "/usr/lib/python2.5/site-packages/softwareproperties/kde/SoftwarePropertiesKDE.py", line 56, in __init__
KCrash: Application 'kdesudo' crashing...
    uic.loadUi("sock_file=/home/vlada/.kde/socket-vlada-laptop/kdeinit4__0

Revision history for this message
Peter Poklop (peter-poklop) wrote :

The trace above is incomplete, kdesudo crashes because of bug https://bugs.launchpad.net/bugs/281877. With the sudo command i get the complete trace. It seems that the file kde4.py is missing from the current kde 4.2 packages.

/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
Error: "/var/tmp/kdecache-peter" is owned by uid 1000 instead of uid 0.
Traceback (most recent call last):
  File "/usr/bin/software-properties-kde", line 114, in <module>
    app = SoftwarePropertiesKDE(datadir=data_dir, options=options, file=file, attachWinID=attachWinID)
  File "/usr/lib/python2.5/site-packages/softwareproperties/kde/SoftwarePropertiesKDE.py", line 71, in __init__
    self.userinterface = SoftwarePropertiesKDEUI(datadir)
  File "/usr/lib/python2.5/site-packages/softwareproperties/kde/SoftwarePropertiesKDE.py", line 56, in __init__
    uic.loadUi("%s/designer/main.ui" % datadir, self)
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/__init__.py", line 106, in loadUi
    return loader.DynamicUILoader().loadUi(uifile, baseinstance)
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/Loader/loader.py", line 8, in __init__
    uiparser.UIParser.__init__(self, QtCore, QtGui, LoaderCreatorPolicy())
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/uiparser.py", line 88, in __init__
    self.factory = QObjectCreator(creatorPolicy)
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/objcreator.py", line 57, in __init__
    raise WidgetPluginError, "%s: %s" % (e.__class__, str(e))
PyQt4.uic.exceptions.WidgetPluginError: <type 'exceptions.IOError'>: [Errno 2] No such file or directory: '/usr/lib/python2.5/site-packages/PyQt4/uic/widget-plugins/kde4.py'

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Looks like transient python issues that were resolved by the time jaunty was released.

Changed in software-properties (Ubuntu):
status: Triaged → 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.