asimptot / FollowerBot

Follower bot for Instagram
191 stars 67 forks source link

I get this error when running the file #45

Closed allexxbog closed 1 year ago

allexxbog commented 1 year ago

Traceback (most recent call last): File "C:\Users\all3x\Desktop\instagbot\get_instagram_followers.py", line 46, in ig.setup() File "C:\Users\all3x\Desktop\instagbot\get_instagram_followers.py", line 13, in setup Setup.init(self) File "C:\Users\all3x\Desktop\instagbot\init.py", line 15, in init self.browser = uc.Chrome(options=chrome_options, version_main=108) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\all3x\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver__init.py", line 409, in init browser = subprocess.Popen( ^^^^^^^^^^^^^^^^^ File "C:\Users\all3x\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1024, in init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\all3x\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1433, in _execute_child args = list2cmdline(args) ^^^^^^^^^^^^^^^^^^ File "C:\Users\all3x\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 608, in list2cmdline for arg in map(os.fsdecode, seq): File "", line 824, in fsdecode TypeError: expected str, bytes or os.PathLike object, not NoneType

asimptot commented 1 year ago

Hi,

Did you install libraries?

allexxbog commented 1 year ago

Hey, I have fixed it. The libraries werent uppdated. However, I found another thing- the followers sometimes unfollow.

asimptot commented 1 year ago

@allexxbog hi,

Yes, it's because Instagram doesn't allow fake accounts to follow any account. There is nothing to fix unfollow problem.