Simple: Insert Pavlovia Survey, stop before task launch?

URL of experiment: RL [PsychoPy]

Description of the problem:
Instead of daisy-chaining from survey to task, I would like to insert my survey at the start of my task. (Ultimately, I’m using this video to pass a survey value forward into the task https://www.youtube.com/watch?v=UxM4zMBM6O4.) The questionnaire works on its own online. The task works on its own online. However, I used “insert routine” and “Pavlovia survey”, I used Survey id and located my survey. I removed the “Completion URL”, but perhaps this was my mistake?

I assumed when the questionnaire was submitted, the routine was complete, and the task would continue?

What version of PsychoPy are you using?

Yep, 2023.2.3.
I’ll upgrade now, see if anything breaks, and update here!

Install errors, but will still try it:
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/_psychopyApp.py”, line 1206, in onIdle
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/idle.py”, line 133, in doIdleTasks
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/idle.py”, line 170, in _doTask
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/pavlovia_ui/menu.py”, line 103, in setUser
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py”, line 157, in login
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/ribbon.py”, line 957, in updateInfo
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py”, line 1646, in project
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py”, line 1467, in getProject
psychopy.exceptions.DependencyError: gitpython and a git installation required for getProject()

It looks like psychopy had serious installation problems. I uninstalled the existing psychopy and did the standalone to be sure I had a clean start, but it looks like I will not be doing much more with the original problem for a while.

I’m guessing you have a Mac.

I haven’t seen that effect before! You could try installing 2024.1.4 as a half-way house and see if that helps.

1 Like

I eventually got 2024.2.4 loaded (updating Python and skipping some apparently unnecessary library for PsychoPy). The survey no longer waited for the “Complete” button press, it automatically launched the task. I just changed the flow a bit to make that a bit less jarring.

Thanks again for the look, I would not have tried the update. Dragged into the future, as ever!

1 Like