bot icon indicating copy to clipboard operation
bot copied to clipboard

error and bot crashes all the time

Open roncam82 opened this issue 2 years ago • 0 comments

What happened: Im repeateadly having this error

What you expected to happen: no errors

How to reproduce it (as minimally and precisely as possible): it happens while the bot is running

Anything else we need to know?:

Environment:

  • GramAddict version: latest
  • Device Model/Emulator Type: memu
  • Android Version:
  • Instagram Version: 263.2.0.19.104
  • Discord Ticket ID: *(if submitting crash log)

Relevant Logs: ERROR | Traceback (most recent call last): File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\GramAddict\core\device_facade.py", line 617, in get_bounds return self.viewV2.info["bounds"] File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\retry\api.py", line 73, in retry_decorator return __retry_internal(partial(f, *args, **kwargs), exceptions, tries, delay, max_delay, backoff, jitter, File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\retry\api.py", line 33, in _retry_internal return f() File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\uiautomator2_selector.py", line 130, in info return self.jsonrpc.objInfo(self.selector) File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\uiautomator2_init.py", line 480, in call return self.server.jsonrpc_retry_call(self.method, params, File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\uiautomator2_init.py", line 487, in _jsonrpc_retry_call return self.jsonrpc_call(*args, **kwargs) File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\uiautomator2_init.py", line 556, in _jsonrpc_call raise err uiautomator2.exceptions.UiObjectNotFoundError: -32001 Jsonrpc error: <androidx.test.uiautomator.UiObjectNotFoundException> data: UiSelector[INSTANCE=9, RESOURCE_ID_REGEX=com.instagram.android:id/follow_list_container|com.instagram.android:id/row_user_container_base|com.instagram.android:id/recommended_user_row_content_identifier], method: objInfo

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\GramAddict\core\decorators.py", line 31, in wrapper func(*args, **kwargs) File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\GramAddict\plugins\interact_blogger_followers.py", line 109, in job self.handle_blogger( File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\GramAddict\plugins\interact_blogger_followers.py", line 185, in handle_blogger handle_followers( File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\GramAddict\core\handle_sources.py", line 677, in handle_followers iterate_over_followers( File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\GramAddict\core\handle_sources.py", line 728, in iterate_over_followers cur_row_height = item.get_height() File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\GramAddict\core\device_facade.py", line 622, in get_height bounds = self.get_bounds() File "C:\Users\Ronald\AppData\Local\Programs\Python\Python39\lib\site-packages\GramAddict\core\device_facade.py", line 619, in get_bounds raise DeviceFacade.JsonRpcError(e) GramAddict.core.device_facade.DeviceFacade.JsonRpcError: -32001 Jsonrpc error: <androidx.test.uiautomator.UiObjectNotFoundException> data: UiSelector[INSTANCE=9, RESOURCE_ID_REGEX=com.instagram.android:id/follow_list_container|com.instagram.android:id/row_user_container_base|com.instagram.android:id/recommended_user_row_content_identifier], method: objInfo




*Note: if you have a crash log, please do not attach the archive here as this is not a secure place to upload the sensitive data inside. Please open a ticket in Discord in #lobby and provide the ticket ID here.

roncam82 avatar Feb 10 '24 10:02 roncam82