2019 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 2019...
vantages  
--> -->
 
 
AttributeError
Python 3.10.12: /bin/python3
Sat May 25 16:43:26 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/2019_around_the_world.cgi in <module>
    161 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'))
    162 if showvantage:
=>  163     print('<div class=selected><a href="?vantage=%s%s" class=current>%s</a></div>' % (urllib.parse.quote(showvantage), '' if sortgenres == 'activity' else ('&sort=%s' % cgi.escape(sortgenres, True)), cgi.escape(trans(showvantage), True)))
    164 
    165 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>

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>