HookError_source_linux

Bug #1430168 reported by dino99
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Medium
Brian Murray

Bug Description

Found that error while reporting lp:1430164

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_linux.py", line 52, in add_info
    staging_drivers = re.findall("(\w+): module is from the staging directory", report['BootDmesg'])
  File "/usr/lib/python3.4/collections/__init__.py", line 908, in __getitem__
    raise KeyError(key)
KeyError: 'BootDmesg'

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: apport 2.16.2-0ubuntu2
ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
Uname: Linux 3.19.0-7-generic i686
NonfreeKernelModules: nvidia
ApportLog:

ApportVersion: 2.16.2-0ubuntu2
Architecture: i386
CurrentDesktop: GNOME
Date: Tue Mar 10 08:03:15 2015
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dino99 (9d9) wrote :
Revision history for this message
dino99 (9d9) wrote :

Note about *dmesg*

since i've tested systemd a few months back, dmesg have stopped to be upgraded; so a while back i've erased the old dmsg files.
meaning that this system does not have dmesg nor bootdmesg. So apport indeed fails to find it.

Changed in apport (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.16.2-0ubuntu3

---------------
apport (2.16.2-0ubuntu3) vivid; urgency=medium

  * package-hooks/source_linux.py: Don't check BootDmesg for staging drivers
    anymore since it is no longer included in the crash report. (LP: #1430168)
 -- Brian Murray <email address hidden> Wed, 11 Mar 2015 12:57:05 -0700

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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