Bug 97458 - Make evemu great again (i.e. support python 3)
Summary: Make evemu great again (i.e. support python 3)
Status: RESOLVED FIXED
Alias: None
Product: evemu
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Benjamin Tissoires
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 97457
  Show dependency treegraph
 
Reported: 2016-08-24 04:01 UTC by Peter Hutterer
Modified: 2016-11-10 09:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.