What happened: Bot throws error posted in logs below and restart. Happens multiple times during session
What you expected to happen: To complete session without errors
How to reproduce it (as minimally and precisely as possible): Seems it occur randomly
Anything else we need to know?: Sometimes when bot likes photo it scrolls down and unlike the same one
Environment:
- GramAddict version: 1.1.1
- Device Model/Emulator Type: Nexus 6
- Android Version: 8.1.0
- Instagram Version: 167.1.0.25.120
- Discord Ticket ID: *(if submitting crash log)
Relevant Logs:
ERROR | Traceback (most recent call last):
File "/home/pi/bot-1.1.1/GramAddict/core/device_facade.py", line 299, in get_bounds
return self.viewV2.info["bounds"]
File "", line 2, in info
File "/home/pi/.local/lib/python3.7/site-packages/retry/api.py", line 74, in retry_decorator
logger)
File "/home/pi/.local/lib/python3.7/site-packages/retry/api.py", line 33, in __retry_internal
return f()
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/_selector.py", line 130, in info
return self.jsonrpc.objInfo(self.selector)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 435, in call
http_timeout)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 441, in _jsonrpc_retry_call
return self._jsonrpc_call(*args, **kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 513, in _jsonrpc_call
raise err
uiautomator2.exceptions.UiObjectNotFoundError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[RESOURCE_ID_REGEX=com.instagram.android:id/profile_tabs_contain
er], method: objInfo
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/bot-1.1.1/GramAddict/core/decorators.py", line 29, in wrapper
func(*args, **kwargs)
File "/home/pi/bot-1.1.1/GramAddict/plugins/interact_blogger_followers.py", line 129, in job
on_interaction,
File "/home/pi/bot-1.1.1/GramAddict/plugins/interact_blogger_followers.py", line 189, in handle_blogger
is_myself,
File "/home/pi/bot-1.1.1/GramAddict/plugins/interact_blogger_followers.py", line 313, in iterate_over_followers
device, username=username, can_follow=can_follow
File "/home/pi/bot-1.1.1/GramAddict/core/interaction.py", line 83, in interact_with_user
ProfileView(device).swipe_to_fit_posts()
File "/home/pi/bot-1.1.1/GramAddict/core/views.py", line 853, in swipe_to_fit_posts
resourceIdMatches="com.instagram.android:id/profile_tabs_container"
File "/home/pi/bot-1.1.1/GramAddict/core/device_facade.py", line 301, in get_bounds
raise DeviceFacade.JsonRpcError(e)
GramAddict.core.device_facade.DeviceFacade.JsonRpcError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[RESOURCE_ID_REGEX=com.instagram.android:id/profile_ta
bs_container], 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.