
Traceback (most recent call last):


 "d:\programs\python\lib\site-packages\spotdl\downloader.py", line 207, in _download_list

track_dl = Downloader(raw_song, number=number)


 "d:\programs\python\lib\site-packages\spotdl\downloader.py", line 98, in __init__

self.content, self.meta_tags = youtube_tools.match_video_and_metadata(raw_song)


 "d:\programs\python\lib\site-packages\spotdl\youtube_tools.py", line 79, in match_video_and_metadata

meta_tags = spotify_tools.generate_metadata(track)


 "d:\programs\python\lib\site-packages\spotdl\spotify_tools.py", line 34, in wrapper

return func(*args, **kwargs)


 "d:\programs\python\lib\site-packages\spotdl\spotify_tools.py", line 48, in generate_metadata

meta_tags = spotify.track(raw_song)


 "d:\programs\python\lib\site-packages\spotipy\client.py", line 222, in track

trid = self._get_id('track', track_id)


 "d:\programs\python\lib\site-packages\spotipy\client.py", line 850, in _get_id

type, fields[-2], id)

TypeError: _warn() takes 2 positional arguments but 5 were given

Traceback (most recent call last):


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 665, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 678, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "C:\Users\demouser\Miniconda3\envs\psychopy\lib\site-packages\pyglet\media\__init__.py", line 143, in <module>

add_default_media_codecs()


 "C:\Users\demouser\Miniconda3\envs\psychopy\lib\site-packages\pyglet\media\codecs\__init__.py", line 175, in add_default_media_codecs

add_decoders(wmf)


 "C:\Users\demouser\Miniconda3\envs\psychopy\lib\site-packages\pyglet\media\codecs\__init__.py", line 128, in add_decoders

for decoder in module.get_decoders():


 "C:\Users\demouser\Miniconda3\envs\psychopy\lib\site-packages\pyglet\media\codecs\wmf.py", line 890, in get_decoders

return [WMFDecoder()]


 "C:\Users\demouser\Miniconda3\envs\psychopy\lib\site-packages\pyglet\media\codecs\wmf.py", line 836, in __init__

warnings.warn('WMF failed to initialize threading:', err.strerror)
TypeError: category must be a Warning subclass, not 'str'
