Title: New RunTimeError ! · Issue #31 · PyrogramMod/PyrogramMod · GitHub
Open Graph Title: New RunTimeError ! · Issue #31 · PyrogramMod/PyrogramMod
X Title: New RunTimeError ! · Issue #31 · PyrogramMod/PyrogramMod
Description: Checklist I am sure the error is coming from Pyrogram's code and not elsewhere I have searched in the issue tracker for similar bug reports, including closed ones I ran pip3 install -U https://github.com/pyrogram/pyrogram/archive/master....
Open Graph Description: Checklist I am sure the error is coming from Pyrogram's code and not elsewhere I have searched in the issue tracker for similar bug reports, including closed ones I ran pip3 install -U https://gith...
X Description: Checklist I am sure the error is coming from Pyrogram's code and not elsewhere I have searched in the issue tracker for similar bug reports, including closed ones I ran pip3 install -U https://...
Opengraph URL: https://github.com/PyrogramMod/PyrogramMod/issues/31
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New RunTimeError !","articleBody":"### Checklist\n\n- [X] I am sure the error is coming from Pyrogram's code and not elsewhere\n- [X] I have searched in the issue tracker for similar bug reports, including closed ones\n- [X] I ran `pip3 install -U https://github.com/pyrogram/pyrogram/archive/master.zip` and reproduced the issue using the latest development version\n\n### Description\n\nLocking Error ?\n\n### Steps to reproduce\n\nJust running for long with heavy updates maybe.\n\n### Code example\n\n_No response_\n\n### Logs\n\n```shell\n2024-11-09T17:11:37.939715582Z Task exception was never retrieved\r\n\r\n2024-11-09T17:11:37.939771460Z future: \u003cTask finished name='Task-223221' coro=\u003cSession.restart() done, defined at /opt/venv/lib/python3.12/site-packages/pyrogram/session/session.py:185\u003e exception=RuntimeError('read() called while another coroutine is already waiting for incoming data')\u003e\r\n\r\n2024-11-09T17:11:37.939785649Z Traceback (most recent call last):\r\n\r\n2024-11-09T17:11:37.939791503Z File \"/opt/venv/lib/python3.12/site-packages/pyrogram/session/session.py\", line 186, in restart\r\n\r\n2024-11-09T17:11:37.939796621Z await self.stop()\r\n\r\n2024-11-09T17:11:37.939801431Z File \"/opt/venv/lib/python3.12/site-packages/pyrogram/session/session.py\", line 175, in stop\r\n\r\n2024-11-09T17:11:37.939806695Z await self.recv_task\r\n\r\n2024-11-09T17:11:37.939811550Z File \"/opt/venv/lib/python3.12/site-packages/pyrogram/session/session.py\", line 308, in recv_worker\r\n\r\n2024-11-09T17:11:37.939817293Z packet = await self.connection.recv()\r\n\r\n2024-11-09T17:11:37.939822393Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\n2024-11-09T17:11:37.939827936Z File \"/opt/venv/lib/python3.12/site-packages/pyrogram/connection/connection.py\", line 81, in recv\r\n\r\n2024-11-09T17:11:37.939833060Z return await self.protocol.recv()\r\n\r\n2024-11-09T17:11:37.939838068Z ^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\n2024-11-09T17:11:37.939843035Z File \"/opt/venv/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp_abridged.py\", line 46, in recv\r\n\r\n2024-11-09T17:11:37.939848412Z length = await super().recv(1)\r\n\r\n2024-11-09T17:11:37.939853576Z ^^^^^^^^^^^^^^^^^^^^^\r\n\r\n2024-11-09T17:11:37.939858528Z File \"/opt/venv/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp.py\", line 156, in recv\r\n\r\n2024-11-09T17:11:37.939862348Z chunk = await asyncio.wait_for(\r\n\r\n2024-11-09T17:11:37.939865436Z ^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\n2024-11-09T17:11:37.939868761Z File \"/usr/local/lib/python3.12/asyncio/tasks.py\", line 520, in wait_for\r\n\r\n2024-11-09T17:11:37.939872133Z return await fut\r\n\r\n2024-11-09T17:11:37.939875087Z ^^^^^^^^^\r\n\r\n2024-11-09T17:11:37.939878068Z File \"/usr/local/lib/python3.12/asyncio/streams.py\", line 713, in read\r\n\r\n2024-11-09T17:11:37.939881103Z await self._wait_for_data('read')\r\n\r\n2024-11-09T17:11:37.939884039Z File \"/usr/local/lib/python3.12/asyncio/streams.py\", line 531, in _wait_for_data\r\n\r\n2024-11-09T17:11:37.939887160Z raise RuntimeError(\r\n\r\n2024-11-09T17:11:37.939890130Z RuntimeError: read() called while another coroutine is already waiting for incoming data\r\n\r\n2024-11-09T17:11:37.940013864Z Task exception was never retrieved\r\n\r\n2024-11-09T17:11:37.940024124Z future: \u003cTask finished name='Task-223222' coro=\u003cSession.restart() done, defined at /opt/venv/lib/python3.12/site-packages/pyrogram/session/session.py:185\u003e exception=RuntimeError('read() called while another coroutine is already waiting for incoming data')\u003e\r\n\r\n2024-11-09T17:11:37.940043387Z Traceback (most recent call last):\r\n\r\n2024-11-09T17:11:37.940048065Z File \"/opt/venv/lib/python3.12/site-packages/pyrogram/session/session.py\", line 186, in restart\r\n\r\n2024-11-09T17:11:37.940052790Z await self.stop()\r\n\r\n2024-11-09T17:11:37.940082547Z File \"/opt/venv/lib/python3.12/site-packages/pyrogram/session/session.py\", line 175, in stop\r\n\r\n2024-11-09T17:11:37.940089212Z await self.recv_task\r\n\r\n2024-11-09T17:11:37.940094325Z RuntimeError: read() called while another coroutine is already waiting for incoming data\r\n\r\n2024-11-09T17:11:37.940199709Z Task exception was never retrieved\r\n\r\n2024-11-09T17:11:37.940207963Z future: \u003cTask finished name='Task-223133' coro=\u003cSession.restart() done, defined at /opt/venv/lib/python3.12/site-packages/pyrogram/session/session.py:185\u003e exception=RuntimeError('read() called while another coroutine is already waiting for incoming data')\u003e\r\n\r\n2024-11-09T17:11:37.940212787Z Traceback (most recent call last):\r\n\r\n2024-11-09T17:11:37.940216298Z File \"/opt/venv/lib/python3.12/site-packages/pyrogram/session/session.py\", line 186, in restart\r\n\r\n2024-11-09T17:11:37.940219949Z await self.stop()\r\n\r\n2024-11-09T17:11:37.940223430Z File \"/opt/venv/lib/python3.12/site-packages/pyrogram/session/session.py\", line 175, in stop\r\n\r\n2024-11-09T17:11:37.940227073Z await self.recv_task\r\n\r\n2024-11-09T17:11:37.940230767Z RuntimeError: read() called while another coroutine is already waiting for incoming data\r\n\r\n2024-11-09T17:14:12.461637854Z [10] Retrying \"messages.SendMessage\" due to: unable to perform operation on \u003cTCPTransport closed=True reading=False 0x7f704e928300\u003e; the handler is closed\r\n\r\n2024-11-09T17:41:50.332738006Z [10] Retrying \"updates.GetState\" due to: unable to perform operation on \u003cTCPTransport closed=True reading=False 0x7f704e928300\u003e; the handler is closed```\n```\n","author":{"url":"https://github.com/annihilatorrrr","@type":"Person","name":"annihilatorrrr"},"datePublished":"2024-11-10T05:25:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/31/PyrogramMod/issues/31"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b493b1f0-e39a-99f7-0284-2d388f85602b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E3C2:3F92AD:87AC0B:BEC130:69724FF6 |
| html-safe-nonce | 02b7cd339ccba9ef697f583c4c1d5f16e686254765b7a851c0a99dac69f82be7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0MyOjNGOTJBRDo4N0FDMEI6QkVDMTMwOjY5NzI0RkY2IiwidmlzaXRvcl9pZCI6Ijg5Mzk2MzUwMjI4OTc1MDAxNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7c6e92115eb6cc64ab3df0e1c3637ce3210c8b24fe1e087a52f8cec46ce75bf5 |
| hovercard-subject-tag | issue:2646839733 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PyrogramMod/PyrogramMod/31/issue_layout |
| twitter:image | https://opengraph.githubassets.com/41f179a9c6725b2c66af5ac31ffb2e3b75b0660223d50e62c796e3135af0ca98/PyrogramMod/PyrogramMod/issues/31 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/41f179a9c6725b2c66af5ac31ffb2e3b75b0660223d50e62c796e3135af0ca98/PyrogramMod/PyrogramMod/issues/31 |
| og:image:alt | Checklist I am sure the error is coming from Pyrogram's code and not elsewhere I have searched in the issue tracker for similar bug reports, including closed ones I ran pip3 install -U https://gith... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | annihilatorrrr |
| hostname | github.com |
| expected-hostname | github.com |
| None | f6d9b08324bb62b2cf170b9e435da2bdc7efa5aa93e7ca70ee3162552c05329b |
| turbo-cache-control | no-preview |
| go-import | github.com/PyrogramMod/PyrogramMod git https://github.com/PyrogramMod/PyrogramMod.git |
| octolytics-dimension-user_id | 145343079 |
| octolytics-dimension-user_login | PyrogramMod |
| octolytics-dimension-repository_id | 435451689 |
| octolytics-dimension-repository_nwo | PyrogramMod/PyrogramMod |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 435451689 |
| octolytics-dimension-repository_network_root_nwo | PyrogramMod/PyrogramMod |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 169d2b5c72bff9cc676084f0ac7f8ea888f15f54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width