2022 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 2022.
vantages  
--> -->
 
 
AttributeError
Python 3.10.12: /bin/python3
Thu May 16 18:13:33 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/2022_around_the_world.cgi in <module>
    173 print('<div class=genrename>vantages &nbsp;<a href="?vantage=%s&sort=%s" class=note style="font-size: 75%%; font-weight: normal" title="sort by activity or name">⥯</a></div>' % (urllib.parse.quote(showvantage), 'name' if sortgenres == 'activity' else 'activity'))
    174 if showvantage:
=>  175     print('<div class=selected><a href="?vantage=%s%s" class=current>%s</a>%s</div>' % (urllib.parse.quote(showvantage), '' if sortgenres == 'activity' else ('&sort=%s' % cgi.escape(sortgenres, True)), cgi.escape(trans(showvantage), True), '<span class=searchnote>?</span>' if searchartist and showvantage.startswith('|') else ''))
    176 
    177 if sortgenres == 'activity':
builtin print = <built-in function print>, urllib = <module 'urllib' from '/usr/lib/python3.10/urllib/__init__.py'>, urllib.parse = <module 'urllib.parse' from '/usr/lib/python3.10/urllib/parse.py'>, urllib.parse.quote = <function quote>, showvantage = 'Earth', sortgenres = 'activity', cgi = <module 'cgi' from '/usr/lib/python3.10/cgi.py'>, cgi.escape undefined, trans = <function trans>, searchartist = '', showvantage.startswith = <built-in method startswith of str object>

AttributeError: module 'cgi' has no attribute 'escape'
      args = ("module 'cgi' has no attribute 'escape'",)
      name = 'escape'
      obj = <module 'cgi' from '/usr/lib/python3.10/cgi.py'>
      with_traceback = <built-in method with_traceback of AttributeError object>