wizarrrr / wizarr

Wizarr is an advanced user invitation and management system for Jellyfin, Plex, Emby etc.
https://docs.wizarr.dev
MIT License
1.25k stars 86 forks source link

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

Closed wizarr-sentry[bot] closed 4 months ago

wizarr-sentry[bot] commented 9 months ago

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 commented 4 months ago

Fixed in #357

wizarr-sentry[bot] commented 4 months ago

:tada: This issue has been resolved in version 4.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: