Skip to content

Instantly share code, notes, and snippets.

@GabiThume
Last active December 22, 2015 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GabiThume/6504095 to your computer and use it in GitHub Desktop.
Save GabiThume/6504095 to your computer and use it in GitHub Desktop.
INSERT INTO raw_crashes (uuid, raw_crash, date_processed) VALUES (12dd97c3-6459-a77f-f474-edb8f0130910, { "uuid": "12dd97c3-6459-a77f-f474-edb8f0130910", "IsGarbageCollecting": "1" }, 2013-09-10 19:51:18.377914)
INSERT INTO raw_crashes (uuid, raw_crash, date_processed) VALUES (c02cb7f1-f051-d5f6-db21-f340c0130910, { "uuid": "c02cb7f1-f051-d5f6-db21-f340c0130910", "IsGarbageCollecting": "1" }, 2013-09-10 19:51:18.377914)
INSERT INTO raw_crashes (uuid, raw_crash, date_processed) VALUES (60597bdc-5dbe-4409-6b38-4309c0130909, { "uuid": "60597bdc-5dbe-4409-6b38-4309c0130909", "IsGarbageCollecting": "1" }, 2013-09-09 19:52:38.070392)
E
======================================================================
ERROR: testx (socorro.unittest.external.postgresql.test_backfill.TestBackfill)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gabi/Desktop/CODE/src/socorro/socorro/unittest/external/postgresql/test_backfill.py", line 51, in setUp
cursor.execute(query, data)
IntegrityError: duplicate key value violates unique constraint "ix_raw_crashes_uuid"
DETAIL: Key (uuid)=(60597bdc-5dbe-4409-6b38-4309c0130909) already exists.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment