← Back to team overview

kernel-packages team mailing list archive

[Bug 1303275] Re: dkms_packages.py crashed with TypeError in __main__: Type str doesn't support the buffer API

 

This bug was fixed in the package dkms - 2.2.0.3-2ubuntu8

---------------
dkms (2.2.0.3-2ubuntu8) xenial; urgency=medium

  * apport_python3.patch: Force unicode conversion for attaching DKMSBuildLog.
    This is in principle a human readable file, and the subsequent code wants
    to treat it as a string, not bytes. (LP: #1303275)

 -- Martin Pitt <martin.pitt@xxxxxxxxxx>  Mon, 30 Nov 2015 08:06:45
+0100

** Changed in: dkms (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
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/1303275

Title:
  dkms_packages.py crashed with TypeError in __main__: Type str doesn't
  support the buffer API

Status in dkms package in Ubuntu:
  Fix Released

Bug description:
  happened on upgrade from 13.10 to 14.04

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: dkms 2.2.0.3-1.1ubuntu5
  ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8
  Uname: Linux 3.8.0-19-generic x86_64
  ApportVersion: 2.14.1-0ubuntu1
  Architecture: amd64
  Date: Sun Apr  6 11:19:45 2014
  ExecutablePath: /usr/share/apport/package-hooks/dkms_packages.py
  InstallationDate: Installed on 2013-03-29 (372 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130328)
  InterpreterPath: /usr/bin/python3.4
  PackageArchitecture: all
  ProcCmdline: python3 /usr/share/apport/package-hooks/dkms_packages.py -m nvidia-331-updates -v 331.38 -k 3.13.0-23-generic
  PythonArgs: ['/usr/share/apport/package-hooks/dkms_packages.py', '-m', 'nvidia-331-updates', '-v', '331.38', '-k', '3.13.0-23-generic']
  SourcePackage: dkms
  Title: dkms_packages.py crashed with TypeError in __main__: Type str doesn't support the buffer API
  Traceback:
   Traceback (most recent call last):
     File "/usr/share/apport/package-hooks/dkms_packages.py", line 87, in <module>
       if 'Segmentation fault' in report['DKMSBuildLog']:
   TypeError: Type str doesn't support the buffer API
  UpgradeStatus: Upgraded to trusty on 2014-04-06 (0 days ago)
  UserGroups:

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