Public bug reported:

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

** Affects: xdiagnose (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-collected xenial

** Tags added: apport-collected xenial

** Description changed:

  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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1628283

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to