TypeError when running 'ubuntu-bug apt-mirror'

Bug #1211099 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

The TypeError occured in apport itself, so probably won't show up as a crash report...

robertc@lifelesshp:~$ ubuntu-bug apt-mirror
Gtk-Message: Failed to load module "overlay-scrollbar"
ERROR: hook /usr/share/apport/general-hooks/ubuntu.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/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-23.34-generic 3.8.11
Uname: Linux 3.8.0-23-generic x86_64
ApportLog:

ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Mon Aug 12 11:08:37 2013
InstallationDate: Installed on 2013-01-13 (210 days ago)
InstallationMedia: Ubuntu-Server 12.10 "Quantal Quetzal" - Release amd64 (20121017.2)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: Upgraded to raring on 2013-04-22 (111 days ago)

Revision history for this message
Robert Collins (lifeless) wrote :
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

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: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apport (Ubuntu) because there has been no activity for 60 days.]

Changed in apport (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.