aDarkDev / NotPixel

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

Terminal #31

Closed boostrapz closed 16 hours ago

boostrapz commented 17 hours ago

Exception in thread Thread-1 (painter): Traceback (most recent call last): File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\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 "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1075, in _bootstrap_inner self.run() File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1012, in run self._target(*self._args, **self._kwargs) File "C:\Users\Admin\Desktop\notpixel-master\NotPixel-main\main.py", line 165, in painter charges = NotPxClient.accountStatus() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\Desktop\notpixel-master\NotPixel-main\main.py", line 94, in accountStatus return self.request("get","/mining/status","speedPerSecond") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\Desktop\notpixel-master\NotPixel-main\main.py", line 73, in request WebAppQuery = GetWebAppData(self.client) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\Desktop\notpixel-master\NotPixel-main\main.py", line 21, in GetWebAppData notcoin = client.get_entity("notpixel") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\telethon\sync.py", line 35, in syncified loop = helpers.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\telethon\helpers.py", line 432, in get_running_loop return asyncio.get_event_loop_policy().get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\asyncio\events.py", line 702, 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)'. C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\threading.py:1077: RuntimeWarning: coroutine 'UserMethods.get_entity' was never awaited self._invoke_excepthook(self) RuntimeWarning: Enable tracemalloc to get the object allocation traceback Exception in thread Thread-2 (mine_claimer): Traceback (most recent call last): File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\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 "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1075, in _bootstrap_inner self.run() File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1012, in run self._target(*self._args, **self._kwargs) File "C:\Users\Admin\Desktop\notpixel-master\NotPixel-main\main.py", line 215, in mine_claimer acc_data = NotPxClient.accountStatus() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\Desktop\notpixel-master\NotPixel-main\main.py", line 94, in accountStatus return self.request("get","/mining/status","speedPerSecond") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\Desktop\notpixel-master\NotPixel-main\main.py", line 73, in request WebAppQuery = GetWebAppData(self.client) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\Desktop\notpixel-master\NotPixel-main\main.py", line 21, in GetWebAppData notcoin = client.get_entity("notpixel") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\telethon\sync.py", line 35, in syncified loop = helpers.get_running_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\telethon\helpers.py", line 432, in get_running_loop return asyncio.get_event_loop_policy().get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\asyncio\events.py", line 702, 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-2 (mine_claimer)'.

aDarkDev commented 16 hours ago

install telethon 1.35.0

pip3 install telethon==1.35.0