Description of the problem: Had so many issues trying to run my Psychopy builder experiment through Pavlovia - posting a new thread as I completely rebuilt it on Psychopy making sure to organise all my resources and simplify it as much as possible (as the last build was my first time ever using Psychopy) and I’m still getting unspecified JavaScript error.
I noticed that you have a lot of very similar routines and no loops.
One this you could do is change all of your allowed keys from ‘space’ to [‘space’] to remove that error, but it’s very difficult to debug. You could put the image names in an Excel/csv file and replace generalisation 0-5 with a single routine (or 0-4 and then keep 5 separate because of the sound file).
What data are you collecting? Without a loop or any code components I think your reaction times for pressing space to repeats of the same routine will replace the previous instance.
@wakecarter It is a fear conditioning/stimulus generalisation task. In the conditioning routine, they are taught to associate 100fear.png image with the unpleasant sound file. Then, the generalisation routines are designed to show them each of the other four images as well as the conditioned image and give them the opportunity to press spacebar to avoid that sound by ending the routine.
The data I am interested in is for what images they choose to press spacebar for, in order for me to see if they have learned to associate the sound with the other, similar, images or if they have just learned the fear/avoidance response to the 100fear.png image. The sound file is with generalisation 5 only as that is the only one they genuinely HAVE to avoid, the others would show they had learned an unnecessary fear response - if that makes sense.
I didn’t realise that repeating the same routine would cause that issue? As I said it’s my first time using any software like this and due to COVID I am not in my university and working completely remotely, so struggling with navigating it all.
@wakecarter I have done some fiddling and research and amended my research so that the experiment uses trial loops instead of repeats (thank you for the suggestion) - obviously still having same issue when I launch online unfortunately
@wakecarter update - I ran the experiment in Firefox and Safari and it ran perfectly. Still having the same issue with Chrome and Microsoft Edge but will try what you suggested. If the sound file is 3 seconds shall I just leave it as infinite duration?
@wakecarter disabled sound components and had the same issue. Posted a separate thread just in case anyone else has had the same issue specific to browser compatibility but any other ideas here I am willing to try!