Project

General

Profile

Bug #91262

IntegrityError: duplicate key value violates unique constraint "auth_user_username_key"

Added by Sentry Io about 2 months ago. Updated about 2 months ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
29 May 2024
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/126497/

erreur sur une exécution concurrente du SSO ? (je n'ai pas cherché les logs HTTP)

UniqueViolation: duplicate key value violates unique constraint "auth_user_username_key" 
DETAIL:  Key (username)=(b1258cc9c39e460fb112d9100f0dc577) already exists.

  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)

IntegrityError: duplicate key value violates unique constraint "auth_user_username_key" 
DETAIL:  Key (username)=(b1258cc9c39e460fb112d9100f0dc577) already exists.

(24 additional frame(s) were not displayed)
...
  File "django/db/backends/utils.py", line 66, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "django/db/backends/utils.py", line 75, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "django/db/backends/utils.py", line 79, in _execute
    with self.db.wrap_database_errors:
  File "django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)

History

#1

Updated by Frédéric Péters about 2 months ago

  • Project changed from Suivi des traces to django-mellon

Also available in: Atom PDF