Advertisement
Frostyy22

Untitled

Aug 7th, 2023
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. Task was destroyed but it is pending!
  2. task: <Task pending name='Task-30' coro=<Bot.stop_bot() running at C:\Users\Frostyy\Desktop\SecretThingy but with GUI\main.py:45>>
  3. C:\Users\Frostyy\Python\Lib\asyncio\base_events.py:678: RuntimeWarning: coroutine 'Bot.stop_bot' was never awaited
  4. self._ready.clear()
  5. RuntimeWarning: Enable tracemalloc to get the object allocation traceback
  6. Exception in thread Thread-1 (start_bot_thread):
  7. Traceback (most recent call last):
  8. File "C:\Users\Frostyy\Python\Lib\threading.py", line 1038, in _bootstrap_inner
  9. self.run()
  10. File "C:\Users\Frostyy\Python\Lib\threading.py", line 975, in run
  11. self._target(*self._args, **self._kwargs)
  12. File "C:\Users\Frostyy\Desktop\SecretThingy but with GUI\main.py", line 64, in start_bot_thread
  13. loop.run_until_complete(run_bot(bot))
  14. File "C:\Users\Frostyy\Python\Lib\asyncio\base_events.py", line 651, in run_until_complete
  15. raise RuntimeError('Event loop stopped before Future completed.')
  16. RuntimeError: Event loop stopped before Future completed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement