Since updating to 2022.1.1 (to try fixing a different issue), I’m now getting this error too when trying to create a new project on pavlovia via Builder:
Traceback (most recent call last):
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\menu.py", line 127, in onNew
if pavlovia.getCurrentSession().user.username:
AttributeError: 'User' object has no attribute 'username'
I’ve tried cleaning/removing appData and preferences, as well as fully uninstalling/reinstalling. Still getting the same issue… I’ve also tried with two different pavlovia accounts (the Runner states that the accounts, separately, were logged in successfully). Lastly, trying to just sync raises the dialog about there being no associated project, then allowing to create a new one, but then that gets an error that the username is not found on pavlovia/github!
Please help.