InstaPy / InstaPy/instapy-quickstart

Error occurred while following through dialog box: 'follow'

Ouverte
#49 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
777
Forks
763
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Does someone know what it is about? It occurs while loading the followers using of some profile that I intend to follow. As soons as it finishes loading the list, the program crashes giving me the following error:

```
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2019-07-05 00:17:14] [emagreca_sem.loucuras] Session ended!
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

Traceback (most recent call last):
File "quickstart.py", line 52, in
randomize=False, interact=False)
File "/home/oxeanbits/.local/lib/python3.6/site-packages/instapy/instapy.py", line 3255, in follow_user_followers
interact)
File "/home/oxeanbits/.local/lib/python3.6/site-packages/instapy/instapy.py", line 1088, in follow_by_list
self.logfolder)
File "/home/oxeanbits/.local/lib/python3.6/site-packages/instapy/unfollow_util.py", line 764, in follow_user
naply = get_action_delay("follow")
File "/home/oxeanbits/.local/lib/python3.6/site-packages/instapy/util.py", line 1771, in get_action_delay
custom_delay = config[action]
KeyError: 'follow'

```

I'm using the template `basic_follow-unfollow_activity.py`.

It does follow 5 people before crashing though.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start with quickstart.py line 52 and the basic_follow-unfollow_activity.py template, then trace follow_user in unfollow_util.py to get_action_delay in util.py. Reproduce the follower-loading flow and inspect the configuration passed to that lookup; done means the flow completes without the reported KeyError.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
tooling
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.