Advertisement
Guest User

Untitled

a guest
Apr 7th, 2021
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.09 KB | None | 0 0
  1. 2021-04-07T12:35:16.826364+00:00 app[worker.1]: Ignoring exception in command play:
  2. 2021-04-07T12:35:16.826651+00:00 app[worker.1]: Traceback (most recent call last):
  3. 2021-04-07T12:35:16.829995+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/discord/ext/commands/core.py", line 85, in wrapped
  4. 2021-04-07T12:35:16.829996+00:00 app[worker.1]: ret = await coro(*args, **kwargs)
  5. 2021-04-07T12:35:16.830045+00:00 app[worker.1]: File "annubot.py", line 153, in play
  6. 2021-04-07T12:35:16.830046+00:00 app[worker.1]: url = request(query,False)
  7. 2021-04-07T12:35:16.830134+00:00 app[worker.1]: File "annubot.py", line 89, in request
  8. 2021-04-07T12:35:16.830136+00:00 app[worker.1]: name = spotifypull(uri)
  9. 2021-04-07T12:35:16.830177+00:00 app[worker.1]: File "annubot.py", line 76, in spotifypull
  10. 2021-04-07T12:35:16.830180+00:00 app[worker.1]: return (r['name']+" "+r['artists'][0]['name'])
  11. 2021-04-07T12:35:16.830288+00:00 app[worker.1]: KeyError: 'name'
  12. 2021-04-07T12:35:16.830339+00:00 app[worker.1]:
  13. 2021-04-07T12:35:16.830340+00:00 app[worker.1]: The above exception was the direct cause of the following exception:
  14. 2021-04-07T12:35:16.830340+00:00 app[worker.1]:
  15. 2021-04-07T12:35:16.830425+00:00 app[worker.1]: Traceback (most recent call last):
  16. 2021-04-07T12:35:16.830511+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/discord/ext/commands/bot.py", line 902, in invoke
  17. 2021-04-07T12:35:16.830512+00:00 app[worker.1]: await ctx.command.invoke(ctx)
  18. 2021-04-07T12:35:16.830567+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/discord/ext/commands/core.py", line 864, in invoke
  19. 2021-04-07T12:35:16.830568+00:00 app[worker.1]: await injected(*ctx.args, **ctx.kwargs)
  20. 2021-04-07T12:35:16.830603+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/discord/ext/commands/core.py", line 94, in wrapped
  21. 2021-04-07T12:35:16.830604+00:00 app[worker.1]: raise CommandInvokeError(exc) from exc
  22. 2021-04-07T12:35:16.830696+00:00 app[worker.1]: discord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 'name'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement