Bug 97458

Summary: Make evemu great again (i.e. support python 3)
Product: evemu Reporter: Peter Hutterer <peter.hutterer>
Component: generalAssignee: Benjamin Tissoires <benjamin.tissoires>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 97457    

Description Peter Hutterer 2016-08-24 04:01:03 UTC
IIRC the python bindings at some point were intended to support python3 but:

    if e.matches("EV_ABS", "ABS_X"):
  File "/opt/xorg/lib/python3.5/site-packages/evemu/__init__.py", line 143, in matches
    if event_get_value(type) != self.type:
  File "/opt/xorg/lib/python3.5/site-packages/evemu/__init__.py", line 56, in event_get_value
    t = _libevdev.libevdev_event_type_from_name(str(event_type))
ctypes.ArgumentError: argument 1: <class 'TypeError'>: wrong type


That's not good. Someone should write an angry letter to the editor or something.
Comment 1 Benjamin Tissoires 2016-11-10 09:41:20 UTC
fixed as of 48502394b078702cb877524da657683df9d2de3e

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.