Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntegrityError: NOT NULL constraint failed: users.email #322

Closed
wizarr-sentry bot opened this issue Nov 27, 2023 · 2 comments · Fixed by #357
Closed

IntegrityError: NOT NULL constraint failed: users.email #322

wizarr-sentry bot opened this issue Nov 27, 2023 · 2 comments · Fixed by #357
Labels

Comments

@wizarr-sentry
Copy link
Contributor

wizarr-sentry bot commented Nov 27, 2023

Sentry Issue: WIZARR-BACKEND-5

IntegrityError: NOT NULL constraint failed: users.email
  File "peewee.py", line 3252, in execute_sql
    cursor.execute(sql, params or ())

IntegrityError: NOT NULL constraint failed: users.email
(11 additional frame(s) were not displayed)
...
  File "app/scheduler.py", line 60, in scan_users
    global_sync_users_to_media_server()
  File "helpers/universal.py", line 214, in global_sync_users_to_media_server
    sync_plex_users()
  File "helpers/plex.py", line 287, in sync_plex_users
    create_user(username=plex_user.username, token=plex_user.id, email=plex_user.email)
  File "helpers/users.py", line 162, in create_user
    user: Users = Users.create(**user_model)

Job "<Job (id=syncUsers name=scan_users)>" raised an exception
@MrDynamo
Copy link
Member

Fixed in #357

@wizarr-sentry
Copy link
Contributor Author

wizarr-sentry bot commented Apr 29, 2024

🎉 This issue has been resolved in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant