Public bug reported:

As seen on bug #1164623:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
    symb['add_info'](report, ui)
  File "/usr/share/apport/package-hooks/source_xserver-xorg-video-intel.py", 
line 660, in add_info
    attach_hardware(report)
  File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 246, in 
attach_hardware
    attach_dmi(report)
  File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 201, in 
attach_dmi
    value = fd.read().strip()
  File "/usr/lib/python3.3/codecs.py", line 300, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid 
start byte

attach_dmi() is an apport call.  The dmi info's sometimes useful but not
crucial to have in X bug reports, so if it's erroring we can safely skip
its inclusion.

** Affects: xdiagnose (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xdiagnose in Ubuntu.
https://bugs.launchpad.net/bugs/1168206

Title:
  UnicodeDecodeError raised from attach_hardware()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdiagnose/+bug/1168206/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to