[open] pygaze_drift_correct
Hello,
I"m a novice user of opensesame, trying to use it with pygaze.
After installing opensesame (3.0.1) in MacOSX, the error occurred as below.
Failed to open file
item-stack:
exception message: No module named pygaze_drift_correct
time: Thu Oct 29 22:08:46 2015
exception type: ImportError
Traceback:
File "/Users/Desktop/OpenSesame-release-3.0.1/libqtopensesame/qtopensesame.py", line 674, in open_file
experiment_path=os.path.dirname(path))
File "/Users/Desktop/OpenSesame-release-3.0.1/libqtopensesame/items/experiment.py", line 80, in __init__
fullscreen=None)
File "/Users/Desktop/OpenSesame-release-3.0.1/libopensesame/experiment.py", line 168, in __init__
item.item.__init__(self, name, self, string)
File "/Users/Desktop/OpenSesame-release-3.0.1/libopensesame/item.py", line 68, in __init__
self.from_string(string)
File "/Users/Desktop/OpenSesame-release-3.0.1/libopensesame/experiment.py", line 325, in from_string
self.items.new(item_type, item_name, def_str)
File "/Users/Desktop/OpenSesame-release-3.0.1/libqtopensesame/misc/qtitem_store.py", line 83, in new
item = super(qtitem_store, self).new(_type, name=name, script=script)
File "/Users/Desktop/OpenSesame-release-3.0.1/libopensesame/item_store.py", line 176, in new
fromlist=[u'dummy'])
ImportError: No module named pygaze_drift_correct
How should I do?
Best,
Comments
Hi,
This may be due to the settings of your
pygaze_inititem. When using the "simple dummy" or "advanced dummy", the drift correction item doesn't work because it doesn't have eye postion coordinates to work with.Cheers,
Josh
Hello Josh,
How can I use pygaze?
When I try to open the 'pygaze template', the error occurred, and I was not able to write codes.
Should I add 'pygaze_init' to somewhere?
Or is it better to use inline_script?
Best,
I suspect that you haven't installed pygaze, which is why the plug-ins are not available. You can get the 0.6.0 snapshot from my branch (not merged into Edwin's yet):
... and then install as described here:
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hello sebastiaan,
Thank you for pygaze 0.6.0!
I got it.
Sorry, but I have one more question.
I put the pygaze folder on my python path directory.
Where should opensesame-plugins folder be put on?
According to the install guide, 'this folder contains the OpenSesame plug-ins, and need to be copied to (one of) the plugin folders'
To the plugin foders in the pygaze I just put on, or the same directory as pygaze folder is in?
Best,
Dear all,
I put pygaze and opensesame-plugins on the python path directory.
Afetr this, as Josh said, I changed the codes of 'pygaze_init.py'; from dummy to Eyelink as below
But it shows the same error.
Any other setting I should modify?
Best,