Project

General

Profile

Bug #42511

IntegrityError: duplicate key value violates unique constraint "profile_attributedefinition_label_key"

Added by sentry io 2 months ago. Updated 2 months ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05 May 2020
Due date:
% Done:

0%

Patch proposed:
No
Planning:
No

Description

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

DoesNotExist: AttributeDefinition matching query does not exist.
  File "django/db/models/query.py", line 464, in get_or_create
    return self.get(**lookup), False
  File "django/db/models/query.py", line 380, in get
    self.model._meta.object_name

IntegrityError: duplicate key value violates unique constraint "profile_attributedefinition_label_key" 
DETAIL:  Key (label)=(Numéro dans la voie) already exists.

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

IntegrityError: duplicate key value violates unique constraint "profile_attributedefinition_label_key" 
DETAIL:  Key (label)=(Numéro dans la voie) already exists.

(22 additional frame(s) were not displayed)
...
  File "django/db/backends/utils.py", line 79, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "django/utils/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)

History

#1 Updated by Lauréline Guerin 2 months ago

  • Project changed from Suivi des traces to Hobo

Also available in: Atom PDF