Public bug reported:

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)

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


** Tags: apport-bug i386 raring

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

Title:
  TypeError: startswith first arg must be bytes or a tuple of bytes, not
  str

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to