evemu: python bindings do not work without -dev package

Bug #1152774 reported by Stephen M. Webb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evemu
In Progress
High
Stephen M. Webb
evemu (Ubuntu)
Fix Released
High
Stephen M. Webb

Bug Description

Attempting to use the evemu python bindings without the -dev package installed fails.

ariel:~/projects/oif/evemu/evemu$ sudo python -c "import evemu; evemu.Device('/dev/input/event0')"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/evemu/__init__.py", line 64, in __init__
    self._evemu = evemu.base.EvEmuBase(find_library(evemu.const.LIB))
  File "/usr/lib/python2.7/dist-packages/evemu/base.py", line 16, in __init__
    self._lib = ctypes.CDLL(library, use_errno=True)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libevemu.so: cannot open shared object file: No such file or directory

Related branches

Stephen M. Webb (bregma)
Changed in evemu (Ubuntu):
status: New → In Progress
assignee: nobody → Stephen M. Webb (bregma)
importance: Undecided → High
Stephen Kitt (steve-sk2)
Changed in evemu (Ubuntu):
status: In Progress → Fix Released
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.