Git Product home page Git Product logo

Comments (12)

dengemann avatar dengemann commented on June 26, 2024

... and related: it would be good to create a list of dependencies for Linux systems ....

from iohub.

isolver avatar isolver commented on June 26, 2024

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 avatar isolver commented on June 26, 2024

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.

dengemann avatar dengemann commented on June 26, 2024

@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.

dengemann avatar dengemann commented on June 26, 2024

... 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.

dengemann avatar dengemann commented on June 26, 2024

@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.

isolver avatar isolver commented on June 26, 2024

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.

isolver avatar isolver commented on June 26, 2024

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.

dengemann avatar dengemann commented on June 26, 2024

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.

dengemann avatar dengemann commented on June 26, 2024

@isolver updated the title to match our actual discussion.

from iohub.

isolver avatar isolver commented on June 26, 2024

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.

isolver avatar isolver commented on June 26, 2024

Can this be closed? Not sure / clear what the outstanding issue(s) here are.

from iohub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.