[GH-ISSUE #53] Error when i try to interact and get soft ban #45

Closed
opened 2026-03-02 23:37:34 +03:00 by kerem · 1 comment
Owner

Originally created by @nafferro on GitHub (Jul 14, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/53

i get this error:

Traceback (most recent call last):
  File "insomniac.py", line 331, in wrapper
    func(*args, **kwargs)
  File "insomniac.py", line 149, in job
    on_interaction)
  File "/home/pi/Insomniac/src/action_handle_blogger.py", line 32, in handle_blogger
    _iterate_over_followers(device, interaction, storage, on_interaction, is_myself)
  File "/home/pi/Insomniac/src/action_handle_blogger.py", line 104, in _iterate_over_followers
    className='android.widget.LinearLayout'):
  File "/usr/local/lib/python3.6/site-packages/uiautomator/__init__.py", line 1222, in next
    return obj[self.index]
  File "/usr/local/lib/python3.6/site-packages/uiautomator/__init__.py", line 1203, in getitem
    raise IndexError()
IndexError
Originally created by @nafferro on GitHub (Jul 14, 2020). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/53 i get this error: ``` Traceback (most recent call last): File "insomniac.py", line 331, in wrapper func(*args, **kwargs) File "insomniac.py", line 149, in job on_interaction) File "/home/pi/Insomniac/src/action_handle_blogger.py", line 32, in handle_blogger _iterate_over_followers(device, interaction, storage, on_interaction, is_myself) File "/home/pi/Insomniac/src/action_handle_blogger.py", line 104, in _iterate_over_followers className='android.widget.LinearLayout'): File "/usr/local/lib/python3.6/site-packages/uiautomator/__init__.py", line 1222, in next return obj[self.index] File "/usr/local/lib/python3.6/site-packages/uiautomator/__init__.py", line 1203, in getitem raise IndexError() IndexError ```
kerem 2026-03-02 23:37:34 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@alexal1 commented on GitHub (Jul 18, 2020):

Please try on this branch https://github.com/alexal1/Insomniac/tree/fix_index_error.
If it is ok, I'll merge it

<!-- gh-comment-id:660469749 --> @alexal1 commented on GitHub (Jul 18, 2020): Please try on this branch https://github.com/alexal1/Insomniac/tree/fix_index_error. If it is ok, I'll merge it
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#45
No description provided.