[GH-ISSUE #326] Cannot find tab: Accounts. #738

Closed
opened 2026-03-13 22:29:01 +03:00 by kerem · 3 comments
Owner

Originally created by @RaynoldVanHeyningen on GitHub (Apr 28, 2021).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/326

Been getting this issue since the start of this week, which makes me unable to use the app.

Would love to get some help, how to fix this issue :)!

Crash-2021-04-26-16-47-04.zip

Originally created by @RaynoldVanHeyningen on GitHub (Apr 28, 2021). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/326 Been getting this issue since the start of this week, which makes me unable to use the app. Would love to get some help, how to fix this issue :)! [Crash-2021-04-26-16-47-04.zip](https://github.com/alexal1/Insomniac/files/6389567/Crash-2021-04-26-16-47-04.zip)
kerem closed this issue 2026-03-13 22:29:06 +03:00
Author
Owner

@KGalaffu commented on GitHub (Apr 30, 2021):

Same problem for me, the version of instagram is not involved in my case, the problem happened only on one account that does not display this top bar (top, accounts, tags, places).

To solve the problem, you can go to your folder

../insomniac-master/insomniac/

you will find the file views.py

you can delete this part of code

" accounts_tab = self._get_tab_text_view(SearchTabs.ACCOUNTS)
if not accounts_tab.exists():
print_debug("Cannot find tab: Accounts. Going to attempt to search for placeholder in all tabs")
accounts_tab = self._search_tab_with_text_placeholder(SearchTabs.ACCOUNTS)
if accounts_tab is None:
print(COLOR_FAIL + "Cannot find tab: Accounts." + COLOR_ENDC)
save_crash(self.device)
return None
accounts_tab.click() "

The script will no longer try to find the accounts tab and will go directly to the search for the user name using the virtual keyboard.

<!-- gh-comment-id:830198786 --> @KGalaffu commented on GitHub (Apr 30, 2021): Same problem for me, the version of instagram is not involved in my case, the problem happened only on one account that does not display this top bar (top, accounts, tags, places). To solve the problem, you can go to your folder ../insomniac-master/insomniac/ you will find the file views.py you can delete this part of code " accounts_tab = self._get_tab_text_view(SearchTabs.ACCOUNTS) if not accounts_tab.exists(): print_debug("Cannot find tab: Accounts. Going to attempt to search for placeholder in all tabs") accounts_tab = self._search_tab_with_text_placeholder(SearchTabs.ACCOUNTS) if accounts_tab is None: print(COLOR_FAIL + "Cannot find tab: Accounts." + COLOR_ENDC) save_crash(self.device) return None accounts_tab.click() " The script will no longer try to find the accounts tab and will go directly to the search for the user name using the virtual keyboard.
Author
Owner

@RaynoldVanHeyningen commented on GitHub (May 1, 2021):

Seems like it's working! Great workaround, thanks alot

<!-- gh-comment-id:830633982 --> @RaynoldVanHeyningen commented on GitHub (May 1, 2021): Seems like it's working! Great workaround, thanks alot
Author
Owner

@alexal1 commented on GitHub (May 5, 2021):

Fixed in v3.7.11

<!-- gh-comment-id:832884622 --> @alexal1 commented on GitHub (May 5, 2021): Fixed in `v3.7.11`
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#738
No description provided.