This repository was archived by the owner on Jun 15, 2022. It is now read-only.
Description When I do
track = spotify .Track (spotify_uri )
playlist .remove_tracks (track )
I get the mentioned error in the title. I've verified that track is a valid Track object
Full trace:
Traceback (most recent call last ):
File "/Library/Python/2.7/site-packages/flask/app.py" , line 1518 , in __call__
return self .wsgi_app (environ , start_response )
File "/Library/Python/2.7/site-packages/flask/app.py" , line 1506 , in wsgi_app
response = self .make_response (self .handle_exception (e ))
File "/Library/Python/2.7/site-packages/flask/app.py" , line 1504 , in wsgi_app
response = self .full_dispatch_request ()
File "/Library/Python/2.7/site-packages/flask/app.py" , line 1264 , in full_dispatch_request
rv = self .handle_user_exception (e )
File "/Library/Python/2.7/site-packages/flask/app.py" , line 1262 , in full_dispatch_request
rv = self .dispatch_request ()
File "/Library/Python/2.7/site-packages/flask/app.py" , line 1248 , in dispatch_request
return self .view_functions [rule .endpoint ](** req .view_args )
File "/Users/dojohnso/dougsvn/internal-tools/trunk/web/sonos/index.py" , line 76 , in remove_track
removed = playlist .remove_tracks (track )
File "/Library/Python/2.7/site-packages/spotify/playlist.py" , line 251 , in remove_tracks
self ._sp_playlist , [t ._sp_track for t in tracks ], len (tracks )))
File "/Library/Python/2.7/site-packages/spotify/__init__.py" , line 44 , in wrapper
return f (* args , ** kwargs )
TypeError : int () not supported on cdata 'sp_track *' Reactions are currently unavailable
When I do
I get the mentioned error in the title. I've verified that track is a valid Track object
Full trace: