Unable to connect/sign in to pavlovia.org


I am attempting to push an experiment to my pavlovia account. Any ideas the best approach to trouble shoot this?

When I select “Log in/out of Pavlovia.org, view your user profile” in the builder view on v2022.2.4 I get the following error popup:

Traceback (most recent call last):
File “C:\Users\sgranger\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 3936, in onPavloviaUser
userDlg = UserFrame(self.frame)
File “C:\Users\sgranger\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\user.py”, line 40, in init
self.sizer.Add(UserPanel(self), proportion=1, border=12, flag=wx.ALL | wx.EXPAND)
File “C:\Users\sgranger\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\user.py”, line 122, in init
self.user = self.user
File “C:\Users\sgranger\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\user.py”, line 127, in user
self._user = self.session.user
File “C:\Users\sgranger\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 444, in user
self._user = User(self.gitlab.user.username)
File “C:\Users\sgranger\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 150, in init
assert ‘gitlabId’ in self.info, _translate(
AssertionError: Could not retrieve user info for user sgranger, server returned:

I am having the same issue, I cannot log in to Pavlovia in the Builder (But see my workaround below).

My setup is:
OS: Windows 10
PsychoPy 2022.2.5 (anaconda installation)

The error message I get with the anaconda installation was:

Traceback (most recent call last):
File “C:\Users\cabez\anaconda3\envs\psychopy\lib\site-packages\psychopy\app\pavlovia_ui\menu.py”, line 121, in onLogInPavlovia
File “C:\Users\cabez\anaconda3\envs\psychopy\lib\site-packages\psychopy\app\pavlovia_ui\functions.py”, line 62, in logInPavlovia
dlg = PavloviaMiniBrowser(parent=parent, loginOnly=True)
File “C:\Users\cabez\anaconda3\envs\psychopy\lib\site-packages\psychopy\app\pavlovia_ui_base.py”, line 79, in init
self.user = pavlovia.getCurrentSession().user
File “C:\Users\cabez\anaconda3\envs\psychopy\lib\site-packages\psychopy\projects\pavlovia.py”, line 442, in user
if not hasattr(self.gitlab, “user”) or self.gitlab.user.username is None:
AttributeError: ‘NoneType’ object has no attribute ‘username’

I do not encounter this problem with the standalone installation of Psychopy which is also a newer version (2023.1.2).

So I am not sure if it is a problem with the version or the installation method, but this may be one workaround that could help others.