dkms_packages.py crashed with AttributeError in __main__: module 'apport.fileutils' has no attribute 'make_report_path'

Bug #1661843 reported by Fabio Marconi
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
Fix Released
High
Aron Xu
Zesty
Fix Released
High
Aron Xu

Bug Description

It crash after restart of a kernel upgrade.
Best regards and thanks

ProblemType: Crash
DistroRelease: Ubuntu 17.04
Package: dkms 2.3-2
ProcVersionSignature: Ubuntu 4.9.0-16.17-generic 4.9.6
Uname: Linux 4.9.0-16-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
CrashCounter: 1
Date: Fri Feb 3 21:34:58 2017
ExecutablePath: /usr/share/apport/package-hooks/dkms_packages.py
InstallationDate: Installed on 2016-10-30 (96 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
InterpreterPath: /usr/bin/python3.5
PackageArchitecture: all
ProcCmdline: python3 /usr/share/apport/package-hooks/dkms_packages.py -m rtl8192eu -v 4.4 -k 4.9.0-16-generic
ProcEnviron:
 LANG=en_US.UTF-8
 TERM=linux
 PATH=(custom, no user)
PythonArgs: ['/usr/share/apport/package-hooks/dkms_packages.py', '-m', 'rtl8192eu', '-v', '4.4', '-k', '4.9.0-16-generic']
SourcePackage: dkms
Title: dkms_packages.py crashed with AttributeError in __main__: module 'apport.fileutils' has no attribute 'make_report_path'
Traceback:
 Traceback (most recent call last):
   File "/usr/share/apport/package-hooks/dkms_packages.py", line 97, in <module>
     with open(apport.fileutils.make_report_path(report), 'wb') as f:
 AttributeError: module 'apport.fileutils' has no attribute 'make_report_path'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :
information type: Private → Public
description: updated
Revision history for this message
Apport retracing service (apport) wrote : Possible regression detected

This crash has the same stack trace characteristics as bug #1499842. However, the latter was already fixed in an earlier package version than the one in this report. This might be a regression or because the problem is in a dependent package.

tags: removed: need-duplicate-check
Changed in dkms (Ubuntu):
importance: Undecided → Medium
tags: added: regression-retracer
Revision history for this message
Brian Murray (brian-murray) wrote :

This is a regression of the fix for bug 1499842, the merge from debian overwrote dkms_apport.py and now it is back to its state from before bug 1499842 was fixed.

Changed in dkms (Ubuntu):
assignee: nobody → Aron Xu (happyaron)
status: New → Triaged
importance: Medium → High
tags: added: regression-release
Revision history for this message
Brian Murray (brian-murray) wrote :

Specifically, at least this change was lost.

https://launchpadlibrarian.net/219224401/dkms_2.2.0.3-1.1ubuntu5.14.04.4_2.2.0.3-1.1ubuntu5.14.04.5.diff.gz

There may have been more changes to dkms_apport.py that disappeared too though.

Revision history for this message
Aron Xu (happyaron) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dkms - 2.3-3

---------------
dkms (2.3-3) unstable; urgency=medium

  * Upstream post-2.3 cherry-picks for apport (LP: #1661843)

 -- Aron Xu <email address hidden> Tue, 07 Feb 2017 23:27:25 +0800

Changed in dkms (Ubuntu Zesty):
status: Triaged → Fix Released
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.