Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/home/project/anonymouse_telegram_bot/venv/lib/python3.9/site-packages/aiogram/utils/executor.py", line 309, in start_polling
- loop.run_until_complete(self._startup_polling())
- File "/usr/lib/python3.9/asyncio/base_events.py", line 618, in run_until_complete
- self._check_running()
- File "/usr/lib/python3.9/asyncio/base_events.py", line 578, in _check_running
- raise RuntimeError('This event loop is already running')
- RuntimeError: This event loop is already running
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/project/anonymouse_telegram_bot/src/main.py", line 75, in <module>
- loop.run_until_complete(service.main(arg.build))
- File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
- return future.result()
- File "/home/project/anonymouse_telegram_bot/src/main.py", line 54, in main
- executor.start_polling(self.dp, on_shutdown=self.shutdown, loop=self.loop)
- File "/home/project/anonymouse_telegram_bot/venv/lib/python3.9/site-packages/aiogram/utils/executor.py", line 41, in start_polling
- executor.start_polling(reset_webhook=reset_webhook, timeout=timeout, relax=relax, fast=fast)
- File "/home/project/anonymouse_telegram_bot/venv/lib/python3.9/site-packages/aiogram/utils/executor.py", line 317, in start_polling
- loop.run_until_complete(self._shutdown_polling())
- File "/usr/lib/python3.9/asyncio/base_events.py", line 618, in run_until_complete
- self._check_running()
- File "/usr/lib/python3.9/asyncio/base_events.py", line 578, in _check_running
- raise RuntimeError('This event loop is already running')
- RuntimeError: This event loop is already running
- sys:1: RuntimeWarning: coroutine 'Executor._startup_polling' was never awaited
- sys:1: RuntimeWarning: coroutine 'Executor._shutdown_polling' was never awaited
Advertisement
Add Comment
Please, Sign In to add comment