mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-27 02:25:50 +03:00
[GH-ISSUE #89] Scrolling issue #68
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#68
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 @flodes80 on GitHub (Aug 23, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/89
Hi,
There is a scrolling issue that happen often in a session (about 6/7 times).
Here is the logs:
[08/23 07:47:25] Session progress: 142 likes, 47 followed, 68 successful interactions for @noeloquence [08/23 07:47:25] Back to followers list [08/23 07:47:27] Next item not found: probably reached end of the screen. [08/23 07:47:27] Need to scroll now [08/23 07:47:38] Traceback (most recent call last): File "/home/pi/Insomniac/insomniac.py", line 399, in wrapper func(*args, **kwargs) File "/home/pi/Insomniac/insomniac.py", line 208, in job on_interaction) File "/home/pi/Insomniac/src/action_handle_blogger.py", line 39, in handle_blogger _iterate_over_followers(device, interaction, is_follow_limit_reached, storage, on_interaction, is_myself) File "/home/pi/Insomniac/src/action_handle_blogger.py", line 159, in _iterate_over_followers list_view.scroll.toEnd(max_swipes=1) File "/usr/local/lib/python3.7/dist-packages/uiautomator2/_selector.py", line 575, in __call__ max_swipes, steps) File "/usr/local/lib/python3.7/dist-packages/uiautomator2/__init__.py", line 435, in __call__ http_timeout) File "/usr/local/lib/python3.7/dist-packages/uiautomator2/__init__.py", line 441, in _jsonrpc_retry_call return self._jsonrpc_call(*args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/uiautomator2/__init__.py", line 513, in _jsonrpc_call raise err uiautomator2.exceptions.UiObjectNotFoundError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=android.widget.ListView, RESOURCE_ID=android:id/list], method: scrollToEndI attach some screenshot too:


It seems to be related to pinned stories from users. It takes some place and uiautomator2 can't find the list that is searching for
@alexal1 commented on GitHub (Aug 26, 2020):
Could you please provide a full log in a txt file?
@gvmturl commented on GitHub (Sep 26, 2020):
Is it solved?
@alexal1 commented on GitHub (Sep 27, 2020):
🤷♂️
I think we can close it as there's not enough info. If someone reopens it, please attach crash info.