Advertisement
disk6969

bin

Jul 19th, 2023 (edited)
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. I get:
  2.  
  3. Traceback (most recent call last):
  4. File "bot.py", line 64, in <module>
  5. with bot:
  6. File "/home/alex/.local/lib/python3.8/site-packages/telethon/helpers.py", line 219, in _sync_enter
  7. return loop.run_until_complete(self.aenter())
  8. File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
  9. return future.result()
  10. File "/home/alex/.local/lib/python3.8/site-packages/telethon/client/auth.py", line 656, in aenter
  11. return await self.start()
  12. File "/home/alex/.local/lib/python3.8/site-packages/telethon/client/auth.py", line 135, in _start
  13. await self.connect()
  14. File "/home/alex/.local/lib/python3.8/site-packages/telethon/client/telegrambaseclient.py", line 549, in connect
  15. self.session.auth_key = self._sender.auth_key
  16. File "/home/alex/.local/lib/python3.8/site-packages/telethon/sessions/sqlite.py", line 180, in auth_key
  17. self._update_session_table()
  18. File "/home/alex/.local/lib/python3.8/site-packages/telethon/sessions/sqlite.py", line 194, in _update_session_table
  19. c.execute('delete from sessions')
  20. sqlite3.OperationalError: database is locked
  21. Task was destroyed but it is pending!
  22. task: <Task pending name='Task-3' coro=<Connection._send_loop() running at /home/alex/.local/lib/python3.8/site-packages/telethon/network/connection/connection.py:313> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f1b47171370>()]>>
  23. Task was destroyed but it is pending!
  24. task: <Task pending name='Task-4' coro=<Connection._recv_loop() running at /home/alex/.local/lib/python3.8/site-packages/telethon/network/connection/connection.py:332> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f1b47171460>()]>>
  25. Task was destroyed but it is pending!
  26. task: <Task pending name='Task-5' coro=<MTProtoSender._send_loop() running at /home/alex/.local/lib/python3.8/site-packages/telethon/network/mtprotosender.py:462> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f1b47171550>()]>>
  27. Task was destroyed but it is pending!
  28. task: <Task pending name='Task-6' coro=<MTProtoSender._recv_loop() running at /home/alex/.local/lib/python3.8/site-packages/telethon/network/mtprotosender.py:505> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f1b47171580>()]>>
  29. Exception ignored in: <coroutine object Connection._recv_loop at 0x7f1b47175240>
  30. RuntimeError: coroutine ignored GeneratorExit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement