alexal1 / Insomniac

Instagram bot for automated Instagram interaction using Android device via ADB
https://insomniac-bot.com
MIT License
693 stars 159 forks source link

'NoneType' object has no attribute 'count_scrapped_profiles_for_interaction' #397

Closed cassidiaz closed 3 years ago

cassidiaz commented 3 years ago

-------- 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

alexal1 commented 3 years ago

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

cassidiaz commented 3 years ago

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

alexal1 commented 3 years ago

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