[x ] Searched the bugtracker for similar issues including closed ones
Purpose of your issue?
[x ] Bug report (encountered problems/errors)
[ ] Feature request (request for a new functionality)
[x ] Question
[ ] Other
I just installed the new version of the bot, I'm from pythonanywhere where the bot has always worked well, I'm in ultimate scheduler, in the file ultimate.py The only thing I add is "filter_users=False," and it appears The error, if I delete the "filter_users=False," works fine. I would like to know how I do to stop user filtering then.
2018-10-07 15:36:22,621 - INFO - ULTIMATE script. Safe to run 24/7!
2018-10-07 15:38:00,016 - INFO - Follow followers of: astronomy
2018-10-07 15:38:01,724 - INFO - Going to follow 350 users.
Going to follow 350 users.
After filtering `skipped.txt`, 350 user_ids left to follow.
Processed users: 0%| | 0/350 [00:00<?, ?it/s]
===> Going to follow `user_id`: 7517020487.
===> FOLLOWED <==== `user_id`: 7517020487.
Adding '7517020487' to `followed.txt`.
'7517020487' already in `followed.txt`.
Exception KeyError: KeyError(<weakref at 0x7f4447f22940; to 'tqdm' at 0x7f444746a9d0>,) in <bound method tqdm.__del__ of Processed users: 0%|
| 0/350 [00:00<?, ?it/s]> ignored
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-fol.py", line 48, in follow_followers
bot.follow_followers(random_user_file.random(), nfollows=config.NUMBER_OF_FOLLOWERS_TO_FOLLOW)
File "/home/perritonice/.local/lib/python2.7/site-packages/instabot/bot/bot.py", line 471, in follow_followers
return follow_followers(self, user_id, nfollows)
File "/home/perritonice/.local/lib/python2.7/site-packages/instabot/bot/bot_follow.py", line 80, in follow_followers
self.follow_users(followers[:nfollows])
File "/home/perritonice/.local/lib/python2.7/site-packages/instabot/bot/bot.py", line 468, in follow_users
return follow_users(self, user_ids)
File "/home/perritonice/.local/lib/python2.7/site-packages/instabot/bot/bot_follow.py", line 43, in follow_users
if not self.follow(user_id):
File "/home/perritonice/.local/lib/python2.7/site-packages/instabot/bot/bot.py", line 465, in follow
return follow(self, user_id)
File "/home/perritonice/.local/lib/python2.7/site-packages/instabot/bot/bot_follow.py", line 19, in follow
if user_id not in self._following:
TypeError: argument of type 'NoneType' is not iterable
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.
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like so [x]).Before submitting an issue, make sure you have:
Purpose of your issue?
I just installed the new version of the bot, I'm from pythonanywhere where the bot has always worked well, I'm in ultimate scheduler, in the file ultimate.py The only thing I add is "filter_users=False," and it appears The error, if I delete the "filter_users=False," works fine. I would like to know how I do to stop user filtering then.
Python 2.7.12
ERROR: