Github related error when trying to run experiment

Hello everyone,

OS: Win10
PsychoPy version: 2021.2.3
Standard Standalone? (y/n) : y
What are you trying to achieve?:

I am currently trying to set up a new experiment which worked perfectly fine yesterday. However, when setting the “version-button” from blank to “2021.2.3” today, the experiment no longer starts running (yesterday it worked in both versions).

What specifically went wrong when you tried that?: When I try to run the experiment, I receive the following code:

Downloading the PsychoPy Library from Github (may take a while)
git clone -o github GitHub - psychopy/versions: This is for use by psychopy.useVersion() not for development of code versions
Cloning into ‘versions’…
fatal: unable to access ‘GitHub - psychopy/versions: This is for use by psychopy.useVersion() not for development of code’: Failed to connect to github.com port 443: Timed out
Traceback (most recent call last):
File “O:\AG_Neuro\Exp_PsychoPy\sj\SJ_lastrun.py”, line 17, in
psychopy.useVersion(‘2021.2.3’)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\tools\versionchooser.py”, line 87, in useVersion
_clone(requestedVersion) # Allow the versions subdirectory to be built
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\tools\versionchooser.py”, line 363, in _clone
env=constants.ENVIRON).decode(‘UTF-8’)
File “C:\Program Files\PsychoPy\lib\subprocess.py”, line 336, in check_output
**kwargs).stdout
File “C:\Program Files\PsychoPy\lib\subprocess.py”, line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command ‘[‘git’, ‘clone’, ‘-o’, ‘github’, ‘GitHub - psychopy/versions: This is for use by psychopy.useVersion() not for development of code’, ‘versions’]’ returned non-zero exit status 128.

Experiment ended.

Thanks in advance for any feedback

Dear Anna,

did you find a solution for this problem? I am currently running into the same fatal error due to failure to connect with GitHub and was wondering whether you have any solution?

Thank in advance and all the best

Celina

Why aren’t you leaving the useVersion field blank?

1 Like