Issue with code on the gaze tutorial
Hi,
I am attempting to get to grips with creating tasks in OpenSesame so I have used the gaze cuing tutorial in OpenSesame version 3.3.9.
When attempting to run the task I get the following error.
item-stack: experiment[run].Experimental_Loop[run].Block_Sequence[run].Block_Loop[run].Trial_sequence[prepare].Gaze_cue[prepare]
time: Tue Jul 18 16:59:45 2023
exception type: OSError
exception message: Couldn't find image gaze_{gaze_cue}.png; check path? (tried: C:\Program Files (x86)\OpenSesame\gaze_{gaze_cue}.png)
To attempt to troubleshoot this I removed the amended code and just left the gaze_left.png. After this the software then flagged an issue with the code for target letter. I have checked the code and everything is spelt correctly see below for an example for the code that was flagged in the error above, so I am at a bit of a loss as to what I have done wrong. I thought it could also be the way I have set up the block loop, again my untrained eyes can't see any obvious errors (see image below). I am hoping someone who is a bit more experienced might be able to shine a light on this for me, thanks for your help.
set duration 495
set description "Displays stimuli"
draw image center=1 file="gaze_{gaze_cue}.png" scale=1 show_if=True x=0 y=0 z_index=0
Kind Regards,
Paul
Comments
Hi @pfairbairn ,
You are using OpenSesame 3.3 and running the tutorial for 4.0, which is why it doesn't work. I would update to 4.0!
— Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastian,
Thanks for such a quick response to my very basic error, that makes sense! I will ask my institution to update to the latest version.
Kind Regards,
Paul