I am well aware that it is a large ask, but I have been trying to fix an old experiment of my uni for the last couple of weeks. I tried really! hard to not push my problems onto other people, but I am at a loss. If someone could take a look at the files and maybe spot an easy fix for which I am not savy enough, that would be enormous. Thank you guys in advance.
OS Win10 PsychoPy version2024.2.4 Standard Standalone Installation Sign in · GitLab Do you want it to also run locally? n What are you trying to achieve?:
I have inherited the experiment from my university and it was already executed succesfully in the past (not by me and a couple years ago). I would like it to run again.
In my opinion the problem lies in the conversion of the .py script to .js. The experiment encounters multiple issues, starting with the download of the resources not working.
What did you try to make it work?:
I have troubleshot multiple code-components and tried to rewrite them via AI. Sadly I am not good with the task at hand and the person in charge of the code is no longer available.
thank you so much again. I have by now fixed the afforementioned error with the backslashes, which caused me another problem: I ran into trouble with the previous method of downloading resources. By now the experiment downloads them all as I added a Resource Manager component instead. Now I encounter another problem:
I apologize again for the inconvenience and greatly appreciate the support so far. I have updated the repository as well if that proviedes necessary information.
Edit: I am also aware of this suggestion, sadly I have failed so far to implement it - if it is the problem at hand at all:
Currently the experiment (as it was handed to me) does not use a .csv for the stimuli. Rather every single stimulus is deposited seperately in the properties and as of now in my freshly created resource manager
Should I insted try to create a CSV containing a column for each set and the filename of each jpg (001a.jpg all through to 192b.jpg ? I am currently trying to stick to the original experiment as closely as possible in the hope of preventing followup-errors. According to my supervisor it “used to work”.
The resource manager is distinct from how the image names are assigned to the image component. Do you have a separate image component for every image file, or a list hard coded into a code component?
Personally, I rarely use the resource manager component. I add resources in Experiment Settings / Online or use a code component.