Hi there,
I have started my experiment on Pavlovia and I run into this issue (which does not occur in piloting mode):
I start my experiment with a text routine (welcome screen) and afterwards there are three surveys (info_survey, dsgvo_survey, demographics). I have three surveys because I want to exclude participants if they did not agree to study information immediately. Thus, there are routines with code components in between the three surveys. This works perfectly fine in piloting mode. However, I have these issues in running mode:
- dsgvo_survey is skipped
- demographics and instruction_avatar routine overlap (see below)
I do not receive any error message. I already tried to insert psychoJS.window.flip() manually but the error remains. Also, it does not depend on the browser, but occurs in every browser.
Could you please help me out?
Thanks a million in advance!
Best,
Jule
Hi Jens,
thank you for your reply!
I am using v2024.2.4 on a MacOS.
Best,
Jule
Hello @JuleSchilling
You need to provide more detail about how you implemented your experiment. For example, how did you determine the exit codes and what ended the welcome screen?
Version 2024.2.4 should not skip routines ( Online timing issue with 2024.2.3 -- upgrade to 2024.2.4 today )
Best wishes Jens
Hi @JensBoelte
In advance, I’d like to mention that I replaced the Pavlovia surveys by a redirect to SoSci Survey solution as I wanted to start my experiment asap and avoid future errors. Also, I updated PsychoPy to the 2025 version by now.
However, for your questions: The welcome routine was ended by pressing the “space” key. The exit codes were all in this manner with different variables of course:
surveyResp = info_survey.getResponse();
no_consent_info = surveyResp["block_1/informed_consent"];
console.log("no_consent_info: " + no_consent_info);
if (String(no_consent_info).trim() === "no_consent_info") {
quitPsychoJS('Vielen Dank für Ihr Interesse. Leider ist eine Teilnahme an der Studie ohne Ihre Zustimmung nicht möglich.', false);
}
They were placed at begin routine. The variable no_consent_info was created empty at the beginning of the experiment.
Hello @JuleSchilling
So, the value of the variable no_consent_info is no_consent_info? I usually make the consent variabel a boolean variable with the values FALSE or TRUE.
Best wishes Jens
Hi @JensBoelte
Yes, the values are “no_consent_info“ and “do_consent_info“.
Sounds reasonable, however, the code worked fine in piloting mode.
Best wishes,
Jule