[GH-ISSUE #178] crashes liking #hashtag #147

Closed
opened 2026-03-02 23:38:22 +03:00 by kerem · 4 comments
Owner

Originally created by @soulpawa on GitHub (Nov 6, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/178

I found 2 problems / scenarios one keeps liking on the same post:

11/06 10:05:12] Iterate over visible likers.
[11/06 10:05:12] @akihito_baron: already interacted. Skip.
[11/06 10:05:13] @dblackbarbeariasp: already interacted. Skip.
[11/06 10:05:13] Iterated exactly the same likers twice, finish.
[11/06 10:05:13] Back to #shave
[11/06 10:05:24] Traceback (most recent call last):
File "", line 174, in scroll
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/_selector.py", line 575, in call
max_swipes, steps)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 436, in call
http_timeout)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 442, in _jsonrpc_retry_call
return self._jsonrpc_call(*args, **kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 514, in _jsonrpc_call
raise err

another problem is when the post has not likes from nobody

11/06 10:12:39] Handle #shave
[11/06 10:12:39] Interactions count: 25
[11/06 10:12:39] Press search
[11/06 10:12:42] Open hashtag #shave
[11/06 10:12:45] Sleep for 4 seconds
[11/06 10:12:49] Switching to Recent tab
[11/06 10:12:53] Sleep for 3 seconds
[11/06 10:12:56] Opening the first post
[11/06 10:12:57] Sleep for 1 second
[11/06 10:12:59] No likes, let's scroll down.
[11/06 10:13:10] Traceback (most recent call last):
File "", line 174, in scroll
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/_selector.py", line 575, in call
max_swipes, steps)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 436, in call
http_timeout)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 442, in _jsonrpc_retry_call
return self._jsonrpc_call(*args, **kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 514, in _jsonrpc_call
raise err
uiautomator2.exceptions.UiObjectNotFoundError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=android:id/list], method: scrollToEnd

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/pi/.local/lib/python3.7/site-packages/insomniac/init.py", line 418, in wrapper
func(*args, **kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/insomniac/init.py", line 227, in job
on_interaction)
File "", line 48, in handle_hashtag
File "", line 176, in scroll
insomniac.device_facade.DeviceFacade.JsonRpcError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=android:id/list], method: scrollToEnd

WARNING:root:HTTPConnectionPool(host='localhost', port=59047): Read timed out. (read timeout=10), retrying in 0.5 seconds...

no crash.zip as it's empty on the folder

Originally created by @soulpawa on GitHub (Nov 6, 2020). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/178 I found 2 problems / scenarios one keeps liking on the same post: 11/06 10:05:12] Iterate over visible likers. [11/06 10:05:12] @akihito_baron: already interacted. Skip. [11/06 10:05:13] @dblackbarbeariasp: already interacted. Skip. [11/06 10:05:13] Iterated exactly the same likers twice, finish. [11/06 10:05:13] Back to #shave [11/06 10:05:24] Traceback (most recent call last): File "<string>", line 174, in scroll File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/_selector.py", line 575, in __call__ max_swipes, steps) File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/__init__.py", line 436, in __call__ http_timeout) File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/__init__.py", line 442, in _jsonrpc_retry_call return self._jsonrpc_call(*args, **kwargs) File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/__init__.py", line 514, in _jsonrpc_call raise err another problem is when the post has not likes from nobody 11/06 10:12:39] Handle #shave [11/06 10:12:39] Interactions count: 25 [11/06 10:12:39] Press search [11/06 10:12:42] Open hashtag #shave [11/06 10:12:45] Sleep for 4 seconds [11/06 10:12:49] Switching to Recent tab [11/06 10:12:53] Sleep for 3 seconds [11/06 10:12:56] Opening the first post [11/06 10:12:57] Sleep for 1 second [11/06 10:12:59] No likes, let's scroll down. [11/06 10:13:10] Traceback (most recent call last): File "<string>", line 174, in scroll File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/_selector.py", line 575, in __call__ max_swipes, steps) File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/__init__.py", line 436, in __call__ http_timeout) File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/__init__.py", line 442, in _jsonrpc_retry_call return self._jsonrpc_call(*args, **kwargs) File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/__init__.py", line 514, in _jsonrpc_call raise err uiautomator2.exceptions.UiObjectNotFoundError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=android:id/list], method: scrollToEnd During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/.local/lib/python3.7/site-packages/insomniac/__init__.py", line 418, in wrapper func(*args, **kwargs) File "/home/pi/.local/lib/python3.7/site-packages/insomniac/__init__.py", line 227, in job on_interaction) File "<string>", line 48, in handle_hashtag File "<string>", line 176, in scroll insomniac.device_facade.DeviceFacade.JsonRpcError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=android:id/list], method: scrollToEnd WARNING:root:HTTPConnectionPool(host='localhost', port=59047): Read timed out. (read timeout=10), retrying in 0.5 seconds... no crash.zip as it's empty on the folder
kerem closed this issue 2026-03-02 23:38:22 +03:00
Author
Owner

@rajASSop commented on GitHub (Nov 8, 2020):

can you give me a link to your repo so I will run and look forward to your issue.....
I tried to find that but I didn't get it

<!-- gh-comment-id:723526037 --> @rajASSop commented on GitHub (Nov 8, 2020): can you give me a link to your repo so I will run and look forward to your issue..... I tried to find that but I didn't get it
Author
Owner

@rajASSop commented on GitHub (Nov 8, 2020):

I found 2 problems / scenarios one keeps liking on the same post:

11/06 10:05:12] Iterate over visible likers.
[11/06 10:05:12] @akihito_baron: already interacted. Skip.
[11/06 10:05:13] @dblackbarbeariasp: already interacted. Skip.
[11/06 10:05:13] Iterated exactly the same likers twice, finish.
[11/06 10:05:13] Back to #shave
[11/06 10:05:24] Traceback (most recent call last):
File "", line 174, in scroll
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/_selector.py", line 575, in call
max_swipes, steps)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 436, in call
http_timeout)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 442, in _jsonrpc_retry_call
return self._jsonrpc_call(*args, **kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 514, in _jsonrpc_call
raise err

another problem is when the post has not likes from nobody

11/06 10:12:39] Handle #shave
[11/06 10:12:39] Interactions count: 25
[11/06 10:12:39] Press search
[11/06 10:12:42] Open hashtag #shave
[11/06 10:12:45] Sleep for 4 seconds
[11/06 10:12:49] Switching to Recent tab
[11/06 10:12:53] Sleep for 3 seconds
[11/06 10:12:56] Opening the first post
[11/06 10:12:57] Sleep for 1 second
[11/06 10:12:59] No likes, let's scroll down.
[11/06 10:13:10] Traceback (most recent call last):
File "", line 174, in scroll
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/_selector.py", line 575, in call
max_swipes, steps)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 436, in call
http_timeout)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 442, in _jsonrpc_retry_call
return self._jsonrpc_call(*args, **kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/init.py", line 514, in _jsonrpc_call
raise err
uiautomator2.exceptions.UiObjectNotFoundError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=android:id/list], method: scrollToEnd

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/pi/.local/lib/python3.7/site-packages/insomniac/init.py", line 418, in wrapper
func(*args, **kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/insomniac/init.py", line 227, in job
on_interaction)
File "", line 48, in handle_hashtag
File "", line 176, in scroll
insomniac.device_facade.DeviceFacade.JsonRpcError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=android:id/list], method: scrollToEnd

WARNING:root:HTTPConnectionPool(host='localhost', port=59047): Read timed out. (read timeout=10), retrying in 0.5 seconds...

no crash.zip as it's empty on the folder

can you give me a link to your repo so I will run and look forward to your issue.....
I tried to find that but I didn't get it

<!-- gh-comment-id:723526050 --> @rajASSop commented on GitHub (Nov 8, 2020): > I found 2 problems / scenarios one keeps liking on the same post: > > 11/06 10:05:12] Iterate over visible likers. > [11/06 10:05:12] @akihito_baron: already interacted. Skip. > [11/06 10:05:13] @dblackbarbeariasp: already interacted. Skip. > [11/06 10:05:13] Iterated exactly the same likers twice, finish. > [11/06 10:05:13] Back to #shave > [11/06 10:05:24] Traceback (most recent call last): > File "", line 174, in scroll > File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/_selector.py", line 575, in **call** > max_swipes, steps) > File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/**init**.py", line 436, in **call** > http_timeout) > File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/**init**.py", line 442, in _jsonrpc_retry_call > return self._jsonrpc_call(*args, **kwargs) > File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/**init**.py", line 514, in _jsonrpc_call > raise err > > another problem is when the post has not likes from nobody > > 11/06 10:12:39] Handle #shave > [11/06 10:12:39] Interactions count: 25 > [11/06 10:12:39] Press search > [11/06 10:12:42] Open hashtag #shave > [11/06 10:12:45] Sleep for 4 seconds > [11/06 10:12:49] Switching to Recent tab > [11/06 10:12:53] Sleep for 3 seconds > [11/06 10:12:56] Opening the first post > [11/06 10:12:57] Sleep for 1 second > [11/06 10:12:59] No likes, let's scroll down. > [11/06 10:13:10] Traceback (most recent call last): > File "", line 174, in scroll > File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/_selector.py", line 575, in **call** > max_swipes, steps) > File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/**init**.py", line 436, in **call** > http_timeout) > File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/**init**.py", line 442, in _jsonrpc_retry_call > return self._jsonrpc_call(*args, **kwargs) > File "/home/pi/.local/lib/python3.7/site-packages/uiautomator2/**init**.py", line 514, in _jsonrpc_call > raise err > uiautomator2.exceptions.UiObjectNotFoundError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=android:id/list], method: scrollToEnd > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/home/pi/.local/lib/python3.7/site-packages/insomniac/**init**.py", line 418, in wrapper > func(*args, **kwargs) > File "/home/pi/.local/lib/python3.7/site-packages/insomniac/**init**.py", line 227, in job > on_interaction) > File "", line 48, in handle_hashtag > File "", line 176, in scroll > insomniac.device_facade.DeviceFacade.JsonRpcError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=android:id/list], method: scrollToEnd > > WARNING:root:HTTPConnectionPool(host='localhost', port=59047): Read timed out. (read timeout=10), retrying in 0.5 seconds... > > no crash.zip as it's empty on the folder can you give me a link to your repo so I will run and look forward to your issue..... I tried to find that but I didn't get it
Author
Owner

@alexal1 commented on GitHub (Nov 8, 2020):

We will publish all code in 1-3 days, we're making a clean-up right now.

<!-- gh-comment-id:723589412 --> @alexal1 commented on GitHub (Nov 8, 2020): We will publish all code in 1-3 days, we're making a clean-up right now.
Author
Owner

@Fadude commented on GitHub (Jan 6, 2021):

Fixed on 3.5.0

<!-- gh-comment-id:755265331 --> @Fadude commented on GitHub (Jan 6, 2021): Fixed on 3.5.0
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Insomniac#147
No description provided.