xedid crashed with FileNotFoundError in list(): [Errno 2] No such file or directory: '/lib/firmware/edid'

Bug #1628283 reported by draco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdiagnose (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When launching xedid as is, it fail with the following stack :

draco@draco-ultrabook:/lib/firmware$ xedid
Traceback (most recent call last):
  File "/usr/bin/xedid", line 172, in <module>
    for fw_edid in fw.list():
  File "/usr/lib/python3/dist-packages/xdiagnose/edid.py", line 101, in list
    for filename in os.listdir(self.EDID_FIRMWARE_PATH):
FileNotFoundError: [Errno 2] No such file or directory: '/lib/firmware/edid'

If I create the directory /lib/firmware/edid, xedid do not crash anymore.
So I expect the directory should be created when installing the xdiagnose package.

Additional information:

Xubuntu release :
Description: Ubuntu 16.04.1 LTS
Release: 16.04

xdiagnose:
  Installé : 3.8.4.1
  Candidat : 3.8.4.1
 Table de version :
 *** 3.8.4.1 500
        500 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/main amd64 Packages
        500 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/main i386 Packages
        100 /var/lib/dpkg/status
     3.8.4 500
        500 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial/main amd64 Packages
        500 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial/main i386 Packages
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: XFCE
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2016-05-23 (126 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
Package: xdiagnose 3.8.4.1
PackageArchitecture: all
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Tags: xenial
Uname: Linux 4.4.0-38-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo users
_MarkForUpload: True

Revision history for this message
draco (draco31-fr) wrote : Dependencies.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
draco (draco31-fr) wrote : JournalErrors.txt

apport information

Revision history for this message
draco (draco31-fr) wrote : ProcEnviron.txt

apport information

Revision history for this message
draco (draco31-fr) wrote :

I don't know why apport-cli refuse to send the initial crash report, so here it is.

Revision history for this message
Balint Reczey (rbalint) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xdiagnose - 3.8.6

---------------
xdiagnose (3.8.6) artful; urgency=medium

  * Don't crash in xedid when /lib/firmware/edid/ is missing
    (LP: #1628283)
  * Remove pybuild build artifact from the source package
  * Remove debdiff files left over in previous upload.
  * Remove stray .bzr directory.

 -- Balint Reczey <email address hidden> Wed, 07 Jun 2017 01:18:24 +0000

Changed in xdiagnose (Ubuntu):
status: New → 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.