Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- started htb-bot
- Ignoring exception in command status
- Traceback (most recent call last):
- File "/usr/local/lib/python3.5/dist-packages/aioping/__init__.py", line 144, in receive_one_ping
- rec_packet = await loop.sock_recv(my_socket, 1024)
- File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
- yield self # This tells Task to wait for completion.
- File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
- future.result()
- File "/usr/lib/python3.5/asyncio/futures.py", line 266, in result
- raise CancelledError
- concurrent.futures._base.CancelledError
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.5/dist-packages/aioping/__init__.py", line 159, in receive_one_ping
- return time_received - time_sent
- File "/usr/local/lib/python3.5/dist-packages/async_timeout/__init__.py", line 35, in __exit__
- self._do_exit(exc_type)
- File "/usr/local/lib/python3.5/dist-packages/async_timeout/__init__.py", line 80, in _do_exit
- raise asyncio.TimeoutError
- concurrent.futures._base.TimeoutError
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "bot.py", line 36, in status
- euStatus = await aioping.ping(euWeb)
- File "/usr/local/lib/python3.5/dist-packages/aioping/__init__.py", line 235, in ping
- delay = await receive_one_ping(my_socket, my_id, timeout)
- File "/usr/local/lib/python3.5/dist-packages/aioping/__init__.py", line 162, in receive_one_ping
- raise TimeoutError("Ping timeout")
- TimeoutError: Ping timeout
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 50, in wrapped
- ret = yield from coro(*args, **kwargs)
- File "bot.py", line 39, in status
- await bot.send_message(ctx.channel, "euStatus timeout")
- AttributeError: 'Context' object has no attribute 'channel'
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/bot.py", line 846, in process_commands
- yield from command.invoke(ctx)
- File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 374, in invoke
- yield from injected(*ctx.args, **ctx.kwargs)
- File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 54, in wrapped
- raise CommandInvokeError(e) from e
- 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