This is an existing project and I was able to push my builder onto Pavlovia without any problem until tonight. I have tried to undo some of the added components on my experiment and also pushed some dummy code to test but none of them worked.
OS: MacOS 10.13.6
PsychoPy version: v2021.1.2
Standard Standalone? (y/n) y
What are you trying to achieve?:
Currently, my experiment is divided into three parts:
- Sound Calibration: hear a sample sound by mouse clicking on the picture icon - works only locally - could not push the most current version onto Pavlovia
- Screen Calibration: credit card scaling - currently works and worked when I previously pushed it to Pavlovia
- Main Experiment: currently works and worked when I previously pushed it to Pavlovia
What did you try to make it work?:
When I was working with the sound calibration I noted on several forums and the crib sheet that we canât really use while loops and core.wait() in our code components in the builder. So I have worked around it to finally get it working in a loop that works locally but now I canât seem to upload it into Pavlovia. I have upgraded Psychopy to the most recent version, restarted it, and tried reopening my code. Additionally, I tried to take out the sound calibration part completely from my flow just to see if that is the part causing the upload problem but now I canât upload any of my previous code or any dummy code onto Pavlovia.
What specifically went wrong when you tried that?:
When I press on sync with the web project it gives me the message that
PsychoPy encountered an unhandled internal error and below is the copied detail:
Traceback (most recent call last):
File âurllib3/connection.pycâ, line 171, in _new_conn
File âurllib3/util/connection.pycâ, line 79, in create_connection
File âurllib3/util/connection.pycâ, line 69, in create_connection
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File âurllib3/connectionpool.pycâ, line 600, in urlopen
File âurllib3/connectionpool.pycâ, line 343, in _make_request
File âurllib3/connectionpool.pycâ, line 849, in _validate_conn
File âurllib3/connection.pycâ, line 314, in connect
File âurllib3/connection.pycâ, line 176, in _new_conn
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.VerifiedHTTPSConnection object at 0x12d5b8ac8>, âConnection to gitlab.pavlovia.org timed out. (connect timeout=2)â)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/requests/adapters.pyâ, line 449, in send
File âurllib3/connectionpool.pycâ, line 638, in urlopen
File âurllib3/util/retry.pycâ, line 398, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=â/gitlab.pavlovia.orgâ, port=443): Max retries exceeded with url: /api/v4/user (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x12d5b8ac8>, âConnection to /gitlab.pavlovia.org timed out. (connect timeout=2)â))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/builder.pyâ, line 1326, in onPavloviaSync
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/builder.pyâ, line 1417, in project
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.pyâ, line 1096, in getProject
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.pyâ, line 108, in login
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.pyâ, line 412, in setToken
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.pyâ, line 437, in startSession
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/gitlab/init.pyâ, line 201, in auth
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/gitlab/init.pyâ, line 214, in _token_auth
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/gitlab/exceptions.pyâ, line 251, in wrapped_f
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/gitlab/mixins.pyâ, line 68, in get
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/gitlab/init.pyâ, line 532, in http_get
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/gitlab/init.pyâ, line 481, in http_request
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/requests/sessions.pyâ, line 646, in send
File â/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/requests/adapters.pyâ, line 504, in send
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host=â/gitlab.pavlovia.orgâ, port=443): Max retries exceeded with url: /api/v4/user (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x12d5b8ac8>, âConnection to /gitlab.pavlovia.org timed out. (connect timeout=2)â))
Any suggestion would help greatly
Thank you!