-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with running mousecontrol.py #275
Comments
I haven't done much experimenting with the Linux portion of emokit. However, if I had to make an educated guess, I would say, the issue lays with
I would investigate why its not loading that library. |
Hi, I have been trying to run mouse control.py from https://github.com/nikhiljay/brainwaves/tree/master/emokit/python and I am getting following error.
`Traceback (most recent call last):
File "/Users/divz/anaconda/lib/python2.7/site-packages/gevent/greenlet.py", line 534, in run
result = self._run(*self.args, **self.kwargs)
File "/Users/divz/Documents/brainwaves-master/emokit/python/emokit/emotiv.py", line 425, in setup
self.setup_darwin()
File "/Users/divz/Documents/brainwaves-master/emokit/python/emokit/emotiv.py", line 552, in setup_darwin
data = hidraw.read(34)
File "hid.pyx", line 105, in hid.device.read (hid.c:2338)
ValueError: not open
<Greenlet at 0x102591e10: <bound method Emotiv.setup of <emokit.emotiv.Emotiv object at 0x10218d510>>> failed with ValueError
Traceback (most recent call last):
File "mouse_control.py", line 79, in
main()
File "mouse_control.py", line 50, in main
screen = Xlib()
File "mouse_control.py", line 16, in init
self.xlib = ctypes.cdll.LoadLibrary('libX11.dylib')
File "/Users/divz/anaconda/lib/python2.7/ctypes/init.py", line 440, in LoadLibrary
return self._dlltype(name)
File "/Users/divz/anaconda/lib/python2.7/ctypes/init.py", line 362, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(libX11.dylib, 6): image not found`
Any help would be appreciated. Thanks in advance !
The text was updated successfully, but these errors were encountered: