Instapy: log_uncertain_unfollowed_pool( ) breaks unfollow_util.py

Created on 16 Feb 2018  路  5Comments  路  Source: timgrossmann/InstaPy

I just pulled the latest commits into my local repo and added the missing print_log_writer.py code referenced in #1407 and attempted to run my follow/unfollow program today.

Though I am still unclear of the purpose of the new log_uncertain_unfollowed_pool() function, it causes the unfollow action to end very prematurely with the following message:

INFO [bboygermy]  --> Ongoing Unfollow From InstaPy 33, now unfollowing: aissaadz
ERROR [bboygermy]  unfollow loop error log_uncertain_unfollowed_pool() takes exactly 4 arguments (3 given)

It may also have affected the follow_user_followers function, which also ended prematurely. I believe more important changes may be missing from the latest commits.

Most helpful comment

hi @jeremyccheung
I've seen main repo and it seems that

log_uncertain_unfollowed_pool(username, person, logger)

and

log_record_all_unfollowed(username, person, logger)

is missing logfolder argument

find them both in unfollow_util.py and that missing arg to the end of args

log_uncertain_unfollowed_pool(username, person, logger, logfolder)

and

log_record_all_unfollowed(username, person, logger, logfolder)

All 5 comments

hi @jeremyccheung
I've seen main repo and it seems that

log_uncertain_unfollowed_pool(username, person, logger)

and

log_record_all_unfollowed(username, person, logger)

is missing logfolder argument

find them both in unfollow_util.py and that missing arg to the end of args

log_uncertain_unfollowed_pool(username, person, logger, logfolder)

and

log_record_all_unfollowed(username, person, logger, logfolder)

Hi @uluQulu

Thank you for that catch; I will make those additions to the code and test the updated program tomorrow!

Perfect. Now working again! :-)

Confirmed on my end too that this fixed the program. Thank you @uluQulu !

@timgrossmann I have the same error. Could you add @uluQulu corrections to the main project?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

awesome205 picture awesome205  路  71Comments

Tachenz picture Tachenz  路  85Comments

ardagoktas picture ardagoktas  路  51Comments

Flaunkerton2395 picture Flaunkerton2395  路  48Comments

johnvfitness picture johnvfitness  路  74Comments