Comment 3 for bug 844733

Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote : Re: oneiric hook /usr/share/apport/package-hooks//xserver-xorg-core.py crash ValueError: need more than 1 value to unpack

This is still a problem with xdiagnose-1.2. The crash only happens when xserver-xorg-core.py is run as root:

$ sudo /usr/share/apport/package-hooks/xserver-xorg-core.py
 lsb_release -sc
attach_gpu_hang_info
attach_xorg_package_versions
attach_dist_upgrade_status
attach_hardware
attach_graphic_card_pci_info
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/xserver-xorg-core.py", line 680, in <module>
    if not add_info(report, None):
  File "/usr/share/apport/package-hooks/xserver-xorg-core.py", line 653, in add_info
    attach_graphic_card_pci_info(report, ui)
  File "/usr/share/apport/package-hooks/xserver-xorg-core.py", line 341, in attach_graphic_card_pci_info
    key, value = line.split(': ', 1)
ValueError: need more than 1 value to unpack