Do you have code which needs an integer but (for some reason) is being given an empty variable?
Hi everyone,
I’m currently building a Trail-Making Task in PsychoPy but I’m having some issues. Participants have to click on circles with numbers 1-25 in them, in numerical order. Right now I’m working with some code (see below) from a previous post about the Trail-Making Task, which turns each circle green if clicked in the correct order, and ends the task once each circle has been clicked. My problem is that this only works until the tenth circle. Once it gets to double digits the code won’t…
Alternatively, add fullscr = True in win1 (if you have two screens)
OS : Win10
PsychoPy version : v2021.1.4
What are you trying to achieve?:
I am trying to show two stimuli on two different screens at the same time.
What did you try to make it work?:
I have created to screens at the beginn of the experiments
win1 = visual.Window(
size=[1920, 1080], fullscr=True, screen=0,
winType=‘pyglet’, allowGUI=False, allowStencil=False,
monitor=‘Monitor’, color=[-1,-1,-1], colorSpace=‘rgb’,
blendMode=‘avg’, useFBO=False,
units=‘norm’)
win2 = visual.Window(
size…
Look at your Experiment Settings, and the Screen tab. Do you have a string in the ‘Screen’ field? You should have an int giving the screen number e.g., 1.
OS (e.g. Win10): Mac 10.14.6
PsychoPy version (e.g. 1.84.x): v2020.1.2
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?: Run experiment
What did you try to make it work?: Restarted PyschoPy/computer. Verified settings (was running fine previously). The only thing that’s changed (in my mind) is I started to try to run online (which didn’t work)
What specifically went wrong when you tried that?:
Experiment did not run at all. Got a TypeError exception:
TypeEr…