Closed marcellamaki closed 1 year ago
I think this may be another instance of the issue with the PIN set to None
looking at the logs:
WARNING 2023-04-12 09:41:01,967 morango.models.core Error deserializing instance of FacilityDataset with id 7e5258574c0fad31877c19af6c3d2772: {'extra_fields': ["None does not match type 'string'"]}
WARNING 2023-04-12 09:41:01,974 morango.models.core Error deserializing instance of Facility with id 88c74c2dffda743f3d7b9185520f4928: {'dataset': ["facility dataset instance with id '7e5258574c0fad31877c19af6c3d2772' does not exist."]}
WARNING 2023-04-12 09:41:01,986 morango.models.core Error deserializing instance of Facility with id 88c74c2dffda743f3d7b9185520f4928: {'dataset': ["facility dataset instance with id '7e5258574c0fad31877c19af6c3d2772' does not exist."]}
The deserialization of the sync failed because of that issue.
Running into similar issue trying to create or import LoD user from Kolibri running in production on my dev VM (latest develop). I was trying to set up a new Kolibri LoD device in Ubuntu 20.04 VM where the asset from https://github.com/learningequality/kolibri/pull/10471 was installed for testing. Getting the 500 error apparently at the same point as @marcellamaki on both trying to create a new user for, or import one from my dev VM server.
https://user-images.githubusercontent.com/1457929/232096687-f58ca49d-1667-47a2-a8a5-17107ab3a2ec.mp4
One notable thing that can be noticed in the recording, is that since I have 2 facilities in my dev VM, setup wizard kind of latches on the first one, even though I selected the second one. This may be a separate issue, that I'll report if I manage to replicate consistently.
Observed behavior
When setting up a new LOD account on @rtibbles's server, the setup wizard failed for me at the final stage. There was nothing in the UI to indicate a problem, although I was getting a 500 error in the console.
Errors and logs
kolibri.txt
When I start over to create the user, it says the newly created username already exists
Expected behavior
User-facing consequences
Users having to create multiple accounts/confusion between accounts
Steps to reproduce
I am not sure why this happened, so at this stage, I am not sure how to reliably reproduce. I will add more detail as I am able to.
Context
Latest
develop