[GH-ISSUE #397] 'NoneType' object has no attribute 'count_scrapped_profiles_for_interaction' #343

Closed
opened 2026-03-02 23:39:40 +03:00 by kerem · 3 comments
Owner

Originally created by @cassidiaz on GitHub (Oct 21, 2021).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/397

-------- START: 2021-10-21 21:05:39.753943 --------
[10/21 21:05:39] Open Instagram app
Exception in thread Thread-4:
Traceback (most recent call last):
File "C:\Users\laura\AppData\Local\Programs\Python\Python39\lib\threading.py", line 954, in _bootstrap_inner
self.run()
File "C:\Users\laura\AppData\Local\Programs\Python\Python39\lib\threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\laura\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1475, in _readerthread
buffer.append(fh.read())
File "C:\Users\laura\AppData\Local\Programs\Python\Python39\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 11: invalid start byte
[10/21 21:05:46] Sleep for 2.03 seconds
[10/21 21:05:49] Refreshing your profile status...
[10/21 21:05:51] Sleep for 3.85 seconds
[10/21 21:06:01] Cannot get username
[10/21 21:06:02] You have 4282 followers and 338 followings so far.
[10/21 21:06:02] No username, so the script won't read/write from the database
[10/21 21:06:02] Error - 'NoneType' object has no attribute 'count_scrapped_profiles_for_interaction'
Traceback (most recent call last):
File "C:\Users\laura\Downloads\Installer\Insomniac2021\Insomniac-master\insomniac\session.py", line 316, in run
self.storage = InsomniacStorage(self.session_state.my_username, args)
File "C:\Users\laura\Downloads\Installer\Insomniac2021\Insomniac-master\insomniac\storage.py", line 158, in init
count_from_scrapping = self.profile.count_scrapped_profiles_for_interaction()
AttributeError: 'NoneType' object has no attribute 'count_scrapped_profiles_for_interaction'

[10/21 21:06:03] Crash saved as "crashes/Crash-2021-10-21-21-06-02.zip".
[10/21 21:06:03] Please attach this file if you gonna report the crash at
[10/21 21:06:03] https://github.com/alexal1/Insomniac/issues

[10/21 21:06:03] Close Instagram app com.instagram.android

If you like this bot, please give us a star:
https://github.com/alexal1/Insomniac

-------- FINISH: None --------

Completed sessions: 0
Total duration: 0:00:31.303293
Total interactions: 0
Successful interactions: 0
Total followed : 0
Total likes: 0
Total unfollowed: 0
Total stories watches: 0
Total comments: 0
Total get-profile: 0
Total scraped: 0
Removed mass followers: none

Originally created by @cassidiaz on GitHub (Oct 21, 2021). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/397 -------- START: 2021-10-21 21:05:39.753943 -------- [10/21 21:05:39] Open Instagram app Exception in thread Thread-4: Traceback (most recent call last): File "C:\Users\laura\AppData\Local\Programs\Python\Python39\lib\threading.py", line 954, in _bootstrap_inner self.run() File "C:\Users\laura\AppData\Local\Programs\Python\Python39\lib\threading.py", line 892, in run self._target(*self._args, **self._kwargs) File "C:\Users\laura\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1475, in _readerthread buffer.append(fh.read()) File "C:\Users\laura\AppData\Local\Programs\Python\Python39\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 11: invalid start byte [10/21 21:05:46] Sleep for 2.03 seconds [10/21 21:05:49] Refreshing your profile status... [10/21 21:05:51] Sleep for 3.85 seconds [10/21 21:06:01] Cannot get username [10/21 21:06:02] You have 4282 followers and 338 followings so far. [10/21 21:06:02] No username, so the script won't read/write from the database [10/21 21:06:02] Error - 'NoneType' object has no attribute 'count_scrapped_profiles_for_interaction' Traceback (most recent call last): File "C:\Users\laura\Downloads\Installer\Insomniac2021\Insomniac-master\insomniac\session.py", line 316, in run self.storage = InsomniacStorage(self.session_state.my_username, args) File "C:\Users\laura\Downloads\Installer\Insomniac2021\Insomniac-master\insomniac\storage.py", line 158, in __init__ count_from_scrapping = self.profile.count_scrapped_profiles_for_interaction() AttributeError: 'NoneType' object has no attribute 'count_scrapped_profiles_for_interaction' [10/21 21:06:03] Crash saved as "crashes/Crash-2021-10-21-21-06-02.zip". [10/21 21:06:03] Please attach this file if you gonna report the crash at [10/21 21:06:03] https://github.com/alexal1/Insomniac/issues [10/21 21:06:03] Close Instagram app com.instagram.android If you like this bot, please give us a star: https://github.com/alexal1/Insomniac -------- FINISH: None -------- Completed sessions: 0 Total duration: 0:00:31.303293 Total interactions: 0 Successful interactions: 0 Total followed : 0 Total likes: 0 Total unfollowed: 0 Total stories watches: 0 Total comments: 0 Total get-profile: 0 Total scraped: 0 Removed mass followers: none
kerem closed this issue 2026-03-02 23:39:40 +03:00
Author
Owner

@alexal1 commented on GitHub (Oct 21, 2021):

What's your IG version?
(or just send the full log)

<!-- gh-comment-id:948969575 --> @alexal1 commented on GitHub (Oct 21, 2021): What's your IG version? (or just send the full log)
Author
Owner

@cassidiaz commented on GitHub (Oct 21, 2021):

This is my IG version: 209.0.0.21.119 It actually says that it's newer than the latest supported.
Here's the full log anyway:
logs.txt

<!-- gh-comment-id:948976984 --> @cassidiaz commented on GitHub (Oct 21, 2021): This is my IG version: 209.0.0.21.119 It actually says that it's newer than the latest supported. Here's the full log anyway: [logs.txt](https://github.com/alexal1/Insomniac/files/7392621/logs.txt)
Author
Owner

@alexal1 commented on GitHub (Oct 21, 2021):

You should use this one http://insomniac-bot.com/get_latest_supported_ig_apk/

<!-- gh-comment-id:949055181 --> @alexal1 commented on GitHub (Oct 21, 2021): You should use this one http://insomniac-bot.com/get_latest_supported_ig_apk/
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#343
No description provided.