Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state

await self.async_device_update()


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 472, in async_device_update

await self.hass.async_add_executor_job(self.update)


 "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/src/homeassistant/homeassistant/components/spotify/media_player.py", line 85, in wrapper

result = func(self, *args, **kwargs)


 "/usr/src/homeassistant/homeassistant/components/spotify/media_player.py", line 354, in update

self._playlist = self._spotify.playlist(current["context"]["uri"])
AttributeError: 'Spotify' object has no attribute 'playlist'`

Traceback (most recent call last):


 "/root/anaconda3/envs/django4celery/lib/python3.7/site-packages/celery/app/trace.py", line 385, in trace_task

R = retval = fun(*args, **kwargs)


 "/root/anaconda3/envs/django4celery/lib/python3.7/site-packages/celery/app/trace.py", line 648, in __protected_call__

return self.run(*args, **kwargs)


 "/root/spider_projects/django4celery/taskproj/app01/utils/tasks.py", line 354, in down_single_json

rdb.set_trace()


 "/root/anaconda3/envs/django4celery/lib/python3.7/site-packages/celery/contrib/rdb.py", line 193, in set_trace

return debugger().set_trace(frame)


 "/root/anaconda3/envs/django4celery/lib/python3.7/site-packages/celery/contrib/rdb.py", line 185, in debugger

rdb = _current[0] = Rdb()


 "/root/anaconda3/envs/django4celery/lib/python3.7/site-packages/celery/contrib/rdb.py", line 104, in __init__

host, port, port_search_limit, port_skew,


 "/root/anaconda3/envs/django4celery/lib/python3.7/site-packages/celery/contrib/rdb.py", line 141, in get_avail_port

raise Exception(NO_AVAILABLE_PORT.format(self=self))
AttributeError: 'Rdb' object has no attribute 'ident'
