Hi
I was on 2024 2.15 and was having a problem with uploading new experiments. I’ve downloaded the latest version and the problem still exists.
I have a valid licence.
I’ve discovered that I can only upload to groups (i.e. not my main account) if the group name is in lower case. Can you get the group name changed to liverpoolhope?
The alternative (which I used to do until I realised the issue) was to upload to my namespace and then fork to the group.
Thanks. I did that and it seems to have caused a heap more errors.
Perhaps I should have tried the more conservative approach first!
Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\menu.py”, line 116, in onSync
syncProject(parent=self.parent, project=self.parent.project)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 759, in syncProject
if not session or not session.user:
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 504, in user
self._user = User(self.gitlab.user.username)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 197, in init
assert ‘gitlabId’ in self.info, _translate(
AssertionError: Could not retrieve user info for user liverpoolhope, server returned:
{}
Thank you for trying to help me! Sorry, feel like an idiot. Tried both, can’t find users.json (revealing hidden files is taking some time).
I’ve tried both username and email address to log in, cleared cookies, tried both the button and menu item.
What else have I done?
moved a clean copy of the experiement to a new clean folder.
I’m just going to try a different experiment to see if it is expt based and the problem is somehow hardcoded in to the background perhaps.
Also getting this error when I log in to Pavlovia from the site.,
`
Error when fetching the shelf records:
{“origin”:“https://pavlovia.org/api/v2/shelf/LiverpoolHope/records",“context”:"when querying all the records available to designer: LiverpoolHope”,“username”:“LiverpoolHope”,“error”:“mismatched designer id and authentication token”,“errorCode”:null,“httpStatusCode”:400}
If the error persists, contact Pavlovia’s administrator.
Hi Wake,
No, it doesn’t. I had to create a new “corporate” identity when we bought the pavlovia licence. IIRC I had some trouble, but it was a long time ago now, so I don’t recall details.
The location of users.json on my computer is C:\Users\morys\AppData\Roaming\psychopy3\pavlovia
If I open it in a text editor I can see something like:
{
"Wake": {
various details including
"email": "wake@opensciencetools.org",
"organization": "Oxford Brookes University",
"username": "Wake",
"web_url": "https://gitlab.pavlovia.org/Wake",
}
}
You probably have two and you should be able to edit the username for one of them. It should tell you the email address for your corporate account, for example.
Close PsychoPy before editing and reopen. You might need to get help from the OST team if you can’t access your group, but I wouldn’t have thought changing the name would change the password. Maybe you need access to the email account.
If you are still stuck, please could you email sales@opensciencetools.org with the issue and someone should be able to sort out your corporate account.
The quick way to get to your psychopy configuration files, like user.cfg, appdata.cfg and users.json is to type this in window explorer path:
%appdata%
It’s a very handy shortcut that in Wakefields case would take him to C:\Users\morys\AppData\Roaming\ but the location depends on (username) and how the user has been configured (roaming profiles, versions of windows etc)
Hi Jon,
Those files literally don’t exist on my laptop. I don’t understand why not, but there are not there.
I have searched the file names too. I’ve checked for hidden files. I am at my wits end.
I have no %AppData% pertaining to Psychopy,
no Roaming & no Local folders, no PsychoPy3 folder.
Something has gone drastically wrong with this laptop, PsychoPy won’t even open, and I am unable to access my Google Drive also.
That said, I was trying to upload the experiments from my office desktop when the problem began, not this laptop. Unfortunately not on campus until Friday to look at the appdata there.