I have a script to run an experiment that presents stimuli and records answers. The script was running normally in the previous version of PsychoPy (1.83), but since upgrading to 1.84.1, the script crashes right after the instructions screen (where the block type is selected and the first trial is presented), with the follwing error:
###### Running: D:\Experiments\Imagery\Tasks\2.MRI\imageryMRI_lastrun.py ####### pyo version 0.8.0 (uses single precision) FreeType import Failed: Freetype library not found Traceback (most recent call last): File "D:\Experiments\Imagery\Tasks\2.MRI\imageryMRI_lastrun.py", line 648, in <module> units='norm') File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.84.1-py2.7.egg\psychopy\contrib\lazy_import.py", line 120, in __call__ return obj(*args, **kwargs) File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.84.1-py2.7.egg\psychopy\visual\textbox\__init__.py", line 376, in __init__ self._font_name = fm.getFontFamilyStyles() IndexError: list index out of range
Sometimes the script crashes right after running it (pressing Ctrl+R), whereas other times it gets to the initial (instructions) screen and only crashes after the spacebar is pressed there to continue.
Googling the terms above did not find me anything helpful. I checked all routines&components again and can find nothing that would be problematic.
I uploaded my script here in case anyone is able to have a look. Many thanks for any help.
OS (e.g. Win10): Win 8
PsychoPy version (e.g. 1.84.x): 1.84.1
Standard Standalone? (y/n) If not then what?: y
**What are you trying to achieve?:run my script