system76-daemon crashed with ImportError in /usr/lib/python3/dist-packages/system76driver/daemon.py: No module named 'evdev'

Bug #1675442 reported by Ben Klein

This bug report was converted into a question: question #589841: system76-daemon crashed with ImportError in /usr/lib/python3/dist-packages/system76driver/daemon.py: No module named 'evdev'.

16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
System76 Driver
Invalid
Undecided
Unassigned

Bug Description

I have been having some other Python problems, and I had to reinstall pip.

I have the python3-evdev and python-evdev packages installed too, so I'm not sure why it's not finding the import.

ProblemType: Crash
DistroRelease: Ubuntu 16.10
Package: system76-driver 16.10.16 [origin: LP-PPA-system76-dev-stable]
ProcVersionSignature: Ubuntu 4.8.0-42.45-generic 4.8.17
Uname: Linux 4.8.0-42-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
CrashCounter: 1
CrashDB: {'impl': 'launchpad', 'project': 'system76-driver'}
Date: Wed Mar 22 10:11:17 2017
ExecutablePath: /usr/lib/system76-driver/system76-daemon
InstallationDate: Installed on 2016-07-12 (254 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
InterpreterPath: /usr/bin/python3.5
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/lib/system76-driver/system76-daemon
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/usr/bin/zsh
PythonArgs: ['/usr/lib/system76-driver/system76-daemon']
SourcePackage: system76-driver
Title: system76-daemon crashed with ImportError in /usr/lib/python3/dist-packages/system76driver/daemon.py: No module named 'evdev'
UpgradeStatus: Upgraded to yakkety on 2017-02-26 (24 days ago)
UserGroups:

Revision history for this message
Ben Klein (robobenklein) wrote :
Ben Klein (robobenklein)
information type: Private → Public
Revision history for this message
Jeremy Soller (jackpot51) wrote :

Hey, could you try running:
```
sudo apt install --reinstall python3-evdev
```

Revision history for this message
Ben Klein (robobenklein) wrote :

Yes, reinstalling that appears to have fixed the issue.
Perhaps pip moved the evdev package somewhere else when it reinstalled?
Either way, I doubt this is a bug any more.

Revision history for this message
Ben Klein (robobenklein) wrote :

Feature Request: Add proper exception handling for Python import errors.

Changed in system76-driver:
status: New → Invalid
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.