Skip to content

Instantly share code, notes, and snippets.

@TheEssem
Created February 15, 2017 22:32
Show Gist options
  • Save TheEssem/82cc34aae4cdf886d56c143b6151c932 to your computer and use it in GitHub Desktop.
Save TheEssem/82cc34aae4cdf886d56c143b6151c932 to your computer and use it in GitHub Desktop.
Task exception was never retrieved
future: <Task finished coro=<MusicPlayer.websocket_check() done, defined at /home/pi/Bots/ABGMusic/musicbot/player.py:280> exception=TimeoutError()>
Traceback (most recent call last):
File "/home/pi/Bots/ABGMusic/musicbot/player.py", line 287, in websocket_check
assert self.voice_client.ws.open
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(value)
File "/home/pi/Bots/ABGMusic/musicbot/player.py", line 291, in websocket_check
await self.bot.reconnect_voice_client(self.voice_client.channel.server)
File "/home/pi/Bots/ABGMusic/musicbot/bot.py", line 310, in reconnect_voice_client
new_vc = await self.get_voice_client(vc.channel)
File "/home/pi/Bots/ABGMusic/musicbot/bot.py", line 237, in get_voice_client
s_id_data = await asyncio.wait_for(s_id, timeout=10, loop=self.loop)
File "/usr/local/lib/python3.5/asyncio/tasks.py", line 382, in wait_for
raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment