URGENT: Psychopy Movie Task Wont Push To Pavlolvia

Psychopy Builder Version (2024?): Hello everyone!

I am creating an experiment where participants will view movies (each about 23-25 minutes long) and press the spacebar when they believe an event boundary appears.

I currently have it on psychopy and it works fine, however when I try to upload it to Pavlolvia it will typically crash psychopy or if I am able to get to the “Pushing to Pavlolvia for the first time…” screen this error appears:

Traceback (most recent call last):
File “C:\Users\mam20jz\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 1616, in onPavloviaRun
self.onPavloviaSync()
File “C:\Users\mam20jz\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 1612, in onPavloviaSync
pavlovia_ui.syncProject(parent=self, file=self.filename, project=self.project)
File “C:\Users\mam20jz\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 854, in syncProject
project.sync()
File “C:\Users\mam20jz\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 912, in sync
self.firstPush(infoStream=infoStream)
File “C:\Users\mam20jz\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 1149, in firstPush
info = self.commit(
File “C:\Users\mam20jz\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 1315, in commit
info = self.repo.git.commit(‘-m’, message)
File “C:\Users\mam20jz\AppData\Local\Programs\PsychoPy\lib\site-packages\git\cmd.py”, line 986, in
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File “C:\Users\mam20jz\AppData\Local\Programs\PsychoPy\lib\site-packages\git\cmd.py”, line 1598, in _call_process
return self.execute(call, **exec_kwargs)
File “C:\Users\mam20jz\AppData\Local\Programs\PsychoPy\lib\site-packages\git\cmd.py”, line 1388, in execute
raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd(‘C:\Users\mam20jz\AppData\Local\Programs\PsychoPy\MinGit\cmd\git.exe’) failed due to: exit code(1)
cmdline: C:\Users\mam20jz\AppData\Local\Programs\PsychoPy\MinGit\cmd\git.exe commit -m Push initial project files
stdout: ‘On branch master
nothing to commit, working tree clean’

Which to my knowledge means that there is nothing to add to the task on Pavlolvia. But when I go to the task in Pavlolvia it says “The repository for this project is empty”.

I have already tried to manually push this task via my terminal and it just proceeded to time out after trying to push to Pavlolvia for over 10 hours. I also did the thing where you delete and re-create the .git file. I dont know, I was truly trying everything.

I think its potentially because my files are too big? Some are 350-600 MB but others are 3500MB. Is there a way to just upload my stimuli to Pavlolvia first and then just upload the script to pull from the stimuli from Pavlolvia instead?

I’ve been working on this for weeks and its due soon!

Anything helps! Thanks!

I’m sorry but I don’t think that a study with several gigabytes of videos is suitable for running online. Can you try a version with a single compressed MP4 video file at a screen resolution of around 800×600 to 1280x800?

Have a look at this demo for how to embed youtube videos

Background details on the code

These videos are not available from Youtube – these are videos from a TV show that can only be available to the participants participating in the study to avoid copy right issues. Unless Psychopy can access html videos from a ‘private’ html video or if there is a way I can turn the videos into an html in my files and incorporate it?

I don’t really know. I am still new in Psychopy and have only used it twice for an experiment but this is our first time trying to use it on Pavlovia. We do have another study that also uses videos that they’ve created that need to also be pushed onto Pavlovia, but if the size of the video is going to be an issue, any recommendations for other platforms that will support psychopy and allow online publishing of tasks with large videos would be greatly appreciated!!!

From a copyright perspective, is there a difference between unlisted on YouTube or uploaded to the Pavlovia server?

You could embed from Google drive or Vimeo

There isn’t a difference, however YouTube won’t even upload it as unlisted since it is ‘copyrighted’. Embedding did not work for google drive, Vimeo, a different youtube video - nothing. I even tried a different website and it still didn’t work. Our lab just decided that it wasn’t worth the hassle and it was probably because the files were too large so we’ve abandoned it all together.

Thank you though!