Ongoing error with wierd code

Hello everyone!
We were trying to build picture matrices for a kind of replication of Öhmans “detecting the snake in the grass” from 2001 and we thought, we could finish the project very soon. But then this Error occured every time we wanted to link the .xls-file to our experiment.

Traceback (most recent call last):
File “d:\Programme\PsychoPy3\lib\site-packages\psychopy\app\builder\dialogs_init_.py”, line 1605, in onBrowseTrialsFile
returnFieldNames=True)
File “d:\Programme\PsychoPy3\lib\site-packages\psychopy\data\utils.py”, line 338, in importConditions
trialList, fieldNames = _attemptImport(fileName=fileName)
File “d:\Programme\PsychoPy3\lib\site-packages\psychopy\data\utils.py”, line 256, in _attemptImport
trialList, fieldNames = pandasToDictList(trialsArr)
File “d:\Programme\PsychoPy3\lib\site-packages\psychopy\data\utils.py”, line 291, in pandasToDictList
trialsArr = dataframe.to_records(index=False)
File “d:\Programme\PsychoPy3\lib\site-packages\pandas\core\frame.py”, line 1419, in to_records
dtype={‘names’: names, ‘formats’: formats}
File “d:\Programme\PsychoPy3\lib\site-packages\numpy\core\records.py”, line 604, in fromarrays
shape = arrayList[0].shape
IndexError: list index out of range

We are using PsychoPy3 on 1.9.6 and have all Windows 10. We had all the same error since we worked on the experiment and even new experiments in other folders can’t be linked to .xls-files anymore. We tried to reinstall Psychopy3 and deleted also the files in the appdata, but we can’t get rid of this.

We would really appreciate help with this!

Hey - please could you share your files here and also can I recommend updating your psychopy to version 2020 or later (preferably the most recent one) - there will be many improvements :slight_smile: