ERROR [trigger_service_group_update:30]
Created by: ppfeufer
Hey there,
Getting from time to time this error, as far as I can tell, this is when someone leaves a corp. It's not only Discord, SMF as well
Exception running update_groups for services module discord on user Jackson_Aldard
Traceback (most recent call last):
File "/home/yf_auth/venv/auth/lib/python3.5/site-packages/allianceauth/services/signals.py", line 27, in trigger_service_group_update
svc.validate_user(instance)
File "/home/yf_auth/venv/auth/lib/python3.5/site-packages/allianceauth/services/modules/discord/auth_hooks.py", line 35, in validate_user
self.delete_user(user, notify_user=True)
File "/home/yf_auth/venv/auth/lib/python3.5/site-packages/allianceauth/services/modules/discord/auth_hooks.py", line 25, in delete_user
return DiscordTasks.delete_user(user, notify_user=notify_user)
File "/home/yf_auth/venv/auth/lib/python3.5/site-packages/allianceauth/services/modules/discord/tasks.py", line 42, in delete_user
user.discord.delete()
File "/home/yf_auth/venv/auth/lib/python3.5/site-packages/django/db/models/base.py", line 886, in delete
(self._meta.object_name, self._meta.pk.attname)
AssertionError: DiscordUser object can't be deleted because its user_id attribute is set to None.