mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-26 18:15:54 +03:00
[GH-ISSUE #322] Crashes after first start for any json file #733
Labels
No labels
bug
duplicate
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Insomniac#733
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @niloy1187 on GitHub (Apr 18, 2021).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/322
[04/18 15:04:54] Traceback (most recent call last):
File "C:\Users\Niloy\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\device_facade.py", line 518, in scroll
self.viewV2.scroll.toEnd(max_swipes=1)
File "C:\Users\Niloy\AppData\Local\Programs\Python\Python39\lib\site-packages\uiautomator2_selector.py", line 574, in call
return jsonrpc.scrollToEnd(selector, self.vertical,
File "C:\Users\Niloy\AppData\Local\Programs\Python\Python39\lib\site-packages\uiautomator2_init_.py", line 435, in call
return self.server.jsonrpc_retry_call(self.method, params,
File "C:\Users\Niloy\AppData\Local\Programs\Python\Python39\lib\site-packages\uiautomator2_init.py", line 442, in _jsonrpc_retry_call
return self.jsonrpc_call(*args, **kwargs)
File "C:\Users\Niloy\AppData\Local\Programs\Python\Python39\lib\site-packages\uiautomator2_init.py", line 514, in _jsonrpc_call
raise err
uiautomator2.exceptions.UiObjectNotFoundError: -32001 Jsonrpc error: <androidx.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=com.instagram.android:id/recycler_view], method: scrollToEnd
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Niloy\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\safely_runner.py", line 14, in wrapper
func(*args, **kwargs)
File "C:\Users\Niloy\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\action_runners\interact_init_.py", line 166, in job
handle_hashtag(device_wrapper.get(),
File "C:\Users\Niloy\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\action_runners\interact\action_handle_hashtag.py", line 216, in handle_hashtag
extract_hashtag_profiles_and_interact(device,
File "C:\Users\Niloy\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\action_runners\interact\action_handle_hashtag.py", line 249, in extract_hashtag_profiles_and_interact
posts_view_list = PostsGridView(device).open_random_post()
File "C:\Users\Niloy\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\views.py", line 842, in open_random_post
posts_grid.scroll(DeviceFacade.Direction.BOTTOM)
File "C:\Users\Niloy\AppData\Local\Programs\Python\Python39\lib\site-packages\insomniac\device_facade.py", line 520, in scroll
raise DeviceFacade.JsonRpcError(e)
insomniac.device_facade.DeviceFacade.JsonRpcError: -32001 Jsonrpc error: <androidx.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=com.instagram.android:id/recycler_view], method: scrollToEnd