This bug was fixed in the package xdiagnose - 3.5

---------------
xdiagnose (3.5) raring-proposed; urgency=low

  * apport/source_xorg.py:
    + Catch exceptions thrown from attach_hardware() call, such as for
      errors in unicode handling.
      (LP: #1168206)
    + Only prompt for generating an nvidia-bug-report.log.gz in user
      interactive sessions (i.e. check that ui is defined.)
      (LP: #1163635)
 -- Bryce Harrington <[email protected]>   Thu, 11 Apr 2013 18:53:27 -0700

** Changed in: xdiagnose (Ubuntu)
       Status: New => Fix Released

** Branch linked: lp:ubuntu/xdiagnose

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

Title:
  UnicodeDecodeError raised from attach_hardware()

Status in “apport” package in Ubuntu:
  New
Status in “xdiagnose” package in Ubuntu:
  Fix Released

Bug description:
  As seen on bugs #1164623 and #1162151:

  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.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to