AssertionError during `ubuntu-bug xorg`

Bug #1406689 reported by Karl-Philipp Richter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Invoking `ubuntu-bug xorg` fails with AssertionError

    ERROR: hook /usr/share/apport/package-hooks/source_xorg.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_xorg.py", line 677, in add_info
        attach_nvidia_info(report, ui)
      File "/usr/share/apport/package-hooks/source_xorg.py", line 521, in attach_nvidia_info
        attach_file(report, logfile)
      File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 115, in attach_file
        report[key] = read_file(path, force_unicode=force_unicode)
      File "/usr/lib/python3/dist-packages/problem_report.py", line 563, in __setitem__
        assert k.replace('.', '').replace('-', '').replace('_', '').isalnum()
    AssertionError

which is bad feedback for the user. In case something is missing it should be added as a dependency to `apport` or an understandable error message should be provided or the error should be silently skipped.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: apport-gtk 2.14.7-0ubuntu8
Uname: Linux 3.17.7-031707-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Dec 31 03:54:16 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-12-28 (3 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: Upgraded to utopic on 2014-12-28 (2 days ago)

Revision history for this message
Karl-Philipp Richter (krichter722) 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.