aDarkDev / NotPixel

NotPixel automatic claim and paint bot، easy to use without extras.
MIT License
93 stars 9 forks source link

im using telethon==1.35.0 but this problem not fix #36

Closed AliCybeRR closed 17 hours ago

AliCybeRR commented 17 hours ago

Exception in thread Thread-1 (painter): Traceback (most recent call last): File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 430, in get_running_loop return asyncio.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/home/alicyberr/Desktop/NotPixel/main.py", line 160, in painter charges = NotPxClient.accountStatus() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 89, in accountStatus return self.request("get","/mining/status","speedPerSecond") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 68, in request WebAppQuery = GetWebAppData(self.client) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 16, in GetWebAppData notcoin = client.get_entity("notpixel") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/sync.py", line 35, in syncified loop = helpers.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 432, in get_running_loop return asyncio.get_event_loop_policy().get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/events.py", line 681, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' RuntimeError: There is no current event loop in thread 'Thread-1 (painter)'. /usr/lib/python3.11/threading.py:1047: RuntimeWarning: coroutine 'UserMethods.get_entity' was never awaited self._invoke_excepthook(self) RuntimeWarning: Enable tracemalloc to get the object allocation traceback [proxychains] Strict chain ... 127.0.0.1:9050 ... notpx.app:443 ... OK Exception in thread Thread-3 (painter): Traceback (most recent call last): File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 430, in get_running_loop return asyncio.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/home/alicyberr/Desktop/NotPixel/main.py", line 160, in painter charges = NotPxClient.accountStatus() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 89, in accountStatus return self.request("get","/mining/status","speedPerSecond") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 68, in request WebAppQuery = GetWebAppData(self.client) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 16, in GetWebAppData notcoin = client.get_entity("notpixel") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/sync.py", line 35, in syncified loop = helpers.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 432, in get_running_loop return asyncio.get_event_loop_policy().get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/events.py", line 681, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' RuntimeError: There is no current event loop in thread 'Thread-3 (painter)'. [proxychains] Strict chain ... 127.0.0.1:9050 ... notpx.app:443 ... OK [proxychains] Strict chain ... 127.0.0.1:9050 ... notpx.app:443 ... OK Exception in thread Thread-7 (painter): Traceback (most recent call last): File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 430, in get_running_loop return asyncio.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/home/alicyberr/Desktop/NotPixel/main.py", line 160, in painter charges = NotPxClient.accountStatus() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 89, in accountStatus return self.request("get","/mining/status","speedPerSecond") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 68, in request WebAppQuery = GetWebAppData(self.client) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 16, in GetWebAppData notcoin = client.get_entity("notpixel") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/sync.py", line 35, in syncified loop = helpers.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 432, in get_running_loop return asyncio.get_event_loop_policy().get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/events.py", line 681, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' RuntimeError: There is no current event loop in thread 'Thread-7 (painter)'. Exception in thread Thread-9 (painter): Traceback (most recent call last): File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 430, in get_running_loop return asyncio.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/home/alicyberr/Desktop/NotPixel/main.py", line 160, in painter charges = NotPxClient.accountStatus() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 89, in accountStatus return self.request("get","/mining/status","speedPerSecond") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 68, in request WebAppQuery = GetWebAppData(self.client) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 16, in GetWebAppData notcoin = client.get_entity("notpixel") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/sync.py", line 35, in syncified loop = helpers.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 432, in get_running_loop return asyncio.get_event_loop_policy().get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/events.py", line 681, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' RuntimeError: There is no current event loop in thread 'Thread-9 (painter)'. [proxychains] Strict chain ... 127.0.0.1:9050 ... notpx.app:443 ... OK Exception in thread Thread-5 (painter): Traceback (most recent call last): File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 430, in get_running_loop return asyncio.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/home/alicyberr/Desktop/NotPixel/main.py", line 160, in painter charges = NotPxClient.accountStatus() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 89, in accountStatus return self.request("get","/mining/status","speedPerSecond") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 68, in request WebAppQuery = GetWebAppData(self.client) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 16, in GetWebAppData notcoin = client.get_entity("notpixel") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/sync.py", line 35, in syncified loop = helpers.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 432, in get_running_loop return asyncio.get_event_loop_policy().get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/events.py", line 681, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' RuntimeError: There is no current event loop in thread 'Thread-5 (painter)'. [proxychains] Strict chain ... 127.0.0.1:9050 ... notpx.app:443 [proxychains] Strict chain ... 127.0.0.1:9050 ... notpx.app:443 ... OK ... OK Exception in thread Thread-11 (painter): Traceback (most recent call last): File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 430, in get_running_loop return asyncio.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/home/alicyberr/Desktop/NotPixel/main.py", line 160, in painter charges = NotPxClient.accountStatus() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 89, in accountStatus return self.request("get","/mining/status","speedPerSecond") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 68, in request WebAppQuery = GetWebAppData(self.client) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 16, in GetWebAppData notcoin = client.get_entity("notpixel") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/sync.py", line 35, in syncified loop = helpers.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 432, in get_running_loop return asyncio.get_event_loop_policy().get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/events.py", line 681, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' RuntimeError: There is no current event loop in thread 'Thread-11 (painter)'. Exception in thread Thread-13 (painter): Traceback (most recent call last): File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 430, in get_running_loop return asyncio.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/home/alicyberr/Desktop/NotPixel/main.py", line 160, in painter charges = NotPxClient.accountStatus() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 89, in accountStatus return self.request("get","/mining/status","speedPerSecond") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 68, in request WebAppQuery = GetWebAppData(self.client) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/Desktop/NotPixel/main.py", line 16, in GetWebAppData notcoin = client.get_entity("notpixel") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/sync.py", line 35, in syncified loop = helpers.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/alicyberr/.local/lib/python3.11/site-packages/telethon/helpers.py", line 432, in get_running_loop return asyncio.get_event_loop_policy().get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/events.py", line 681, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' RuntimeError: There is no current event loop in thread 'Thread-13 (painter)'.

aDarkDev commented 17 hours ago

hi use latest source updated 1 min ago

aDarkDev commented 17 hours ago

[proxychains] Strict chain ... 127.0.0.1:9050 ... notpx.app:443 ... OK

you using proxychains i dont think that telethon can handle it with websocket.

AliCybeRR commented 17 hours ago

ok

aDarkDev commented 17 hours ago

use proxy like this ss https://github.com/aDarkDev/NotPixel/issues/32#issuecomment-2379254880