Skip to content

20250101 and 20241201 Dump Release track artist has artists without id causing issue #154

@ijabz

Description

@ijabz

Release track artist has artists without id causing issue

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 (220, 278, 56, 10, null, Demopoulos, t, null, 2, null, Written By, null).
CONTEXT:  COPY release_track_artist, line 221: "56,10,278,,Demopoulos,1,,2,,Written By,"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions