Skip to content

In 20150101 and 20241201 Dump:Import of release_artist.csv failing because of a release with null artist value #152

@ijabz

Description

@ijabz
Importing data from /home/ubuntu/code/discogs-xml2db/csv-dir/release_artist.csv
Traceback (most recent call last):
  File "postgresql/importcsv.py", line 42, in <module>
    load_csv(os.path.abspath(filename), db)
  File "postgresql/importcsv.py", line 33, in load_csv
    cursor.copy_expert(q, fp)
psycopg2.errors.NotNullViolation: null value in column "artist_id" violates not-null constraint
DETAIL:  Failing row contains (32, 7, null, Koibito & Boku, 1, null, 2, null, Other [Spirits Lifted By], null).
CONTEXT:  COPY release_artist, line 33: "7,,Koibito & Boku,1,,2,,Other [Spirits Lifted By],"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions