Instapy: Error on write *_followedPool.csv

Created on 5 Jul 2017  路  9Comments  路  Source: timgrossmann/InstaPy

Error, when script open the file:

C:\InstaPy>py quickstart.py
Logged in successfully!
set_automated_followed_pool error
list index out of range

bug help wanted

All 9 comments

with another account i have this error:

C:\InstaPy>py quickstart.py
Logged in successfully!
set_automated_followed_pool error
list index out of range
Traceback (most recent call last):
File "quickstart.py", line 6, in
session.unfollow_users(amount=10)
File "C:\InstaPy\instapy\instapy.py", line 486, in unfollow_users
unfollowNumber = unfollow(self.browser, self.username, amount, self.dont_include, onlyInstapyFollowed, self.automatedFollowedPool)
File "C:\InstaPy\instapy\unfollow_util.py", line 37, in unfollow
allfollowing = locale.atoi(browser.find_element_by_xpath("//li[3]/a/span").text)
File "C:\Users\lucia\AppData\Local\Programs\Python\Python36\lib\locale.py", line 325, in atoi
return int(delocalize(string))
ValueError: invalid literal for int() with base 10: '7,497'

@TheXeon81 Could you do a git pull and try again, please?

after git pull...

C:\InstaPy>set PYTHONIOENCODING=UTF-8

C:\InstaPy>py quickstart.py
Logged in successfully!
set_automated_followed_pool error
[Errno 2] No such file or directory: './logs/thexeon_followedPool.csv'
--> Ongoing Unfollow 1, now unfollowing: b'partyinmilan'

@TheXeon81 don't you have the folder logs?

image

image

@TheXeon81 Hmm... I have to revisit that...
I'll get back once it's working

@TheXeon81 Could you pull again?

okay! now work! :-)

set_automated_followed_pool error [Errno 2] No such file or directory: 'C:\Users\xxxx\Downloads\Compressed\InstaPy-master\logs\xxxx_followedPool.csv'
INFO [2018-08-17 11:12:12] [xxxx] Please select a proper unfollow method! ~leaving unfollow activity

I have latest code
I have given access of this folder to 777 (Everyone in Win10)
There is no file with the name in logs folder.

Can you please give a solution? @timgrossmann

Was this page helpful?
0 / 5 - 0 ratings