You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/discogs-xml2db-develop/discogsxml2db/exporter.py", line 180, in validate
if not artist.name:
AttributeError: 'Artist' object has no attribute 'name'
with the following change, a valid csv export is produced with this as the culprit lol. Someone named themselves " "
66827,[artist #66827],,"[b]DO NOT USE.[/b] This is an incorrect artist name represented by %C2%A0 i.e. the ""non-breaking space"" character - in Unicode: U+00A0, 0xC2A0, aka "" "" in HTML.",Needs Vote
change line 180
if not artist.name:
to
if not getattr(artist, 'name', None):
The text was updated successfully, but these errors were encountered:
dillonburns
changed the title
Artists be artisting- the name "non-breaking space" breaks exporter.py
Artists be artisting- the name " " in Feb 01 2025 dump breaks exporter.py
Feb 6, 2025
Current artist dump from 02/01/2025 discogs_20250201_artists.xml.gz
triggers the following error for 1 artist
with the following change, a valid csv export is produced with this as the culprit lol. Someone named themselves " "
66827,[artist #66827],,"[b]DO NOT USE.[/b] This is an incorrect artist name represented by %C2%A0 i.e. the ""non-breaking space"" character - in Unicode: U+00A0, 0xC2A0, aka "" "" in HTML.",Needs Vote
change line 180
to
The text was updated successfully, but these errors were encountered: