Advertisement
Guest User

Untitled

a guest
Oct 21st, 2017
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. started htb-bot
  2. Ignoring exception in command status
  3. Traceback (most recent call last):
  4. File "/usr/local/lib/python3.5/dist-packages/aioping/__init__.py", line 144, in receive_one_ping
  5. rec_packet = await loop.sock_recv(my_socket, 1024)
  6. File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
  7. yield self # This tells Task to wait for completion.
  8. File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
  9. future.result()
  10. File "/usr/lib/python3.5/asyncio/futures.py", line 266, in result
  11. raise CancelledError
  12. concurrent.futures._base.CancelledError
  13.  
  14. During handling of the above exception, another exception occurred:
  15.  
  16. Traceback (most recent call last):
  17. File "/usr/local/lib/python3.5/dist-packages/aioping/__init__.py", line 159, in receive_one_ping
  18. return time_received - time_sent
  19. File "/usr/local/lib/python3.5/dist-packages/async_timeout/__init__.py", line 35, in __exit__
  20. self._do_exit(exc_type)
  21. File "/usr/local/lib/python3.5/dist-packages/async_timeout/__init__.py", line 80, in _do_exit
  22. raise asyncio.TimeoutError
  23. concurrent.futures._base.TimeoutError
  24.  
  25. During handling of the above exception, another exception occurred:
  26.  
  27. Traceback (most recent call last):
  28. File "bot.py", line 36, in status
  29. euStatus = await aioping.ping(euWeb)
  30. File "/usr/local/lib/python3.5/dist-packages/aioping/__init__.py", line 235, in ping
  31. delay = await receive_one_ping(my_socket, my_id, timeout)
  32. File "/usr/local/lib/python3.5/dist-packages/aioping/__init__.py", line 162, in receive_one_ping
  33. raise TimeoutError("Ping timeout")
  34. TimeoutError: Ping timeout
  35.  
  36. During handling of the above exception, another exception occurred:
  37.  
  38. Traceback (most recent call last):
  39. File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 50, in wrapped
  40. ret = yield from coro(*args, **kwargs)
  41. File "bot.py", line 39, in status
  42. await bot.send_message(ctx.channel, "euStatus timeout")
  43. AttributeError: 'Context' object has no attribute 'channel'
  44.  
  45. The above exception was the direct cause of the following exception:
  46.  
  47. Traceback (most recent call last):
  48. File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/bot.py", line 846, in process_commands
  49. yield from command.invoke(ctx)
  50. File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 374, in invoke
  51. yield from injected(*ctx.args, **ctx.kwargs)
  52. File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 54, in wrapped
  53. raise CommandInvokeError(e) from e
  54. discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Context' object has no attribute 'channel'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement