My experiment is behaving differently in python than in js. For some reason, js is shortening and skipping entire routines? No idea why. None of the routines have mouse or keyboard components, they should just appear sequentially. They are all image based - I change the position of an imagestim to make it appear as if an animal is moving. In python, every routine is shown for the correct amount of time. In Js, I see Flying_Bird then Wind then it skips all the others and goes to the Blue routine at the far right.
Hello,
Can you please provide the experiment?
It’s difficult to assist you without getting more context such as, how your routines looks like, what components they have, if you have a spreadsheet etc…
Thanks,
Chen
Yes apologies, here it is: CIExperimentMarch2024.psyexp (1.0 MB)
Basically, I present a series of animations (broken), then ask the user questions about what they saw, then allow them to interact with the animals (also broken), ask them more questions, then do the same thing again with a different setting/animals.
I wrote it in an earlier version of PsychoPy and these errors have only appeared since updating.
A little more detail: I added in three test blocks (t1, t2, t3). Each has only a text component (‘test1’, ‘test2’, ‘test3’). When running the experiment, I see Consent, Welcome, Instructions, and t1, but then t2, t3, Flying_Bird, and Groundhog_3 are skipped and the next routine I see is Wind.
I don’t understand why the three t’s would not play one after the other. I’ve seen in some other posts that having mouse clicks or keyboard responses prior can sometimes cause routine skipping, so I put a loop with 0 repetitions around the Consent, Welcome, Instructions routines, and still t1 played but t2, t3, etc were skipped. Any help would be greatly appreciated, thanks.
I am still having the same issue even when creating a new, super simple experiment in PsychoPy version 24.2.1 (I have uninstalled and reinstalled but that didn’t fix anything). I have also tried adjusting the ‘Use PsychoPy Version’ field from blank to 24.2.1.
This file has only three routines, each with a text component that should display for 5 seconds. When I run the js file locally in pilot mode, the first routine works as expected but the second only flashes for a second and the third doesn’t appear at all. If I run it in pilot mode in python, however, it works as expected.
test_experiment.psyexp (15.5 KB)
Are there some lingering PsychoPy settings from an older version that I need to clear on my computer or is this a bug with the new version? Any help would be appreciated.