2023 Around the World   country sampler   genre sampler  
The new or newly released music that defined, united and distinguished fan communities of place and interest around the world in 2023.
vantages  
 
lists
--> -->
 
 
NameError
Python 3.10.12: /bin/python3
Wed Jun 5 12:25:14 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/home/gmcdonald/public_html/everynoise_public/2023_around_the_world.cgi in <module>
    214         for row in atracks:
    215             artistvantages.add((row['country'], row['genre']))
=>  216             if row['genre'] not in artistgenreranks or row['rank'] < aritstgenreranks.get(row['genre']):
    217                 artistgenreranks[row['genre']] = row['rank']
    218         unsortedgenres = [row for row in data if (row['vantage'], row['genre']) in artistvantages]
row = {'artist': 'Jung Kook', 'artist_gid': 'dc053538380a400a8618deef2e3ef81c', 'country': 'Earth', 'fans': 8921412, 'genre': 'Albums', 'image_uri': 'http://i.scdn.co/image/ab67616d00001e02bb967fcaed61ea287b36d2d0', 'lartist': 'jung kook', 'preview_id': '8ca2d835eb2edcbbf0924eb086a5c0cbeb35b8f9', 'rank': 8, 'score': 308.0, ...}, artistgenreranks = {'Albums': 7}, aritstgenreranks undefined

NameError: name 'aritstgenreranks' is not defined
      args = ("name 'aritstgenreranks' is not defined",)
      name = 'aritstgenreranks'
      with_traceback = <built-in method with_traceback of NameError object>