# Cannot upload experiment to Pavlovia: unhandled internal error

**URL:** <https://discourse.psychopy.org/t/cannot-upload-experiment-to-pavlovia-unhandled-internal-error/20903>\
**Category:** Builder\
**Tags:** pavlovia\
**Created:** [March 2, 2021, 8:32am UTC](https://discourse.psychopy.org/t/cannot-upload-experiment-to-pavlovia-unhandled-internal-error/20903 "2021-03-02T08:32:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julsten](https://avatars.discourse-cdn.com/v4/letter/j/9fc348/32.png) [@Julsten](https://discourse.psychopy.org/u/Julsten)\
**Post date:** [March 2, 2021, 8:32am UTC](https://discourse.psychopy.org/t/cannot-upload-experiment-to-pavlovia-unhandled-internal-error/20903/1 "2021-03-02T08:32:56Z")

</div>

Description of the problem:  
Hi, I’m trying to upload my experiment to Pavlovia. I am using the Builder and it works just fine offline. When I’m clicking the “Run the study online” key I am receiving this error:

```auto
Traceback (most recent call last):
  File "E:\PsychoPy3\lib\site-packages\psychopy\app\builder\builder.py", line 1339, in onPavloviaRun
    retVal = pavlovia_ui.syncProject(parent=self, project=self.project,
  File "E:\PsychoPy3\lib\site-packages\psychopy\app\builder\builder.py", line 1416, in project
    elif self.filename and pavlovia.getProject(self.filename):
  File "E:\PsychoPy3\lib\site-packages\psychopy\projects\pavlovia.py", line 1068, in getProject
    gitRoot = getGitRoot(filename)
  File "E:\PsychoPy3\lib\site-packages\psychopy\projects\pavlovia.py", line 1049, in getGitRoot
    cwd=str(p)).decode('utf-8'):
  File "E:\PsychoPy3\lib\subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "E:\PsychoPy3\lib\subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'branch', '--show-current']' returned non-zero exit status 128.

```

I am logged in. I tried to upload my real experiment and also a ‘dummy’ experiment with just a trial showing text. Still same error.

Things I have tried so far:

- Creating a dummy experiment
- Downgrading the Version from ‘latest’ (v2021.1.0) to 2020.1.3 and 3.0.5

Any help is greatly appreciated!

Best,  
Julian

---

<div class="post-metadata">

**Author:** ![thomas\_pronk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/thomas_pronk/32/9531_2.png) [@thomas\_pronk](https://discourse.psychopy.org/u/thomas_pronk)\
**Post date:** [March 3, 2021, 10:59am UTC](https://discourse.psychopy.org/t/cannot-upload-experiment-to-pavlovia-unhandled-internal-error/20903/2 "2021-03-03T10:59:09Z")

</div>

Hey Julian,

I moved your question to the builder category. Meanwhile, a question/suggestion about your directory structure: often this issue is related with the folder that you’re trying to sync containing orther git repos. Could you try creating a new folder and a new experiment, and sync those?

Best, Thomas

---

<div class="post-metadata">

**Author:** ![Julsten](https://avatars.discourse-cdn.com/v4/letter/j/9fc348/32.png) [@Julsten](https://discourse.psychopy.org/u/Julsten)\
**Post date:** [March 5, 2021, 8:55am UTC](https://discourse.psychopy.org/t/cannot-upload-experiment-to-pavlovia-unhandled-internal-error/20903/3 "2021-03-05T08:55:35Z")

</div>

Hey Thomas,

thank you for your response! I fixed the problem in the meantime by just reinstalling PsychoPy.

Best, Julian
