[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'
Jean-Baptiste Lallement
jean-baptiste.lallement at ubuntu.com
Wed Sep 27 18:08:33 UTC 2017
** Changed in: apport (Ubuntu)
Status: New => Confirmed
** Changed in: apport (Ubuntu)
Importance: Undecided => Medium
** Changed in: apport (Ubuntu)
Status: Confirmed => Triaged
** Changed in: apport (Ubuntu)
Assignee: (unassigned) => Jean-Baptiste Lallement (jibel)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1582950
Title:
broken apport hook: TypeError: a bytes-like object is required, not
'str'
Status in apport package in Ubuntu:
Triaged
Status in ubiquity package in Ubuntu:
Invalid
Bug description:
The apport hook for ubiquity appears broken. (Ignore the Wnck error,
that's bug 1580412).
$ ubuntu-bug ubiquity
/usr/share/apport/apport-gtk:16: PyGIWarning: Wnck was imported without specifying a version first. Use gi.require_version('Wnck', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import GLib, Wnck, GdkX11, Gdk
dpkg-query: no packages found matching ubiquity
ERROR: hook /usr/share/apport/package-hooks/source_ubiquity.py crashed:
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 61, in add_info
if 'Buffer I/O error on device' in syslog:
TypeError: a bytes-like object is required, not 'str'
Thanks
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Tue May 17 17:31:33 2016
InstallationDate: Installed on 2012-10-18 (1307 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
SourcePackage: ubiquity
UpgradeStatus: Upgraded to xenial on 2016-04-30 (17 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1582950/+subscriptions
More information about the foundations-bugs
mailing list