python-autopilot should have python-evdev as a dependency
Bug #1183955 reported by
Daniel d'Andrada
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Fix Released
|
Low
|
Unassigned | ||
autopilot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Raring |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
If python-evdev is not installed you can get errors like this one:
_StringException: Traceback (most recent call last):
File "/usr/lib/
self.touch = Touch.create()
File "/usr/lib/
return _pick_backend(
File "/usr/lib/
raise RuntimeError(
RuntimeError: Unable to instantiate any backends
UInput: ImportError('No module named evdev',)
Related branches
lp:~thomir-deactivatedaccount/autopilot/autopilot-desktop-add-evdev-recommends
- PS Jenkins bot: Approve (continuous-integration)
- Christopher Lee (community): Approve
-
Diff: 11 lines (+1/-0)1 file modifieddebian/control (+1/-0)
Changed in autopilot: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Thomi Richards (thomir) |
milestone: | none → 1.3.1 |
Changed in autopilot: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi,
I'm afraid there's a good reason for the way it is today: You only need python-evdev on the touch / phablet devices. On the desktop, you can use python-xlib. We wanted a way to make sure we weren'tpulling down more dependancies than we needed (especially on the phone). To this end, you can either install:
autopilot-touch
or
autopilot-desktop
These are metapackages which rely on everything you need for the respective platform.
Cheers,