Loop from external file (.csv or .xlsx) - issue
Hello,
I'm actually trying to use an external file (.csv or .xslx) instead of the traditional table in order to present my sequences.
There will be one distinct version for each subject, so one external file will be assigned for each of them.
When trying to use a .csv, I got this issue:

And this is the issue when trying to use a .xlsx:

Any advice? :-) Many thanks in advance for your assistance.
Best regards,
Benjamin
Comments
Hi Benjamin,
Regarding the
.csvfile: This must be utf8 encoded. If it's not, and if the file contains special characters (which I'm guessing it does given that you're using the French translation), you get a decoding error. When saving the.csvfile in whatever program you use to edit it, you probably have the option to select the encoding. (The error message could be more informative though.)See also:
Regarding the
.xlsxfile: I forgot to includeopenpyxlduring packaging. You can install by entering the following in the debug window:See also:
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!