I was already able to set a mouse correct answer, but now I am trying to make image components clickable, thatâs when I started facing that issue. I originally had the later version for MacOS, but I was advised to download an older version: v.2024.1.5
are you suggesting downloading v.2024.1.4?
I did delete the mouse component and added it again, same issue unfortunately.
I got this in the logs:
40.1128 INFO Loaded monitor calibration from [â2024_04_29 17:04â]
40.1266 INFO Loaded monitor calibration from [â2024_04_29 17:04â]
Generating PsychoPy scriptâŚ
Running: /Users/zyadelmahdy/Documents/the talking mouse (psychopy)/0.1/#1_lastrun.py
85.3783 INFO Loaded monitor calibration from [â2024_04_29 17:04â]
85.3958 INFO Loaded monitor calibration from [â2024_04_29 17:04â]
2024-11-07 17:17:06.102 python[2910:70534] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/72/2czhyr_d2d3fb3__p0rx3fnw0000gn/T/org.opensciencetools.psychopy.savedState
2024-11-07 17:17:07.457 python[2910:70534] +[IMKClient subclass]: chose IMKClient_Modern
[-0.00666667 0.07166667]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.00833333 0.07333333]
[-0.005 0.07333333]
[0. 0.07333333]
[0.00166667 0.07333333]
[0.00166667 0.07333333]
[0.00166667 0.07333333]
[0.00166667 0.07333333]
[0.00166667 0.07333333]
[0.00166667 0.07333333]
[0.00333333 0.075 ]
[0.005 0.075]
[0.00666667 0.075 ]
[0.00833333 0.075 ]
[0.01 0.075]
[0.01 0.075]
[0.01 0.075]
[0.01 0.075]
[0.01 0.07666667]
[0.01 0.07666667]
[0.01 0.07666667]
[0.01 0.07666667]
[0.005 0.07666667]
[0.00333333 0.07666667]
[0.00333333 0.07666667]
[0.00333333 0.07666667]
[0.00333333 0.07666667]
[0.00333333 0.07666667]
[0.00333333 0.07666667]
[0.00333333 0.07666667]
[0.00333333 0.07666667]
[0.00333333 0.07666667]
[0.00333333 0.07666667]
[0.00333333 0.07 ]
[0.00166667 0.06666667]
[0.00166667 0.06666667]
[0.00166667 0.06666667]
[-0.00166667 0.065 ]
[-0.00333333 0.065 ]
[-0.005 0.06333333]
[-0.00666667 0.06333333]
[-0.01 0.06166667]
[-0.01166667 0.06166667]
[-0.01166667 0.06 ]
[-0.01333333 0.06 ]
[-0.01333333 0.06 ]
[-0.01333333 0.06 ]
[-0.015 0.06166667]
[-0.01666667 0.06166667]
[-0.02833333 0.07166667]
[-0.03666667 0.08 ]
[-0.04333333 0.08833333]
[-0.05 0.09666667]
[-0.07833333 0.13333333]
[-0.08666667 0.14333333]
[-0.09166667 0.15 ]
[-0.11666667 0.19166667]
[-0.12333333 0.20666667]
[-0.13166667 0.22333333]
[-0.15333333 0.285 ]
[-0.15333333 0.285 ]
[-0.15333333 0.285 ]
[-0.16 0.32333333]
[-0.16 0.32833333]
[-0.155 0.34333333]
[-0.14833333 0.35166667]
[-0.145 0.355]
[-0.11666667 0.37666667]
[-0.10833333 0.38333333]
[-0.09833333 0.38833333]
[-0.07166667 0.4 ]
[-0.06833333 0.4 ]
[-0.06166667 0.40333333]
[-0.06166667 0.40333333]
[-0.05833333 0.40333333]
[-0.05833333 0.40333333]
[-0.05833333 0.40333333]
[-0.05833333 0.40333333]
[-0.05833333 0.405 ]
[-0.05833333 0.405 ]
[-0.05833333 0.405 ]
[-0.05833333 0.405 ]
[-0.05833333 0.405 ]
[-0.05833333 0.405 ]
[-0.05833333 0.405 ]
[-0.05833333 0.405 ]
[-0.05833333 0.405 ]
[-0.05833333 0.405 ]
[-0.05833333 0.405 ]
[-0.05833333 0.405 ]
[-0.05833333 0.405 ]
2024-11-07 17:17:07.457 python[2910:70534] +[IMKInputSession subclass]: chose IMKInputSession_Modern
Traceback (most recent call last):
8.4195 DEBUG Fullscreen settings ignored as running in pilot mode.
8.4206 INFO Loaded monitor calibration from [â2024_04_29 17:04â]
8.6398 EXP Created window1 = Window(allowGUI=True, allowStencil=False, autoLog=True, backendConf=UNKNOWN, backgroundFit=<method-wrapper âgetattributeâ of attributeSetter object at 0x7f97213b7ee0>, backgroundImage=<method-wrapper âgetattributeâ of attributeSetter object at 0x7f97213b7e80>, bitsMode=UNKNOWN, blendMode=âavgâ, bpc=(8, 8, 8), color=array([0, 0, 0]), colorSpace=ârgbâ, depthBits=8, fullscr=<method-wrapper âgetattributeâ of attributeSetter object at 0x7f97213b7c70>, gamma=None, gammaErrorPolicy=âraiseâ, infoMsg=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x7f97213af7f0>, multiSample=False, name=âwindow1â, numSamples=2, pos=[556.0, 341.0], screen=0, size=array([1600, 1200]), stencilBits=0, stereo=False, title=âPsychoPyâ, units=âheightâ, useFBO=True, useRetina=True, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType=âpygletâ)
8.6399 EXP window1: backgroundImage = ââ
8.6399 EXP window1: backgroundFit = ânoneâ
8.6400 EXP window1: mouseVisible = True
8.6405 EXP window1: mouseVisible = True
8.6408 EXP window1: mouseVisible = True
8.6430 EXP window1: mouseVisible = True
8.6435 EXP window1: mouseVisible = True
8.6486 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6489 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6495 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6503 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6511 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6518 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6525 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6528 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6531 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6533 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6540 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6547 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6549 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6554 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6559 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6565 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6570 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6574 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6580 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6585 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6592 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6598 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6603 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6610 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6615 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6620 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6627 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6629 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6631 DEBUG Uploading Texture Font fontname to graphics card
8.6669 DEBUG Upload of Texture Font fontname complete
8.6693 EXP window1: mouseVisible = True
8.6694 EXP window1: mouseVisible = True
8.6698 EXP window1: mouseVisible = True
8.6702 EXP window1: mouseVisible = True
8.6736 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6743 DEBUG TextBox2 loaded 1 chars with 0 blanks and 1 valid
8.6744 DEBUG Uploading Texture Font fontname to graphics card
8.6764 DEBUG Upload of Texture Font fontname complete
9.9036 INFO keyboard.Keyboard is using ptb backend.
10.2201 INFO keyboard.Keyboard is using ptb backend.
10.2201 EXP #1: status = STARTED
10.2204 EXP window1: mouseVisible = True
10.2567 EXP Created text = TextStim(class=<class âpsychopy.visual.text.TextStimâ>, alignHoriz=method-wrapper(âŚ), alignText=âcenterâ, alignVert=method-wrapper(âŚ), anchorHoriz=âcenterâ, anchorVert=âcenterâ, antialias=True, autoDraw=False, autoLog=True, bold=False, color=array([1., 1., 1.]), colorSpace=ârgbâ, contrast=1.0, depth=0.0, draggable=False, flipHoriz=False, flipVert=False, font=âArialâ, fontFiles=, height=0.05, italic=False, languageStyle=âLTRâ, name=âtextâ, opacity=1.0, ori=0.0, pos=array([0., 0.]), rgb=UNKNOWN, text=str(âŚ), units=âheightâ, win=Window(âŚ), wrapWidth=1)
10.2568 EXP window1: mouseVisible = True
10.2682 EXP Created question_img = ImageStim(class=<class âpsychopy.visual.image.ImageStimâ>, anchor=(âcenterâ, âcenterâ), autoLog=True, color=array([1., 1., 1.]), colorSpace=ârgbâ, contrast=1.0, depth=-2.0, draggable=False, flipHoriz=False, flipVert=False, image=âdefault.pngâ, interpolate=True, mask=None, maskParams=None, name=âquestion_imgâ, opacity=1.0, ori=0.0, pos=array([0., 0.]), size=array([0.2, 0.2]), texRes=128.0, units=âheightâ, win=Window(âŚ))
10.2683 EXP window1: mouseVisible = True
10.2718 EXP Created img_1 = ImageStim(class=<class âpsychopy.visual.image.ImageStimâ>, anchor=(âcenterâ, âcenterâ), autoLog=True, color=array([1., 1., 1.]), colorSpace=ârgbâ, contrast=1.0, depth=-3.0, draggable=False, flipHoriz=False, flipVert=False, image=âdefault.pngâ, interpolate=True, mask=None, maskParams=None, name=âimg_1â, opacity=1.0, ori=0.0, pos=array([0. , 0.4]), size=array([0.2, 0.2]), texRes=128.0, units=âheightâ, win=Window(âŚ))
10.2719 EXP window1: mouseVisible = True
10.2753 EXP Created img_2 = ImageStim(class=<class âpsychopy.visual.image.ImageStimâ>, anchor=(âcenterâ, âcenterâ), autoLog=True, color=array([1., 1., 1.]), colorSpace=ârgbâ, contrast=1.0, depth=-4.0, draggable=False, flipHoriz=False, flipVert=False, image=âdefault.pngâ, interpolate=True, mask=None, maskParams=None, name=âimg_2â, opacity=1.0, ori=0.0, pos=array([0.5, 0.4]), size=array([0.2, 0.2]), texRes=128.0, units=âheightâ, win=Window(âŚ))
10.2754 EXP window1: mouseVisible = True
10.2786 EXP Created img_3 = ImageStim(class=<class âpsychopy.visual.image.ImageStimâ>, anchor=(âcenterâ, âcenterâ), autoLog=True, color=array([1., 1., 1.]), colorSpace=ârgbâ, contrast=1.0, depth=-5.0, draggable=False, flipHoriz=False, flipVert=False, image=âdefault.pngâ, interpolate=True, mask=None, maskParams=None, name=âimg_3â, opacity=1.0, ori=0.0, pos=array([0.5, 0. ]), size=array([0.2, 0.2]), texRes=128.0, units=âheightâ, win=Window(âŚ))
10.2787 EXP window1: mouseVisible = True
10.2819 EXP Created img_4 = ImageStim(class=<class âpsychopy.visual.image.ImageStimâ>, anchor=(âcenterâ, âcenterâ), autoLog=True, color=array([1., 1., 1.]), colorSpace=ârgbâ, contrast=1.0, depth=-6.0, draggable=False, flipHoriz=False, flipVert=False, image=âdefault.pngâ, interpolate=True, mask=None, maskParams=None, name=âimg_4â, opacity=1.0, ori=0.0, pos=array([ 0.5, -0.4]), size=array([0.2, 0.2]), texRes=128.0, units=âheightâ, win=Window(âŚ))
10.2819 EXP window1: mouseVisible = True
10.2851 EXP Created img_5 = ImageStim(class=<class âpsychopy.visual.image.ImageStimâ>, anchor=(âcenterâ, âcenterâ), autoLog=True, color=array([1., 1., 1.]), colorSpace=ârgbâ, contrast=1.0, depth=-7.0, draggable=False, flipHoriz=False, flipVert=False, image=âdefault.pngâ, interpolate=True, mask=None, maskParams=None, name=âimg_5â, opacity=1.0, ori=0.0, pos=array([ 0. , -0.4]), size=array([0.2, 0.2]), texRes=128.0, units=âheightâ, win=Window(âŚ))
10.2852 EXP window1: mouseVisible = True
10.2886 EXP Created img_6 = ImageStim(class=<class âpsychopy.visual.image.ImageStimâ>, anchor=(âcenterâ, âcenterâ), autoLog=True, color=array([1., 1., 1.]), colorSpace=ârgbâ, contrast=1.0, depth=-8.0, draggable=False, flipHoriz=True, flipVert=False, image=âdefault.pngâ, interpolate=True, mask=None, maskParams=None, name=âimg_6â, opacity=1.0, ori=0.0, pos=array([-0.5, -0.4]), size=array([-0.2, 0.2]), texRes=128.0, units=âheightâ, win=Window(âŚ))
10.2886 EXP window1: mouseVisible = True
10.2920 EXP Created img_7 = ImageStim(class=<class âpsychopy.visual.image.ImageStimâ>, anchor=(âcenterâ, âcenterâ), autoLog=True, color=array([1., 1., 1.]), colorSpace=ârgbâ, contrast=1.0, depth=-9.0, draggable=False, flipHoriz=False, flipVert=False, image=âdefault.pngâ, interpolate=True, mask=None, maskParams=None, name=âimg_7â, opacity=1.0, ori=0.0, pos=array([-0.5, 0. ]), size=array([0.2, 0.2]), texRes=128.0, units=âheightâ, win=Window(âŚ))
10.2921 EXP window1: mouseVisible = True
10.2952 EXP Created img_8 = ImageStim(class=<class âpsychopy.visual.image.ImageStimâ>, anchor=(âcenterâ, âcenterâ), autoLog=True, color=array([1., 1., 1.]), colorSpace=ârgbâ, contrast=1.0, depth=-10.0, draggable=False, flipHoriz=False, flipVert=False, image=âdefault.pngâ, interpolate=True, mask=None, maskParams=None, name=âimg_8â, opacity=1.0, ori=0.0, pos=array([-0.5, 0.4]), size=array([0.2, 0.2]), texRes=128.0, units=âheightâ, win=Window(âŚ))
10.2953 EXP window1: mouseVisible = True
10.2960 EXP Created fb_txt = TextStim(class=<class âpsychopy.visual.text.TextStimâ>, alignHoriz=method-wrapper(âŚ), alignText=âcenterâ, alignVert=method-wrapper(âŚ), anchorHoriz=âcenterâ, anchorVert=âcenterâ, antialias=True, autoDraw=False, autoLog=True, bold=False, color=array([1., 1., 1.]), colorSpace=ârgbâ, contrast=1.0, depth=-1.0, draggable=False, flipHoriz=False, flipVert=False, font=âArialâ, fontFiles=, height=0.05, italic=False, languageStyle=âLTRâ, name=âfb_txtâ, opacity=1.0, ori=0.0, pos=array([ 0. , -0.3]), rgb=UNKNOWN, text=ââ, units=âheightâ, win=Window(âŚ), wrapWidth=1)
10.2961 EXP window1: mouseVisible = True
10.2992 EXP Created fb_img = ImageStim(class=<class âpsychopy.visual.image.ImageStimâ>, anchor=(âcenterâ, âcenterâ), autoLog=True, color=array([1., 1., 1.]), colorSpace=ârgbâ, contrast=1.0, depth=-2.0, draggable=False, flipHoriz=False, flipVert=False, image=âdefault.pngâ, interpolate=True, mask=None, maskParams=None, name=âfb_imgâ, opacity=1.0, ori=0.0, pos=array([0., 0.]), size=array([0.5, 0.5]), texRes=128.0, units=âheightâ, win=Window(âŚ))
0.0827 INFO Keyboard events cleared
0.0827 EXP text: autoDraw = True
0.6419 DATA Mouse: Left button down, pos=(396,344)
0.7161 DATA Mouse: Left button up, pos=(396,343)
1.9645 DEBUG Read csv file with pandas: stims.csv
1.9672 DEBUG Clearing unnamed columns from stims.csv
1.9681 EXP Imported stims.csv as conditions, 15 conditions, 10 params
1.9696 EXP Created sequence: random, trialTypes=15, nReps=1, seed=None
1.9697 EXP New trial (rep=0, index=0): OrderedDict([(âquestionâ, âimg/1_x.pngâ), (âans_1â, âimg/1_a.pngâ), (âans_2â, âimg/1_b.pngâ), (âans_3â, âimg/1_c.pngâ), (âans_4â, âimg/1_d.pngâ), (âans_5â, âimg/1_e.pngâ), (âans_6â, âimg/1_f.pngâ), (âans_7â, âimg/1_g.pngâ), (âans_8â, âimg/1_h.pngâ), (âcorr_ansâ, âans_1â)])
2.0775 DATA Keypress: return
2.0831 EXP text: autoDraw = False
2.0831 EXP question_img: image = âimg/1_x.pngâ
2.0831 EXP img_1: image = âimg/1_a.pngâ
2.0831 EXP img_2: image = âimg/1_b.pngâ
2.0831 EXP img_3: image = âimg/1_c.pngâ
2.0831 EXP img_4: image = âimg/1_d.pngâ
2.0831 EXP img_5: image = âimg/1_e.pngâ
2.0831 EXP img_6: image = âimg/1_f.pngâ
2.0831 EXP img_7: image = âimg/1_g.pngâ
2.0831 EXP img_8: image = âimg/1_h.pngâ
2.0831 EXP question_img: image = âimg/1_x.pngâ
2.0831 EXP img_1: image = âimg/1_a.pngâ
2.0831 EXP img_2: image = âimg/1_b.pngâ
2.0831 EXP img_3: image = âimg/1_c.pngâ
2.0831 EXP img_4: image = âimg/1_d.pngâ
2.0831 EXP img_5: image = âimg/1_e.pngâ
2.0831 EXP img_6: image = âimg/1_f.pngâ
2.0831 EXP img_7: image = âimg/1_g.pngâ
2.0831 EXP img_8: image = âimg/1_h.pngâ
2.0831 EXP question_img: autoDraw = True
2.0831 EXP img_1: autoDraw = True
2.0831 EXP img_2: autoDraw = True
2.0831 EXP img_3: autoDraw = True
2.0831 EXP img_4: autoDraw = True
2.0831 EXP img_5: autoDraw = True
2.0831 EXP img_6: autoDraw = True
2.0831 EXP img_7: autoDraw = True
2.0831 EXP img_8: autoDraw = True
3.0245 DATA Mouse: Left button down, pos=(365,543)
3.0404 EXP window1: mouseVisible = True
3.0414 DEBUG Saving data for #1 ExperimentHandler
3.0425 INFO saved data to /Users/zyadelmahdy/Documents/the talking mouse (psychopy)/0.1/data/479458_#1_2024-11-07_17h17.06.538.psydat
3.0429 INFO saved data to â/Users/zyadelmahdy/Documents/the talking mouse (psychopy)/0.1/data/479458_#1_2024-11-07_17h17.06.538.csvâ
3.0445 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
3.0446 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
File â/Users/zyadelmahdy/Documents/the talking mouse (psychopy)/0.1/#1_lastrun.pyâ, line 1197, in
run(
File â/Users/zyadelmahdy/Documents/the talking mouse (psychopy)/0.1/#1_lastrun.pyâ, line 956, in run
print(mouse.clicked_name,corrAns)
NameError: name âcorrAnsâ is not defined
################# Experiment ended with exit code 1 [pid:2910] #################