ubuntu-bug -p xserver-xorg-video-intel caused traceback

Bug #418352 reported by jedix
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Apport
Invalid
Undecided
Marco Rodrigues
apport (Ubuntu)
Invalid
Undecided
Unassigned
kdebindings (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When trying to report an error, ubuntu-bug crashed with a callback due to kde4.py not existing.

Output of ubuntu-bug -p xserver-xorg-video-intel:

$ ubuntu-bug -p xserver-xorg-video-intel
Traceback (most recent call last):
  File "/usr/share/apport/apport-kde", line 454, in <module>
    UserInterface = MainUserInterface()
  File "/usr/share/apport/apport-kde", line 178, in __init__
    self.run_argv()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 430, in run_argv
    return self.run_report_bug()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 343, in run_report_bug
    self.collect_info(symptom_script)
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 537, in collect_info
    self.ui_start_info_collection_progress()
  File "/usr/share/apport/apport-kde", line 330, in ui_start_info_collection_progress
    _('The collected information can be sent to the developers '
  File "/usr/share/apport/apport-kde", line 112, in __init__
    Dialog.__init__(self, 'progress.ui', title, heading, text)
  File "/usr/share/apport/apport-kde", line 60, in __init__
    uic.loadUi(os.path.join(os.path.dirname(sys.argv[0]), ui), self)
  File "/usr/lib/pymodules/python2.6/PyQt4/uic/__init__.py", line 112, in loadUi
    return DynamicUILoader().loadUi(uifile, baseinstance)
  File "/usr/lib/pymodules/python2.6/PyQt4/uic/Loader/loader.py", line 8, in __init__
    UIParser.__init__(self, QtCore, QtGui, LoaderCreatorPolicy())
  File "/usr/lib/pymodules/python2.6/PyQt4/uic/uiparser.py", line 87, in __init__
    self.factory = QObjectCreator(creatorPolicy)
  File "/usr/lib/pymodules/python2.6/PyQt4/uic/objcreator.py", line 43, in __init__
    if load_plugin(open(os.path.join(plugindir, filename)), plugin_globals, plugin_locals):
IOError: [Errno 2] No such file or directory: '/usr/share/python-qt4/widget-plugins/kde4.py'

Tags: karmic
Revision history for this message
Marco Rodrigues (gothicx) wrote :

I have tested it with apport 1.8.2 and I don't have that problem. This problem could be related to python-qt4, so I'll assign this bug to that package.

$ ls -l /usr/share/python-qt4/widget-plugins/kde4.py
lrwxrwxrwx 1 root root 69 2009-09-05 18:59 /usr/share/python-qt4/widget-plugins/kde4.py -> ../../../lib/python2.6/dist-packages/PyQt4/uic/widget-plugins/kde4.py

Could you try to reinstall python-kde4 ?

$ sudo apt-get --reinstall install python-kde4

Changed in apport:
status: New → Fix Released
Changed in apport (Ubuntu):
status: New → Fix Released
Changed in python-kde4 (Ubuntu):
status: New → Incomplete
Changed in apport:
assignee: nobody → Marco Rodrigues (gothicx)
affects: python-kde4 (Ubuntu) → python-qt4 (Ubuntu)
affects: python-qt4 (Ubuntu) → kdebindings (Ubuntu)
Revision history for this message
jedix (howlett) wrote :

I've reinstalled the package, how can I go about testing it? I had this crash when reporting another bug.

Thanks,
Liam

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

Running the command "ubuntu-bug -p xserver-xorg-video-intel" in konsole should in theory cause the crash again.
If it still crashes, could you see if you have the python-qt4-common package installed? It's an old package that has been causing issues.

Martin Pitt (pitti)
Changed in apport (Ubuntu):
status: Fix Released → Invalid
Changed in apport:
status: Fix Released → Invalid
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Closing due to lack of feedback.

Changed in kdebindings (Ubuntu):
status: Incomplete → Invalid
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.