← Back to team overview

desktop-packages team mailing list archive

[Bug 1501773] Re: ubiquity hook 'str' object has no attribute 'decode'

 

This bug was fixed in the package apport - 2.19.1-0ubuntu2

---------------
apport (2.19.1-0ubuntu2) wily; urgency=medium

  * apt/dpkg: Don't mark packages downloaded from Launchpad for installation
    by apt. Thanks Brian Murray. (Cherry-picked from trunk.)

apport (2.19.1-0ubuntu1) wily; urgency=medium

  [ Martin Pitt ]
  * New upstream release:
    - Consistently intercept "report file already exists" errors in all writers
      of report files (package_hook, kernel_crashdump, and similar) to avoid
      unhandled exceptions on those. (LP: #1500450)
    - apt/dpkg: Fall back to direct Launchpad ddeb download if we can't find it
      in the apt cache. Thanks Brian Murray! (LP: #1500557)
    - doc/data-format.tex: Clarify that key names are being treated as case
      sensitive (unlike RFC822).

  [ Brian Murray ]
  * data/iwlwifi_error_dump: fix add_package call. (LP: #1496268)

  [ Sebastien Bacher ]
  * data/package-hooks/sources_ubiquity.py: Don't try decode() a str
    (LP: #1501773).

 -- Martin Pitt <martin.pitt@xxxxxxxxxx>  Thu, 08 Oct 2015 08:04:12
+0200

** Changed in: apport (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  ubiquity hook 'str' object has no attribute 'decode'

Status in apport package in Ubuntu:
  Fix Released

Bug description:
  Ubiquity reports from wily have an hookerror

  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_ubiquity.py", line 60, in add_info
  syslog = report['UbiquitySyslog'].decode('UTF-8')
  AttributeError: 'str' object has no attribute 'decode'

  That can be reproduce with "sudo ubuntu-bug ubiquity"

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


References