Comments (12)
... and related: it would be good to create a list of dependencies for Linux systems ....
from iohub.
Hi Denis,
I thought Gevent 1.0 was required actually, anything using the older
libevent (gevent 0.x.x series) did not work. Maybe in 0.13.8 DatagramServer
was back ported from 1.0?
Anyways, would be good to handle these dependencies.
Sorry, can you be more explicit? On Linux all the required dependencies for
psychopy and iohub need to be installed manually. I 'think' this list is
still up to date:
http://www.isolver-solutions.com/iohubdocs/iohub/installation.html#linux
Thanks again,
Sol
from iohub.
Looks like some of the links on the install page for linux are now dead
actually, so I need to fix that when I get a chance.
Thanks,
Sol
On Tue, Oct 8, 2013 at 8:26 AM, Sol Simpson [email protected]:
Hi Denis,
I thought Gevent 1.0 was required actually, anything using the older
libevent (gevent 0.x.x series) did not work. Maybe in 0.13.8 DatagramServer
was back ported from 1.0?Anyways, would be good to handle these dependencies.
Sorry, can you be more explicit? On Linux all the required dependencies
for psychopy and iohub need to be installed manually. I 'think' this list
is still up to date:http://www.isolver-solutions.com/iohubdocs/iohub/installation.html#linux
Thanks again,
Sol
from iohub.
@isolver don't worry, I'm almost having a running setup on Linux. I'll update the issue as soon as I'm done here. Then we can see what can be added to the docs.
from iohub.
... Tracker is connected but I get some weid pyglet error.
####### Running: /home/jointattention/FaceJudgmentTask/gc_cursor/run.py ########
Error during runSetupProcedure
<type 'exceptions.AssertionError'>
AssertionError('Must specify width with multiline',)
[' File "/usr/local/lib/python2.7/dist-packages/PsychoPy-1.78.01-py2.7.egg/psychopy/iohub/devices/eyetracker/hw/tobii/eyetracker.py", line 201, in runSetupProcedure\n targetInnerDiameter=targetInnerDiameter)\n',
' File "/usr/local/lib/python2.7/dist-packages/PsychoPy-1.78.01-py2.7.egg/psychopy/iohub/devices/eyetracker/hw/tobii/tobiiCalibrationGraphics.py", line 120, in __init__\n self._createStim()\n',
' File "/usr/local/lib/python2.7/dist-packages/PsychoPy-1.78.01-py2.7.egg/psychopy/iohub/devices/eyetracker/hw/tobii/tobiiCalibrationGraphics.py", line 208, in _createStim\n wrapWidth=self.width*0.9)\n',
' File "/usr/local/lib/python2.7/dist-packages/PsychoPy-1.78.01-py2.7.egg/psychopy/visual.py", line 4317, in __init__\n self.setText(text, log=False) #self.width and self.height get set with text and calcSizeRednered is called\n',
' File "/usr/local/lib/python2.7/dist-packages/PsychoPy-1.78.01-py2.7.egg/psychopy/visual.py", line 4401, in setText\n self._setTextShaders(text)\n',
' File "/usr/local/lib/python2.7/dist-packages/PsychoPy-1.78.01-py2.7.egg/psychopy/visual.py", line 4473, in _setTextShaders\n width=self._wrapWidthPix)#width of the frame\n',
' File "/usr/lib/pymodules/python2.7/pyglet/font/__init__.py", line 347, in __init__\n group=self._group)\n',
' File "/usr/lib/pymodules/python2.7/pyglet/text/layout.py", line 774, in __init__\n assert not multiline or width, \'Must specify width with multiline\'\n']
Xfixes DLL could not be loaded. Cursor visiblity support is unavailable.
from iohub.
@isolver fasscinating. the WrapWidth argument in calibration graphics causes a bad low level crash on Linux with the most recent pyglet version ...
This line:
File "/usr/local/lib/python2.7/dist-packages/PsychoPy-1.78.01-py2.7.egg/psychopy/iohub/devices/eyetracker/hw/tobii/tobiiCalibrationGraphics.py", line 208, in _createStim\n wrapWidth=self.width*0.9)\n'
Shall we add a fix (trying to set wrapwidth) in Psychopy or here?
from iohub.
For pyglet, I would suggest using the 1.1.4 stable version, not 1.2. 1.2
seems to actually be somewhat slower at rendering than 1.1.4.
http://www.pyglet.org/download.html
You should not have an issue using 1.1.4, if you do, let me know what it is.
Thanks again,
Sol
On Tue, Oct 8, 2013 at 9:52 AM, Denis A. Engemann
[email protected]:
@isolver https://github.com/isolver fasscinating. the WrapWidth
argument in calibration graphics causes a bad low level crash on Linux with
the most recent pyglet version ...
This line:File
"/usr/local/lib/python2.7/dist-packages/PsychoPy-1.78.01-py2.7.egg/psychopy/iohub/devices/eyetracker/hw/tobii/tobiiCalibrationGraphics.py",
line 208, in _createStim\n wrapWidth=self.width*0.9)\n'Shall we add a fix (trying to set warpwidth) in Psychopy or here?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/79#issuecomment-25891266
.
from iohub.
looks like you also need to get Xfixes; it came with the Mint Linux distro
I use but maybe not with the distro you are using?
Thanks again,
Sol
On Tue, Oct 8, 2013 at 10:23 AM, Sol Simpson [email protected]:
For pyglet, I would suggest using the 1.1.4 stable version, not 1.2. 1.2
seems to actually be somewhat slower at rendering than 1.1.4.http://www.pyglet.org/download.html
You should not have an issue using 1.1.4, if you do, let me know what it
is.Thanks again,
Sol
On Tue, Oct 8, 2013 at 9:52 AM, Denis A. Engemann <
[email protected]> wrote:@isolver https://github.com/isolver fasscinating. the WrapWidth
argument in calibration graphics causes a bad low level crash on Linux with
the most recent pyglet version ...
This line:File
"/usr/local/lib/python2.7/dist-packages/PsychoPy-1.78.01-py2.7.egg/psychopy/iohub/devices/eyetracker/hw/tobii/tobiiCalibrationGraphics.py",
line 208, in _createStim\n wrapWidth=self.width*0.9)\n'Shall we add a fix (trying to set warpwidth) in Psychopy or here?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/79#issuecomment-25891266
.
from iohub.
Hey Sol,
the issue actually was with 1.14.
I was thinking about about a function that checks for OS / versions and safely adds the text stim params using a try / catch.
Btw. good news: with my temporary hack all is working nicely. I'll wrap up my experience so we can add new examples + docs
from iohub.
@isolver updated the title to match our actual discussion.
from iohub.
excellent. ;) The TextStim fix should likely be implemented in
psychopy.visual, which keeps a flag relarding the pyglet version being used
already for some other 1.1.4 vs 1.2 conditional logic.
On Tue, Oct 8, 2013 at 10:29 AM, Denis A. Engemann <[email protected]
wrote:
Hey Sol,
the issue actually was with 1.14.
I was thinking about about a function that checks for OS / versions and
safely adds the text stim params using a try / catch.Btw. good news: with my temporary hack all is working nicely. I'll wrap up
my experience so we can add new examples + docs—
Reply to this email directly or view it on GitHubhttps://github.com//issues/79#issuecomment-25894673
.
from iohub.
Can this be closed? Not sure / clear what the outstanding issue(s) here are.
from iohub.
Related Issues (20)
- Support non-fullscreen window
- refactor into a more conventional Python module file organization + distutils/setuptools setup.py HOT 9
- Provide copyright/license information for the binary blobs HOT 3
- Provide unittests HOT 1
- Add README contents for project HOT 1
- On OSX some keys are 'eventless' in ioHub HOT 1
- setup.py sdist creates source package installer that fails on windows HOT 1
- EyeLink configuration settings update / fixes HOT 3
- update EyeLink device class method comments
- XInput device events can not be saved to DataStore after first session run. HOT 1
- examples remaining to test
- iohub must be accessed via psychopy.iohub HOT 1
- Linux: mouse events button_states being updated but button is not. HOT 1
- BUG?/ENH: weird behavior on Windows machine / improve Windows support HOT 7
- BUG? hub.getEvents runs forever. HOT 7
- iohub on linux with python 64 bit: yaml ParseError?
- The .iohpid file is written in the working directory
- ioHub SMI eyetracker device creation Psychopy 1.84.2
- Using ioHub to "communicate" with a "game controller" (pedal) in Psychopy HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iohub.