Instapy: follow_user_followers(), script stops with error after some minutes

Created on 9 Dec 2018  路  5Comments  路  Source: timgrossmann/InstaPy

Current Behavior

After running follow_user_followers(), the script starts working normally for some minutes but then stops with the following error:

File "../instapy/unfollow_util.py", line 1152, in unfollow_user
post_unfollow_cleanup("successful", username, person, relationship_data, logger, logfolder)
TypeError: post_unfollow_cleanup() missing 1 required positional argument: 'logfolder'

bug

Most helpful comment

Pull request #3539 sent with this fix

All 5 comments

Hi, I have almowt the same bug but it says:

"Unfollow loop error: post_unfollow_cleanup() takes exactly 7 arguments (6 given)
"

It is in fact a bug in the script. I solved my issue by changing line 1152 of unfollow_util.py to:
post_unfollow_cleanup("successful", username, person, relationship_data, person_id, logger, logfolder)

(person_id parameter was missing)

Pull request #3539 sent with this fix

Thanks @nkdsoft for the solution - confirm working for me.

Sorry for that. How can code check not found it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

drcyber975 picture drcyber975  路  3Comments

CharlesCCC picture CharlesCCC  路  3Comments

46960 picture 46960  路  3Comments

v77v picture v77v  路  3Comments

rahulkapoor90 picture rahulkapoor90  路  3Comments