Psychopy running through experiment without displaying it and jumping to the End

PsychoPy version (e.g. 2024.2.4 Py 3.8): 2024.2.4
Standard Standalone Installation? (y/n) If not then what?: y
URL of experiment: https://run.pavlovia.org/jasmineK/trial3
Do you want it to also run locally? (y/n) y
When the experiment gets to the get_ready routine in the forcedresponseSimon loop, the experiment will jump to then end_study routine (the end) , when checking the log files you can see that it is going through each loop and block of the experiment but onscreen its going straight to the end. I tried making more specific key responses, and have had others try to run it on their device. I also tried deleting the study on Pavlovia and making a new one.

This experiment has a shuffle feature which selects one of two loops (experiments) to follow.

Im experiencing the issue above for the forcedresponseSimon loop, and getting the following error for the ResponseSignal loop.

  • After the response_demo (doesn’t rely on any code) routine, the experiment ends with error “Cannot read properties of undefined (reading ‘0’)” for line 2235: for (const thisTrial_2 of trials_2) {

  • Recently, we added a new variable that ResponseSignal relies on": possible signal onset timings

    min_sig = 0
    max_sig = 1200
    step = 20
    possible_signal_onset_timings = list(range((max_sig), (min_sig+step), step))
    print(“possible_signal_onset_timings”, possible_signal_onset_timings)
    defined in the exp_params early in the experiment,

  • This experiment previously relied on possible_target_onset_timings, also defined in the exp_params.

Any ideas?

Hello @Jasmine_Kaur

The link you provided allows us to participate in your experiment. However, in order to assist you, we require access to the experiment’s repository, or you must provide the necessary details here.

Best wishes Jens

I’ve made the experiments repository public. And I hvae attached my psyexp folder. Thanks for trying to help!

fr.sa.rs.updated3.psyexp (274.6 KB)

Hello @Jasmine_Kaur

The experiment code does not run unless you provide the condition files and stimuli. I tried to look for your repository but could not find it. What’s its name?

In the routine instructions_simon and other routines in your experiment, your list of allowed keys is [“space”,”6”]. I think that “space”, “6” will do.

In the routine get_ready, you have two keyboard which is not advised. One accepts “space”, the other accepts “6”. Use on keyboard-component accepting “space” and “6”.

BTW. I noticed that you replaced the participant field of the Experiment info dialogue. This is not advised, see here Wakefield's Daily Tips - #21 by wakecarter

Best wishes Jens

The name of the repository is Trial4, thanks for trying to help Jen. I origianlly put in two keybord components to trouble shoot, but I will combine them.

Hello @Jasmine_Kaur

I only find these projects with Trial4, but these are probably not your project.

Best wishes Jens