mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-26 18:15:54 +03:00
[GH-ISSUE #82] Stalls on Press profile #522
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#522
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 @cryptocxeq on GitHub (Aug 14, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/82
-------- START: 2020-08-14 21:08:47.353789 --------
[08/14 21:08:47] Open Instagram app
[08/14 21:08:48] Sleep for 3 seconds
[08/14 21:08:51] Press profile
Hangs forever there...
Trying to run it on a s5
@cryptocxeq commented on GitHub (Aug 14, 2020):
I tried on s10 too and did the same thing
@cryptocxeq commented on GitHub (Aug 14, 2020):
except in s10 says
[08/14 21:35:28] Open Instagram app
Warning: Activity not started, intent has been delivered to currently running top-most instance.
[08/14 21:35:28] Sleep for 2 seconds
[08/14 21:35:30] Press profile
@Eimuex commented on GitHub (Aug 14, 2020):
Yes, same problem.
@alexal1 commented on GitHub (Aug 16, 2020):
Seems that Instagram started UI update. Please try on this branch guys #85
@Eimuex commented on GitHub (Aug 16, 2020):
[08/16 14:27:14] Open Instagram app
[08/16 14:27:14] Sleep for 2 seconds
[08/16 14:27:16] Press profile
[08/16 14:27:17] Standard way of navigation failed, trying another one...
[08/16 14:27:17] Cannot find profile button. Switch to English please.
Traceback (most recent call last):
File "insomniac.py", line 421, in
main()
File "insomniac.py", line 93, in main
session_state.my_following_count = get_my_profile_info(device)
File "/home/pi/Insomniac-fix_navigation_on_some_devices/src/action_get_my_profile_info.py", line 8, in get_my_profile_info
navigate(device, Tabs.PROFILE)
File "/home/pi/Insomniac-fix_navigation_on_some_devices/src/navigation.py", line 13, in navigate
_navigate_alternative(device, tab)
File "/home/pi/Insomniac-fix_navigation_on_some_devices/src/navigation.py", line 38, in _navigate_alternative
raise NavigationException("Cannot find " + tab_name + " button.")
src.navigation.NavigationException: Cannot find profile button.
@Eimuex commented on GitHub (Aug 16, 2020):
When I tried second time just stalls like before
@cryptocxeq commented on GitHub (Aug 16, 2020):
I experienced no difference I think
@alexal1 commented on GitHub (Aug 17, 2020):
@Eimuex did you switch to English locale?
@Eimuex commented on GitHub (Aug 17, 2020):
@alexal1 Everything is in English since I started using Insomniac
UPDATE: When I manually tap search, bot gets back to profile and starts to work normally but slower (waits longer between likes scrolls etc). That's on version 1.9.0
@alexal1 commented on GitHub (Aug 17, 2020):
Actually there's no difference on which version you'll try it. It's some Instagram update that broke the logic.
@alexal1 commented on GitHub (Aug 17, 2020):
We've found out that migration to uiautomator2 library will fix this problem. Please wait a couple of days, soon the script will work perfectly.
@cryptocxeq commented on GitHub (Aug 18, 2020):
thanks alexal1
@antonrifco commented on GitHub (Aug 18, 2020):
@alexal1 should we uninstall the uiautomator ? or both lib can stay?
@alexal1 commented on GitHub (Aug 18, 2020):
@antonrifco both can stay, I'll update README when update comes
@ketwong commented on GitHub (Aug 20, 2020):
For a quick fix, uninstall instagram and install an older version of instagram like 3-5 version behind of current version now.
@cryptocxeq commented on GitHub (Aug 20, 2020):
i did try that on my device with 148 and 100 and neither worked but ymmv
@philip-ulrich commented on GitHub (Aug 21, 2020):
When this happens for me, my quick fix is to click on the heart and on the profile again as quickly as possible. Fixes the issue and no further issues for the rest of the run. Should be an easy fix until the proper one is released.
@cryptocxeq commented on GitHub (Aug 22, 2020):
ok i did give that a go maybe im doing the wrong thing but it didnt seem to work for me.
Can you tell me in more detail what you mean? Whats the exact process. Wait for the Message about profile to appear while already on the profile button? then tab off and back on quickly as soon as it appears?
@philip-ulrich commented on GitHub (Aug 22, 2020):
Yeah, so for me, it stops there. I wait like 30 seconds to make sure it's actually stuck. Then click heart, and click profile within about 0.5-2 seconds time. Then it reads follower count and proceeds.
@cryptocxeq commented on GitHub (Aug 22, 2020):
ok no worries doesnt seem to work for me , maybe because it sounds like your version works at least some of the time (?) but mine works none of the time and this error happens at the start
@alexal1 commented on GitHub (Aug 22, 2020):
Thanks for waiting! I finally published
v2.0.0and hope that this issue is fixed by this update. Please reopen if not.