Newest release of python-evdev breaks the deamon - no more python2 compatibility
JacekJagosz opened this issue · 0 comments
JacekJagosz commented
Release 1.6.0 of python-evdev
includes this commit: gvalkov/python-evdev@b5f69fb that removes python2 compatibility.
This means the daemon will fail to launch:
scc-daemon debug
D SCCDaemon Starting SCCDaemon...
D SCCDaemon Initializing drivers...
Traceback (most recent call last):
File "/usr/bin/scc-daemon", line 36, in <module>
main()
File "/usr/bin/scc-daemon", line 32, in main
daemon.debug()
File "/usr/lib/python2.7/site-packages/scc/sccdaemon.py", line 1097, in debug
self.run()
File "/usr/lib/python2.7/site-packages/scc/sccdaemon.py", line 641, in run
self.init_drivers()
File "/usr/lib/python2.7/site-packages/scc/sccdaemon.py", line 87, in init_drivers
mod = getattr(__import__('scc.drivers.%s' % (modname,)).drivers, modname)
File "/usr/lib/python2.7/site-packages/scc/drivers/ds4drv.py", line 8, in <module>
from scc.drivers.hiddrv import BUTTON_COUNT, ButtonData, AxisType, AxisData
File "/usr/lib/python2.7/site-packages/scc/drivers/hiddrv.py", line 14, in <module>
from scc.drivers.evdevdrv import FIRST_BUTTON, TRIGGERS, parse_axis
File "/usr/lib/python2.7/site-packages/scc/drivers/evdevdrv.py", line 19, in <module>
import evdev
File "/usr/lib/python2.7/site-packages/evdev/__init__.py", line 7, in <module>
from evdev.uinput import UInput, UInputError
File "/usr/lib/python2.7/site-packages/evdev/uinput.py", line 37
def from_device(cls, *devices, filtered_types=(ecodes.EV_SYN, ecodes.EV_FF), **kwargs):
^
SyntaxError: invalid syntax