Skip to content

settings query - pls help! #10

@rexonat

Description

@rexonat

Hi guys- just trying to setup the instagrambot on my raspberry pi. Using the ultimate scheduled option I got the following error;

`2018-06-24 15:26:48,960 - INFO - Logged-in successfully as 'xxxx' using the cookie!
2018-06-24 15:26:48,964 - INFO - ULTIMATE script. Safe to run 24/7!
2018-06-24 15:28:00,089 - INFO - Follow followers of: 6377497118
2018-06-24 15:28:00,852 - ERROR - Request returns 404 error!
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "ultimate.py", line 48, in follow_followers
    bot.follow_followers(random_user_file.random(), nfollows=config.NUMBER_OF_FOLLOWERS_TO_FOLLOW)
  File "/home/pi/Projects/instabot3/instabot/examples/ultimate_schedule/../../instabot/bot/bot.py", line 472, in follow_followers
    return follow_followers(self, user_id, nfollows)
  File "/home/pi/Projects/instabot3/instabot/examples/ultimate_schedule/../../instabot/bot/bot_follow.py", line 76, in follow_followers
    followers = self.get_user_followers(user_id, nfollows)
  File "/home/pi/Projects/instabot3/instabot/examples/ultimate_schedule/../../instabot/bot/bot.py", line 357, in get_user_followers
    return get_user_followers(self, user_id, nfollows)
  File "/home/pi/Projects/instabot3/instabot/examples/ultimate_schedule/../../instabot/bot/bot_get.py", line 180, in get_user_followers
    user_id = self.convert_to_user_id(user_id)
  File "/home/pi/Projects/instabot3/instabot/examples/ultimate_schedule/../../instabot/bot/bot.py", line 393, in convert_to_user_id
    return convert_to_user_id(self, usernames)
  File "/home/pi/Projects/instabot3/instabot/examples/ultimate_schedule/../../instabot/bot/bot_get.py", line 275, in convert_to_user_id
    x = self.get_user_id_from_username(x)
  File "/home/pi/Projects/instabot3/instabot/examples/ultimate_schedule/../../instabot/bot/bot.py", line 345, in get_user_id_from_username
    return get_user_id_from_username(self, username)
  File "/home/pi/Projects/instabot3/instabot/examples/ultimate_schedule/../../instabot/bot/bot_get.py", line 153, in get_user_id_from_username
    if "user" in self.api.last_json:
TypeError: argument of type 'NoneType' is not iterable


`

Initially I thought the the user id for 'follow user followers' had to be typed out in its alphabetical format but recieved a similar error, so replaced all the alphabetical ids with their corresponding numerical ids but it looks like I am getting a similar error. Anyone have an idea of whats happening here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions