ohld / igbot

🐙 Free scripts, bots and Python API wrapper. Get free followers with our auto like, auto follow and other scripts!
https://hikerapi.com/p/N2P6iqiM
Apache License 2.0
4.71k stars 1.47k forks source link

Error after last update #524

Closed vistar closed 6 years ago

vistar commented 6 years ago

Even with clean git clone:

$ python multi_script_CLI.py

Traceback (most recent call last):
  File "multi_script_CLI.py", line 590, in <module>
    'open'])
TypeError: __init__() got an unexpected keyword argument 'whitelist_file'
angeloiaia commented 6 years ago

the same for me...

basnijholt commented 6 years ago

You are using the new version of instabot, but an old version of the script. Please update the script, find it in examples.

Vladislas commented 6 years ago

I had the same problem, then I did the installation again finally went well

vistar commented 6 years ago

@basnijholt "multi_script_CLI.py" script? It is fully updated with clean git clone.

basnijholt commented 6 years ago

See this line https://github.com/instagrambot/instabot/blob/master/instabot/bot/bot.py#L47

I don't understand how that error message arises... Could you please check whether you have an old version installed perhaps?

vistar commented 6 years ago

I'm do:

and have an error:

Traceback (most recent call last):
  File "multi_script_CLI.py", line 590, in <module>
    'open'])
TypeError: __init__() got an unexpected keyword argument 'whitelist_file'
basnijholt commented 6 years ago

You are having an old installation that is imported I think.

I just tried it myself and it works.

Please run pip uninstall -y instabot and try again.

angeloiaia commented 6 years ago

It doesn't work

basnijholt commented 6 years ago

Could you be more specific?

angeloiaia commented 6 years ago

here's what I did:

  1. in cmd I run the command pip uninstall -y instabot
  2. always in cmd I run pip install -U instabot
  3. I run the bot (which worked until yesterday) and I receive the error in the image
schermata 2018-05-05 alle 00 11 27
basnijholt commented 6 years ago

So you are using the new version of instabot but your script is written for the old version.

Change blacklist into blacklist_file in IABOT_photyia.py.

On Sat, May 5, 2018 at 12:34 AM, angeloiaia notifications@github.com wrote:

here's what I did:

  1. in cmd I run the command pip uninstall -y instabot
  2. always in cmd I run pip install -U instabot
  3. I run the bot (which worked until yesterday) and I receive the error in the image

[image: schermata 2018-05-05 alle 00 11 27] https://user-images.githubusercontent.com/32001281/39655778-d56e667a-4ffb-11e8-8711-80a8c9e9cf52.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/instagrambot/instabot/issues/524#issuecomment-386751976, or mute the thread https://github.com/notifications/unsubscribe-auth/AGk-P3-0X8V8DEhrEJsqfTb7OoidPmFKks5tvNeQgaJpZM4TwG82 .

-- Bas Nijholt Ph.D. candidate phone: +31613049138 address: Schepenstraat 40A, 3039 NJ, Rotterdam, NL [image: github] https://github.com/basnijholt [image: linkedin] https://www.linkedin.com/in/basnijholt [image: link] http://www.nijho.lt/

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.