# Unhandled internal error on opening/creating project

**URL:** <https://discourse.psychopy.org/t/unhandled-internal-error-on-opening-creating-project/42361>\
**Category:** Other\
**Created:** [October 7, 2024, 10:12am UTC](https://discourse.psychopy.org/t/unhandled-internal-error-on-opening-creating-project/42361 "2024-10-07T10:12:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lukas\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/lukas_r/32/42811_2.png) [@Lukas\_R](https://discourse.psychopy.org/u/Lukas_R)\
**Post date:** [October 7, 2024, 10:12am UTC](https://discourse.psychopy.org/t/unhandled-internal-error-on-opening-creating-project/42361/1 "2024-10-07T10:12:37Z")

</div>

Heya everyone,

I’m very new to PsychoPy and encountered my first problem when opening or creating new files. When opening any file or creating a new project an unhandled internal error pops up. The following details are for a new project:

> Traceback (most recent call last):  
> File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/coder/coder.py», line 2193, in fileNew  
> File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/coder/coder.py», line 2350, in setCurrentDoc  
> File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py», line 1460, in getProject  
> psychopy.exceptions.DependencyError: gitpython and a git installation required for getProject()

And these are the details for opening a project someone had sent me:

> Traceback (most recent call last):  
> File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/coder/coder.py», line 2374, in fileOpen  
> File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/\_psychopyApp.py», line 855, in newBuilderFrame  
> File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py», line 184, in **init**  
> File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py», line 4624, in **init**  
> File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/ribbon.py», line 201, in addPavloviaProjectCtrl  
> File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/ribbon.py», line 403, in addPavloviaProjectCtrl  
> File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/ribbon.py», line 901, in **init**  
> File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/ribbon.py», line 956, 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 1460, in getProject  
> psychopy.exceptions.DependencyError: gitpython and a git installation required for getProject()

[Updated ca. 1 h after posting]  
At first PsychoPy appears to be working when I simply click “Ok” and I can use the builder fine, but once I run experiments it goes wrong. Some things work sometimes, but for example text items don’t show up and I regularly need to close the experiment window with Cmd+Opt+Esc.  
System information down below. I tried reinstalling it, but that hasn’t changed things. Any suggestions are appreciated!

Thanks and best,  
Lukas

System information:

> PsychoPy 2024.2.1
> 
> Paths to files on the system:  
> userPrefsFile: /Users/Luke/.psychopy3/userPrefs.cfg  
> appDataFile: /Users/Luke/.psychopy3/appData.cfg  
> demos: /Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/demos  
> appFile: /Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/PsychoPy.py
> 
> System Info:  
> Operating System: macOS-15.0-x86\_64-i386-64bit  
> Processor: i386  
> CPU freq (MHz): 2400  
> CPU cores: 8 (physical), 8 (logical)  
> Installed memory: 17179869184 (Total), 1552633856 (Available)  
> macOS 15.0 running on x86\_64
> 
> Python info:  
> Executable path: /Applications/PsychoPy.app/Contents/MacOS/python  
> Version: 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)]  
> (Selected) Installed Packages:  
> numpy (1.26.4)  
> scipy (1.13.1)  
> matplotlib (3.9.1)  
> pyglet (1.5.27)  
> PyGLFW [not installed]  
> pyo [not installed]  
> psychtoolbox (3.0.19.0)  
> wxPython (4.2.1)
> 
> OpenGL Info:  
> Vendor: Apple  
> Rendering engine: Apple M1  
> OpenGL version: 2.1 Metal - 89.3  
> Shaders supported: True  
> (Selected) Extensions:  
> GL\_ARB\_multitexture: True  
> GL\_EXT\_framebuffer\_object: True  
> GL\_ARB\_fragment\_program: True  
> GL\_ARB\_shader\_objects: True  
> GL\_ARB\_vertex\_shader: True  
> GL\_ARB\_texture\_non\_power\_of\_two: True  
> GL\_ARB\_texture\_float: True  
> GL\_STEREO: False  
> max vertices in vertex array: 1048575

---

<div class="post-metadata">

**Author:** ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)\
**Post date:** [October 9, 2024, 9:41am UTC](https://discourse.psychopy.org/t/unhandled-internal-error-on-opening-creating-project/42361/2 "2024-10-09T09:41:08Z")

</div>

> [@Lukas\_R](#):
>
> psychopy.exceptions.DependencyError: gitpython and a git installation required for getProject()

Hi There, we have been made aware of some difficulties faced by mac users with the current release, please may you try installing [this release](https://github.com/psychopy/psychopy/releases/tag/2024.1.5) and let us know if you still encounter issues?

Thanks!  
Becca

---

<div class="post-metadata">

**Author:** ![Lukas\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/lukas_r/32/42811_2.png) [@Lukas\_R](https://discourse.psychopy.org/u/Lukas_R)\
**Post date:** [October 9, 2024, 12:56pm UTC](https://discourse.psychopy.org/t/unhandled-internal-error-on-opening-creating-project/42361/3 "2024-10-09T12:56:15Z")

</div>

Hi Becca, thank you for your reply. I’ve installed it and it appears to be working fine now!  
Best, Lukas
