psychopy.org | Reference | Downloads | Github

Unhandled internal error when trying to upload/sync projects from Psychopy to Pavlovia

Hello all,

I’m trying to upload my study to Pavlovia from PsychoPy but I’ve been receiving the below error anytime I try to accomplish this. It does create a project on Pavlovia but is unable to run. Everything runs perfectly locally. I have tried reinstalling and dummy experiments also fail to upload correctly. If needed, I have uploaded the project and csv below. Any help would be greatly appreciated!

Thank you!

pilot.psyexp (61.9 KB)
Problems.csv (8.5 KB)

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 1350, in onPavloviaSync
retVal = pavlovia_ui.syncProject(parent=self, project=self.project)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 538, in syncProject
infoStream=syncFrame)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\functions.py”, line 119, in showCommitDialog
project.commit(commitMsg)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 967, in commit
self.repo.git.commit(’-m’, message)
File “C:\Program Files\PsychoPy\lib\site-packages\git\cmd.py”, line 548, in
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\git\cmd.py”, line 1014, in _call_process
return self.execute(call, **exec_kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\git\cmd.py”, line 825, in execute
raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd(‘C:\Program Files\PsychoPy\MinGit\cmd\git.exe’) failed due to: exit code(1)
cmdline: C:\Program Files\PsychoPy\MinGit\cmd\git.exe commit -m _
stdout: 'On branch master
Changes not staged for commit:
deleted: .RData
deleted: .Rhistory
deleted: 2.pdf
modified: Current Courses/Fall 2021/Math 522/Homework/Analysis Problems/Math 522 Analysis Problems.aux
modified: Current Courses/Fall 2021/Math 522/Homework/Analysis Problems/Math 522 Analysis Problems.log
modified: Current Courses/Fall 2021/Math 522/Homework/Analysis Problems/Math 522 Analysis Problems.pdf
modified: Current Courses/Fall 2021/Math 522/Homework/Analysis Problems/Math 522 Analysis Problems.synctex.gz
modified: Current Courses/Fall 2021/Math 522/Homework/Analysis Problems/Math 522 Analysis Problems.tex
modified: Current Courses/Fall 2021/Math 541/Homework/Math 541 Homework – Tyler Tommasi.log
modified: Current Courses/Fall 2021/Math 541/Homework/Math 541 Homework – Tyler Tommasi.pdf
modified: Current Courses/Fall 2021/Math 541/Homework/Math 541 Homework – Tyler Tommasi.synctex.gz
modified: Current Courses/Fall 2021/Math 541/Homework/Math 541 Homework – Tyler Tommasi.tex
modified: Current Courses/Fall 2021/Zoo 500/Essays/Zoology 500 Essays.docx
deleted: Homework 8 – Tyler Tommasi.Rmd
deleted: Homework 9 Stats 371.Rmd
deleted: Homework-8----Tyler-Tommasi.1
deleted: Homework-8----Tyler-Tommasi.html
deleted: Homework-8----Tyler-Tommasi_files/figure-docx/unnamed-chunk-1-1.png
deleted: Homework-8----Tyler-Tommasi_files/figure-latex/unnamed-chunk-1-1.pdf
deleted: Homework-9-Stats-371.html

Untracked files:
Past Courses/Spring 2020/Zoology 612/Capstone – Hydra/Sources/GAN and Ras Sources/GTP/
Past Courses/Spring 2020/Zoology 612/Capstone – Hydra/Sources/GAN and Ras Sources/Ras Signaling/
Past Courses/Spring 2020/Zoology 612/Capstone – Hydra/Sources/Hydra Sources/
Past Courses/Spring 2020/Zoology 612/Capstone – Hydra/Sources/Martin, 2015 Sources/
Past Courses/Spring 2020/Zoology 612/Capstone – Hydra/Sources/Nissl Staining Procedure.docx
Past Courses/Spring 2020/Zoology 612/Capstone – Hydra/Word Documents/
Past Courses/Spring 2020/Zoology 612/Capstone – Sea Urchin/
Past Courses/Spring 2020/Zoology 612/Capstone-Spring2020.pdf
Past Courses/Spring 2020/Zoology 612/Lumbriculus variegatus Project/
Past Courses/Spring 2020/Zoology 612/Zoo 612 Master List_ Research Steps.docx
Past Courses/Spring 2021/
Past Courses/Summer 2021/
Professional Portfolio/
Psychopy Folder/
R/
Scientific Papers/
Study Log – 2021.xlsx
ZZ - Program Files/
Zoom/
data/
desktop.ini
dharma.txt
index.html
pilot-legacy-browsers.js
pilot.js
pilot.psyexp
pilot_lastrun.py
readme.md
untitled-legacy-browsers.js
untitled.js
untitled.psyexp
untitled_lastrun.py

no changes added to commit’

Is your psyexp file in a generic folder like My Documents? It needs to be in a dedicated sub folder (one per experiment) with no irrelevant sub folders of its own.