Instapy: 'bool' object has no attribute

Created on 20 Nov 2017  Â·  14Comments  Â·  Source: timgrossmann/InstaPy

Started over fresh, and getting this error.

screen shot 2017-11-19 at 5 16 33 pm

What's causing this error?

InstaPy used to work perfectly for me, and now with new updates I can't get it to run one single script!

bug help wanted

Most helpful comment

@converge Ah, Nevermind! I see you've updated the regular file with the new paramaters. I did a normal git pull with "randomize" and its working. Thank you for the hard work and help!!

All 14 comments

@Namaslayer Sorry to hear that, if you could help test #955 we could get this error out of the way soon

oh I didn’t see this! I’ll try it now. Thank you

On Nov 19, 2017, at 5:30 PM, Tim GroĂźmann notifications@github.com wrote:

@Namaslayer https://github.com/namaslayer Sorry to hear that, if you could help test #955 https://github.com/timgrossmann/InstaPy/pull/955 we could get this error out of the way soon

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/timgrossmann/InstaPy/issues/954#issuecomment-345568843, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad8JGrAR3ax7nKZwa7BBaVW4kzYesNPVks5s4NYngaJpZM4QjoVZ.

How do I test it? I just switched “random” to “randomize” in all of my scripts and that doesn’t work. I think I need to do something else to get the updated InstaPy program, right?

New to all of this, thanks for helping me learn!

Here's what I've got, usernames and passwords removed.

from instapy import InstaPy

session = InstaPy(username='username', password='passwords', nogui=True)
session.login()

session.set_user_interact(amount=5, randomize=True, percentage=100, media='Photo')
session.set_do_follow(enabled=True, percentage=50)
session.interact_user_followers(['target_influencer'], amount=50, randomize=True)

session.end()

On Nov 19, 2017, at 5:30 PM, Tim GroĂźmann notifications@github.com wrote:

@Namaslayer https://github.com/namaslayer Sorry to hear that, if you could help test #955 https://github.com/timgrossmann/InstaPy/pull/955 we could get this error out of the way soon

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/timgrossmann/InstaPy/issues/954#issuecomment-345568843, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad8JGrAR3ax7nKZwa7BBaVW4kzYesNPVks5s4NYngaJpZM4QjoVZ.

hey @Namaslayer , there is a link (command line instruction) at the bottom of the #955

Am I just missing permissions?

This is what I tried to do

screen shot 2017-11-19 at 6 50 13 pm

@converge read above. I'm still painfully new to all of this, Guessing im missing permissions or I did something wrong haha

I'm getting same error after last PRs merged locally

@Namaslayer you downloaded it using the zip file, to use that git commands you do need to download it using git clone (this is easier to update InstaPy later)

@mamartins could you help testing #955 ? after testing we can merge.

@converge now after your merge I get

| Traceback (most recent call last):
web_1       |   File "docker_quickstart.py", line 348, in <module>
web_1       |     bot.set_user_interact(amount=3, random=False, percentage=100, media='Photo')
web_1       | TypeError: set_user_interact() got an unexpected keyword argument 'random'

@mamartins it's because we renamed every method that uses random parameter/argument, now it have to be set_user_interact(amount=3, randomize=False...)

@converge still a bit confused. I tried this

screen shot 2017-11-20 at 2 01 41 pm

What is the line command I need to enter?

@converge Ah, Nevermind! I see you've updated the regular file with the new paramaters. I did a normal git pull with "randomize" and its working. Thank you for the hard work and help!!

@converge True, sorry! :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wyvers picture wyvers  Â·  3Comments

n0sw34r picture n0sw34r  Â·  3Comments

seuraltimez picture seuraltimez  Â·  3Comments

ghost picture ghost  Â·  3Comments

drcyber975 picture drcyber975  Â·  3Comments