psychopy.org | Reference | Downloads | Github

Error messages on Psychopy - Faces Stimuli


#1

Hi

I am trying to set-up an experiment using a faces stimuli, but I keep on getting this message.

########### Running: /Volumes/SARAH/Facesexperiment_lastrun.py ############
10.8928 WARNING User requested fullscreen with size [1024 768], but screen is actually [1440, 900]. Using actual size
2019-02-05 17:48:36.011 python[942:154691] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null)
Traceback (most recent call last):
File “/Volumes/SARAH/Facesexperiment_lastrun.py”, line 227, in
imagetrialfaces.setImage(conditions)
NameError: name ‘conditions’ is not defined

Does anyone know how I could resolve this, please?

Thank you.


#2

Either

  • conditions is not a variable name contained in your conditions file, or
  • you still have the image field of your image component set to be “constant” rather than “set every repeat”.