TypeError | Python 3.5.3: /usr/bin/python3 Thu Aug 11 03:20:56 2022 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/html/artistprofile.cgi in |
236 alltracks = {} |
237 alltracktitles = {} |
=> 238 for album in reversed(albums): |
239 if album['album_type'] not in hide: |
240 for track in album['tracks']['items']: |
album undefined, builtin reversed = <class 'reversed'>, albums = None |
TypeError: argument to reversed() must be a sequence
args =
('argument to reversed() must be a sequence',)
with_traceback =
<built-in method with_traceback of TypeError object>