psychopy.org | Reference | Downloads | Github

OSError: Your conditions file should be an xlsx, csv, dlm, tsv or pkl file

Traceback (most recent call last):
File “D:\psychopy4\lib\site-packages\psychopy\app\builder\dialogs_init_.py”, line 1602, in onBrowseTrialsFile
returnFieldNames=True)
File “D:\psychopy4\lib\site-packages\psychopy\data\utils.py”, line 421, in importConditions
raise IOError('Your conditions file should be an ’
OSError: Your conditions file should be an xlsx, csv, dlm, tsv or pkl file

Hi @Yihan , looks like you are using a file with an unrecognised extension. Can you show what you are doing with your conditions file e.g., where are you loading it, what it is called?

I’m glad to hear from you.I’m using conditions file to create a new loop.I’m loading it from a created folder called “毕业设计”.It’s called "练习实验2” also in Chinese.Strangly,a condition file in the same folder named “练习实验1” can run normally.

Not really sure, but it may not like spaces in the name if there is one. Can you try renaming your files to single word filenames?

Same questions.I just can’t understand that same format condition file in same loading file can run normally.But the other can’t.
thx a lot anyway.