Hi,
I’m sorry if this is a very basic question, but I searched the forum and couldn’t find similar threads, so I’d be really happy if someone knows the answer.
I have an experiment that I mainly built in the builder (just very little customised code components). Ultimately, I want it to run online. So I’m trying to make it compatible with Pavlovia and therefore I wanted to exchange the .xlsx files I’m using as conditions-files in several loops for .csv-files.
For some of the .csv-files that I created from the Excel-files it works to use them as conditions-files, for others however I get an error message when trying to set them as the condtions-file of a loop. The error message says that it is an unhandled internal error - I will attach a screenshot here:
So my question is: What can I do to use the .csv-file? Some of the fields of the csv-files also contain commas, but actually I set the delimiter to the semicolon, so I don’t think this should have an impact, right?
Thank you so much for taking the time and helping me!
Best, Klaro.
I normally use xlsx files with Pavlovia but for one project I’ve been asked to switch to CSV (because it works better with GitLab). This broke some of my Excel files, but I was able to fix them by saving in UTF-8 format.
I set the delimiter to semi-colon when saving the files as CSV in UTF-8 format (just when saving them from .xlsx to .csv, but not in PsychoPy).
When trying to pilot the experiment on Pavlovia it gets stuck on the “initialising”-page and I thought it might have to do something with the way pandas could be used to handle the Excel-files, that’s why I wanted to change them to CSV.
Hi, thank you for trying it, and great to know that other delimiters work as well. I think it might have been a local problem on my PC, because I tried it with a new experiment and it worked there. Sorry to have taken the time!
And thank you for pointing out the developer tools, they were really helpful with the “initialising”-page, which also works now.