← Back to team overview

kernel-packages team mailing list archive

[Bug 1499842] Re: dkms_packages.py crashed with AttributeError in __main__: 'module' object has no attribute 'make_report_path'

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: dkms (Ubuntu Precise)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.
https://bugs.launchpad.net/bugs/1499842

Title:
  dkms_packages.py crashed with AttributeError in __main__: 'module'
  object has no attribute 'make_report_path'

Status in dkms package in Ubuntu:
  Fix Committed
Status in dkms source package in Precise:
  Confirmed
Status in dkms source package in Trusty:
  Confirmed
Status in dkms source package in Vivid:
  Confirmed

Bug description:
  dkms_packages.py crashed with AttributeError in __main__: 'module'
  object has no attribute 'make_report_path'

  This was introduced with/in bug 1492570. It is an API break as the old
  API was insecure, so it was replaced with a new safe one. So we need
  to adjust DKMS in stable series anyway, thus we might just use the new
  API.

  This crash was introduced via -security, so the fix for this crash
  should also go through -security.

  ProblemType: Crash
  DistroRelease: Ubuntu 15.10
  Package: dkms 2.2.0.3-2ubuntu4
  ProcVersionSignature: Ubuntu 4.2.0-11.13-generic 4.2.1
  Uname: Linux 4.2.0-11-generic i686
  NonfreeKernelModules: wl
  ApportVersion: 2.19-0ubuntu1
  Architecture: i386
  Date: Fri Sep 25 21:54:24 2015
  ExecutablePath: /usr/share/apport/package-hooks/dkms_packages.py
  InstallationDate: Installed on 2015-09-25 (0 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha i386 (20150924)
  InterpreterPath: /usr/bin/python3.4
  PackageArchitecture: all
  ProcCmdline: python3 /usr/share/apport/package-hooks/dkms_packages.py -m bcmwl -v 6.30.223.248+bdcom -k 4.2.1-040201-generic
  ProcEnviron:
   SHELL=/bin/bash
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=ru_RU.UTF-8
   LANGUAGE=ru
  PythonArgs: ['/usr/share/apport/package-hooks/dkms_packages.py', '-m', 'bcmwl', '-v', '6.30.223.248+bdcom', '-k', '4.2.1-040201-generic']
  SourcePackage: dkms
  Title: dkms_packages.py crashed with AttributeError in __main__: 'module' object 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' object has no attribute 'make_report_path'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

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