Exporting a task from PsychoPy onto pavlovia

Hey all,

I want to export an experimental task from PsychoPy onto Pavlovia.

I believe I need to convert this to a HTML first, is this the right way of doing it:

Every time I try it this way, the program brakes down!

Thanks!

Click on Sync rather than Export HTML, making sure you are logged in.

Hey, sadly that doesn’t work, but I tried this:

I want to sync this experimental task onto the imagine part 2 folder on Pavlovia - but when I try to do this, it freezes!

I would really appreciate more of your advice :slight_smile:

Choose a local root with nothing in it. It may be freezing because it’s trying to sync your entire downloads folder.

So if my screen looks like this:

What do I press to sync?

The right hand of the two green globes

When I do that, this comes up:

Write something
Click Okay
Stare at the globe until it goes green or red

Have pressed ‘okay’ and the cursor is currently showing that rotating circle (I.e. it’s loading something)

I get this now…

image

@wakecarter

This is the error message I get now!

Already up to date.
done
Pushing changes from remote…Traceback (most recent call last):
File “/Volumes/PsychoPy-2021.1.3/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/pavlovia_ui/project.py”, line 538, in syncProject
File “/Volumes/PsychoPy-2021.1.3/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.py”, line 662, in sync
File “/Volumes/PsychoPy-2021.1.3/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.py”, line 730, in push
File “/Volumes/PsychoPy-2021.1.3/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.py”, line 721, in push
File “/Volumes/PsychoPy-2021.1.3/PsychoPy.app/Contents/Resources/lib/python3.6/git/cmd.py”, line 548, in
File “/Volumes/PsychoPy-2021.1.3/PsychoPy.app/Contents/Resources/lib/python3.6/git/cmd.py”, line 1014, in _call_process
File “/Volumes/PsychoPy-2021.1.3/PsychoPy.app/Contents/Resources/lib/python3.6/git/cmd.py”, line 825, in execute
git.exc.GitCommandError: Cmd(’/Volumes/PsychoPy-2021.1.3/PsychoPy.app/Contents/Resources/git-core/git’) failed due to: exit code(1)
cmdline: /Volumes/PsychoPy-2021.1.3/PsychoPy.app/Contents/Resources/git-core/git push https://oauth2:af24a63fad8d2e3e9813b5ebf7ef6731bbb0f71012499103d6652756503d86e1@gitlab.pavlovia.org/r.rodrigues/imagine-part-2.git master
stderr: ‘error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date’

That sounds like you should try again

Tried again and got the same issue! Maybe if I try again tomorrow - fresh new day, refreshed wifi connection? I will let you know the outcome! If the same thing doesn’t work, @wakecarter what should I try?

Maybe try logging out of Pavlovia in Builder and back in again. I’m afraid that this isn’t my area of expertise.