You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2024-12-16 22:00:28] The above exception was the direct cause of the following exception:
[2024-12-16 22:00:28]
[2024-12-16 22:00:28] Traceback (most recent call last):
[2024-12-16 22:00:28] File "/workspace/server/src/util/scripts/database_setup.py", line 22, in
[2024-12-16 22:00:28] setup_database()
[2024-12-16 22:00:28] File "/workspace/server/src/util/scripts/database_setup.py", line 18, in setup_database
[2024-12-16 22:00:28] script()
[2024-12-16 22:00:28] File "/workspace/server/src/util/scripts/add_superadmin.py", line 20, in add_superadmin
[2024-12-16 22:00:28] user = create_user(user_data)
[2024-12-16 22:00:28] ^^^^^^^^^^^^^^^^^^^^^^
[2024-12-16 22:00:28] File "/workspace/server/src/helpers/user_helpers.py", line 26, in create_user
[2024-12-16 22:00:28] db.session.commit()
...
[2024-12-16 22:00:28] sqlalchemy.exc.IntegrityError: (psycopg2.errors.NotNullViolation) null value in column "slug" of relation "users" violates not-null constraint
[2024-12-16 22:00:28] DETAIL: Failing row contains (a62ce..., ....
[2024-12-16 22:00:28]
The text was updated successfully, but these errors were encountered:
[2024-12-16 22:00:28] The above exception was the direct cause of the following exception:
[2024-12-16 22:00:28]
[2024-12-16 22:00:28] Traceback (most recent call last):
[2024-12-16 22:00:28] File "/workspace/server/src/util/scripts/database_setup.py", line 22, in
[2024-12-16 22:00:28] setup_database()
[2024-12-16 22:00:28] File "/workspace/server/src/util/scripts/database_setup.py", line 18, in setup_database
[2024-12-16 22:00:28] script()
[2024-12-16 22:00:28] File "/workspace/server/src/util/scripts/add_superadmin.py", line 20, in add_superadmin
[2024-12-16 22:00:28] user = create_user(user_data)
[2024-12-16 22:00:28] ^^^^^^^^^^^^^^^^^^^^^^
[2024-12-16 22:00:28] File "/workspace/server/src/helpers/user_helpers.py", line 26, in create_user
[2024-12-16 22:00:28] db.session.commit()
...
[2024-12-16 22:00:28] sqlalchemy.exc.IntegrityError: (psycopg2.errors.NotNullViolation) null value in column "slug" of relation "users" violates not-null constraint
[2024-12-16 22:00:28] DETAIL: Failing row contains (a62ce..., ....
[2024-12-16 22:00:28]
The text was updated successfully, but these errors were encountered: