Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error and bot crashes all the time #367

Open
roncam82 opened this issue Feb 10, 2024 · 0 comments
Open

error and bot crashes all the time #367

roncam82 opened this issue Feb 10, 2024 · 0 comments

Comments

@roncam82
Copy link

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 roncam82 changed the title error error andbot crashes all the time Feb 11, 2024
uvzz pushed a commit to uvzz/gramaddict that referenced this issue Feb 12, 2024
uvzz pushed a commit to uvzz/gramaddict that referenced this issue Feb 12, 2024
uvzz pushed a commit to uvzz/gramaddict that referenced this issue Feb 12, 2024
uvzz pushed a commit to uvzz/gramaddict that referenced this issue Feb 12, 2024
@roncam82 roncam82 changed the title error andbot crashes all the time error and bot crashes all the time Feb 13, 2024
uvzz pushed a commit to uvzz/gramaddict that referenced this issue Feb 13, 2024
uvzz pushed a commit to uvzz/gramaddict that referenced this issue Feb 14, 2024
uvzz pushed a commit to uvzz/gramaddict that referenced this issue Feb 14, 2024
uvzz pushed a commit to uvzz/gramaddict that referenced this issue Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant