Advertisement
Guest User

Untitled

a guest
Jul 30th, 2023
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. unhandled exception during asyncio.run() shutdown
  2. task: <Task finished name='Task-91' coro=<Client.updates_watchdog() done, defined at C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\client.py:319> exception=RuntimeError("Task <Task pending name='Task-92' coro=<Event.wait() running at C:\\Users\\test2\\AppData\\Local\\Programs\\Python\\Python38\\lib\\asyncio\\locks.py:309> cb=[_release_waiter(<Future pendi...00578D2E0>()]>)() at C:\\Users\\test2\\AppData\\Local\\Programs\\Python\\Python38\\lib\\asyncio\\tasks.py:429]> got Future <Future pending> attached to a different loop")>
  3. Traceback (most recent call last):
  4. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\asyncio\runners.py", line 44, in run
  5. return loop.run_until_complete(main)
  6. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete
  7. return future.result()
  8. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\2.py", line 36, in main
  9. await asyncio.gather(app1.idle(), app2.idle())
  10. AttributeError: 'Client' object has no attribute 'idle'
  11.  
  12. During handling of the above exception, another exception occurred:
  13.  
  14. Traceback (most recent call last):
  15. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\asyncio\tasks.py", line 481, in wait_for
  16. await waiter
  17. asyncio.exceptions.CancelledError
  18.  
  19. During handling of the above exception, another exception occurred:
  20.  
  21. Traceback (most recent call last):
  22. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\client.py", line 322, in updates_watchdog
  23. await asyncio.wait_for(self.updates_watchdog_event.wait(), self.UPDATES_WATCHDOG_INTERVAL)
  24. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\asyncio\tasks.py", line 484, in wait_for
  25. return fut.result()
  26. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\asyncio\locks.py", line 309, in wait
  27. await fut
  28. RuntimeError: Task <Task pending name='Task-92' coro=<Event.wait() running at C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\asyncio\locks.py:309> cb=[_release_waiter(<Future pendi...00578D2E0>()]>)() at C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\asyncio\tasks.py:429]> got Future <Future pending> attached to a different loop
  29. Traceback (most recent call last):
  30. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\2.py", line 39, in <module>
  31. asyncio.run(main())
  32. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\asyncio\runners.py", line 44, in run
  33. return loop.run_until_complete(main)
  34. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete
  35. return future.result()
  36. File "C:\Users\test2\AppData\Local\Programs\Python\Python38\2.py", line 36, in main
  37. await asyncio.gather(app1.idle(), app2.idle())
  38. AttributeError: 'Client' object has no attribute 'idle'
  39. >>>
  40.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement