[Bug 1170487] Re: TypeError: startswith first arg must be bytes or a tuple of bytes, not str
Marcus Tomlinson
marcus.tomlinson at canonical.com
Thu Mar 5 12:48:16 UTC 2020
This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.
** Changed in: apport (Ubuntu)
Status: In Progress => Incomplete
--
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/1170487
Title:
TypeError: startswith first arg must be bytes or a tuple of bytes, not
str
Status in apport package in Ubuntu:
Incomplete
Bug description:
Reporting a bug against casper with "apport-cli casper" results in a
report containing:
HookError_ubuntu:
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/general-hooks/ubuntu.py", line 92, in add_info
apport.hookutils.attach_conffiles(report, package, ui=ui)
File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 135, in attach_conffiles
if contents == '[deleted]' or contents.startswith('[inaccessible'):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: apport 2.9.2-0ubuntu8
ProcVersionSignature: Ubuntu 3.8.0-18.28-generic 3.8.6
Uname: Linux 3.8.0-18-generic i686
ApportVersion: 2.9.2-0ubuntu8
Architecture: i386
CasperVersion: 1.330
CrashReports:
640:0:0:38630:2013-04-18 22:10:36.573443280 +0000:2013-04-18 22:10:36.573443280 +0000:/var/crash/_usr_bin_ubiquity-dm.0.crash
640:0:0:1607739:2013-04-18 22:10:36.881444807 +0000:2013-04-18 22:10:31.289417078 +0000:/var/crash/_usr_bin_Xorg.0.crash
640:999:999:435757:2013-04-18 22:10:30.977415531 +0000:2013-04-18 22:10:25.689389309 +0000:/var/crash/_usr_lib_kde4_libexec_kwin_opengl_test.999.crash
Date: Thu Apr 18 20:16:39 2013
LiveMediaBuild: Kubuntu 13.04 "Raring Ringtail" - Alpha i386 (20130418)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1170487/+subscriptions
More information about the foundations-bugs
mailing list