Hi, i am creating a stroop experiment to which after they have done the stroop they kept on Pavlovia to complete a questionnaire. The experiement runs perfectly fine online however when i have added a routine to qualtrics to direct to the surveys after they have finished i get the error ‘rel’ when attempting to sync.
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 1604, in onPavloviaSync
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 890, in fileExport
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/scripts/psyexpCompile.py”, line 87, in generateScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/scripts/psyexpCompile.py”, line 225, in compileScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/scripts/psyexpCompile.py”, line 198, in _makeTarget
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/_experiment.py”, line 366, in writeScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/components/settings/init.py”, line 1078, in writeInitCodeJS
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/components/settings/init.py”, line 1068, in prepareResourcesJS
KeyError: ‘rel’
I have removed the questionnaire routine and this doesnt appear.
I have a keyboard element to move on from the end screen.
Please could you clarify what you have done. Qualtrics doesn’t have “routines” so I’m guessing you mean a PsychoPy routine. However, daisy chaining (moving from one piece of software to another) is normally done via Experiment Settings / Online.
Have you added any code which includes the letters or reference rel ?
I have an experiment on PsychoPy that runs and syncs perfectly to Pavlovia to be run online. However, when I add a Pavlovia Survey to the experiment in the builder (linked via survey ID) as a standalone routine, I then get the following error when I go to sync to Pavlovia:
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py”, line 1608, in onPavloviaSync
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py”, line 894, in fileExport
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/scripts/psyexpCompile.py”, line 83, in generateScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/scripts/psyexpCompile.py”, line 221, in compileScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/scripts/psyexpCompile.py”, line 194, in _makeTarget
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/experiment/_experiment.py”, line 366, in writeScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/experiment/components/settings/init.py”, line 1101, in writeInitCodeJS
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/experiment/components/settings/init.py”, line 1091, in prepareResourcesJS
KeyError: ‘rel’
If I remove the survey routine from the experiment, it syncs just fine with no errors. Can anyone help me figure out what this error is and what could be causing it?