[GH-ISSUE #286] removing mass follower error #697

Closed
opened 2026-03-13 22:23:15 +03:00 by kerem · 2 comments
Owner

Originally created by @Haterz-D on GitHub (Mar 13, 2021).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/286

this error is generated when the bot tries to remove a follower:

[03/13 22:04:33] Open @sergeykroitoruofficial
[03/13 22:04:34] Sleep for 1.12 seconds
[03/13 22:04:37] @sergeykroitoruofficial has 3962 followings
[03/13 22:04:37] @sergeykroitoruofficial is mass follower, remove.

Caught an exception:
'NoneType' object has no attribute 'exists'
[03/13 22:04:37] Traceback (most recent call last):
File "", line 182, in run
File "", line 215, in run
File "C:\Users\dispr\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\insomniac\safely_runner.py", line 14, in wrapper
func(*args, **kwargs)
File "", line 205, in job
File "", line 76, in remove_mass_followers
File "C:\Users\dispr\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\insomniac\actions_impl.py", line 129, in iterate_over_followers
to_continue = iteration_callback(username, user_name_view)
File "", line 70, in iteration_callback
File "", line 11, in remove_mass_follower
File "C:\Users\dispr\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\insomniac\device_facade.py", line 516, in exists
return self.viewV2.exists(UI_TIMEOUT_SHORT if quick else UI_TIMEOUT_LONG)
AttributeError: 'NoneType' object has no attribute 'exists'

Originally created by @Haterz-D on GitHub (Mar 13, 2021). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/286 this error is generated when the bot tries to remove a follower: [03/13 22:04:33] Open @sergeykroitoruofficial [03/13 22:04:34] Sleep for 1.12 seconds [03/13 22:04:37] @sergeykroitoruofficial has 3962 followings [03/13 22:04:37] @sergeykroitoruofficial is mass follower, remove. Caught an exception: 'NoneType' object has no attribute 'exists' [03/13 22:04:37] Traceback (most recent call last): File "<string>", line 182, in run File "<string>", line 215, in run File "C:\Users\dispr\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\insomniac\safely_runner.py", line 14, in wrapper func(*args, **kwargs) File "<string>", line 205, in job File "<string>", line 76, in remove_mass_followers File "C:\Users\dispr\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\insomniac\actions_impl.py", line 129, in iterate_over_followers to_continue = iteration_callback(username, user_name_view) File "<string>", line 70, in iteration_callback File "<string>", line 11, in remove_mass_follower File "C:\Users\dispr\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\insomniac\device_facade.py", line 516, in exists return self.viewV2.exists(UI_TIMEOUT_SHORT if quick else UI_TIMEOUT_LONG) AttributeError: 'NoneType' object has no attribute 'exists'
kerem closed this issue 2026-03-13 22:23:20 +03:00
Author
Owner

@Haterz-D commented on GitHub (Mar 15, 2021):

I tried to use different python 3.x versions, real Android device connected via USB and Android emulator and still get the same error every time the bot finds the 1st follower to remove.

<!-- gh-comment-id:799789762 --> @Haterz-D commented on GitHub (Mar 15, 2021): I tried to use different python 3.x versions, real Android device connected via USB and Android emulator and still get the same error every time the bot finds the 1st follower to remove.
Author
Owner

@alexal1 commented on GitHub (Apr 1, 2021):

Will be fixed in v3.7.1

<!-- gh-comment-id:812173554 --> @alexal1 commented on GitHub (Apr 1, 2021): Will be fixed in `v3.7.1`
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#697
No description provided.