Failed to get followers count of 'b'USERNAME'' ~empty list
- Langage dominant
- Python
- Étoiles
- 18.2k
- Forks
- 3.9k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
## Current Behavior
its successful login to the account but after some time we got 2 failed messages, before opening the target user profile we are facing this issue
Failed to get followers count of 'b'USERNAME'' ~empty list
Failed to get following count of 'b'USERNAME'' ~empty list
Traceback (most recent call last):
File "C:\Users\Noman\Desktop\instapy-quickstart-master\quickstart_templates\basic_follow-unfollow_activity.py", line 35, in
with smart_run(session):
File "C:\Users\Noman\AppData\Local\Programs\Python\Python310\lib\contextlib.py", line 135, in __enter__
return next(self.gen)
File "C:\Users\Noman\AppData\Local\Programs\Python\Python310\lib\site-packages\instapy\util.py", line 1983, in smart_run
session.login()
File "C:\Users\Noman\AppData\Local\Programs\Python\Python310\lib\site-packages\instapy\instapy.py", line 475, in login
self.followed_by = log_follower_num(self.browser, self.username, self.logfolder)
File "C:\Users\Noman\AppData\Local\Programs\Python\Python310\lib\site-packages\instapy\print_log_writer.py", line 21, in log_follower_num
followed_by = getUserData("graphql.user.edge_followed_by.count", browser)
File "C:\Users\Noman\AppData\Local\Programs\Python\Python310\lib\site-packages\instapy\util.py", line 501, in getUserData
get_key = shared_data.get("entry_data").get("ProfilePage")
AttributeError: 'NoneType' object has no attribute 'get'
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start in instapy/util.py at getUserData and trace how print_log_writer.py calls it during login from instapy.py. Reproduce the login flow using the referenced quickstart script, then verify that follower and following counts are retrieved without the NoneType error.
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é
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100