InstaPy icon indicating copy to clipboard operation
InstaPy copied to clipboard

Failed to get followers count of 'b'USERNAME'' ~empty list

Open NomanBaigA opened this issue 3 years ago • 35 comments

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'

NomanBaigA avatar Jun 25 '22 11:06 NomanBaigA

I have the same issue as well

JJ27 avatar Jun 26 '22 15:06 JJ27

same issue

VRHomeTours avatar Jun 26 '22 18:06 VRHomeTours

same!

md2sty avatar Jun 27 '22 08:06 md2sty

Hi.

I have same issue.

Not get shared_data in getUserData method.(Line 497 of util.py. The value of the variable shared_data is None) But I don't know why.

aru12 avatar Jun 27 '22 11:06 aru12

#6615

Alexjpinto avatar Jun 29 '22 06:06 Alexjpinto

Same issue. Any updates anyone?

HollywoodHillsPreviz avatar Jul 05 '22 20:07 HollywoodHillsPreviz

@HollywoodHillsPreviz

I don't know if it will work, but give it a try. https://github.com/InstaPy/InstaPy/issues/6615#issuecomment-1171706411

aru12 avatar Jul 05 '22 23:07 aru12

I am having the same issue does anyone have the solution for this?

Wasim-Shaikh25 avatar Jul 12 '22 13:07 Wasim-Shaikh25

Same here

atelierdevito avatar Jul 12 '22 16:07 atelierdevito

Any update on this

Pavankunchala avatar Jul 13 '22 17:07 Pavankunchala

No not yet.

On Wed, 13 Jul, 2022, 10:30 pm Pavan Kunchala, @.***> wrote:

Any update on this

— Reply to this email directly, view it on GitHub https://github.com/InstaPy/InstaPy/issues/6627#issuecomment-1183467324, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYMPP55654NN6DOD2QJJ3WLVT3Y4JANCNFSM5Z2FQWHQ . You are receiving this because you commented.Message ID: @.***>

Wasim-Shaikh25 avatar Jul 13 '22 17:07 Wasim-Shaikh25

still doesnt work

pf15ch3r avatar Jul 16 '22 07:07 pf15ch3r

same

wavelet-noise avatar Jul 21 '22 15:07 wavelet-noise

Still no solution :(

Ordovicium avatar Jul 25 '22 22:07 Ordovicium

Still no solution?? 😥😥😥

medhachoum avatar Jul 26 '22 11:07 medhachoum

Lol, I will just going to create my own library...

mkmnstr123 avatar Jul 26 '22 15:07 mkmnstr123

same

martini09617 avatar Jul 27 '22 15:07 martini09617

If there is someone willing to push the project, I can donate.

martini09617 avatar Jul 29 '22 09:07 martini09617

If there is someone willing to push the project, I can donate.

Hey I would donate too!!

mkmnstr123 avatar Jul 29 '22 15:07 mkmnstr123

@martini09617 @ndr3x I could be maintainer if @timgrossmann would make me so. Although my latest version isn't working well due to lack of time to fix it, these donations can make it worth the time spent.

victorccaldas avatar Jul 30 '22 18:07 victorccaldas

For sure. How much? On Sat, Jul 30, 2022 at 2:22 PM victorccaldas @.***> wrote:

@martini09617 https://github.com/martini09617 @ndr3x https://github.com/ndr3x I could be maintainer if @timgrossmann https://github.com/timgrossmann would make me so. Although my latest version isn't working well due to lack of time to fix it, these donations can make it worth the time spent.

— Reply to this email directly, view it on GitHub https://github.com/InstaPy/InstaPy/issues/6627#issuecomment-1200270001, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS73DF3D4DDMLA3SPTQBMKTVWVXFVANCNFSM5Z2FQWHQ . You are receiving this because you were mentioned.Message ID: @.***>

--

mkmnstr123 avatar Jul 30 '22 18:07 mkmnstr123

same!

superquantum avatar Aug 01 '22 10:08 superquantum

Guessing Instapy is really dead...

martini09617 avatar Aug 10 '22 08:08 martini09617

Same error! Any solution so far?

aizarged avatar Aug 17 '22 09:08 aizarged

Same, with Instapy quickstart !

Louis2530 avatar Aug 20 '22 12:08 Louis2530

having this error too

sourstripe avatar Aug 28 '22 02:08 sourstripe

I was able to work around this by making two changes to util.py of the InstaPy package. This doesn't fix the functionality but simply allows the program to continue after it errors out getting follower data. Starting at line 492 502 of util.py: we need to add in a try/except to keep the program moving when it errors out from the data call here like so: image

Then on line 2235 of util.py we need to give the DB a phony input so change the code on this line to: cur.execute(sql (id, 5, 5, 5)

clone2324 avatar Sep 05 '22 23:09 clone2324

ive same issue, any solution so far?

epenflow avatar Sep 13 '22 01:09 epenflow

Nah, instapy is dead after the Instagram changes from June '22

On Mon, Sep 12, 2022 at 21:53 Epen Flow @.***> wrote:

ive same issue, any solution so far?

— Reply to this email directly, view it on GitHub https://github.com/InstaPy/InstaPy/issues/6627#issuecomment-1244798799, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIIP73ENUKTULEFFAJ4CFWLV57NAXANCNFSM5Z2FQWHQ . You are receiving this because you commented.Message ID: @.***>

-- Nate Tunningley

clone2324 avatar Sep 13 '22 02:09 clone2324

I comment out lines 475-478 in the instapy.py file. and basic functionality start for me

        # self.followed_by = log_follower_num(self.browser, self.username, self.logfolder)
        # self.following_num = log_following_num(
        #     self.browser, self.username, self.logfolder
        # )

but errors in log:

WARNING [2022-09-13 09:55:17] [***]  Unable to save account progress, skipping data update 
	b"'NoneType' object has no attribute 'get'"
...
INFO [2022-09-13 11:32:31] [***]  Like# [1/19]
INFO [2022-09-13 11:32:31] [***]]  https://www.instagram.com/p/Cib2ZXYryhs/
WARNING [2022-09-13 11:32:37] [***]]  Unavailable Page: b'https://www.instagram.com/p/Cib2ZXYryhs/'
INFO [2022-09-13 11:32:37] [***]]  --> Image not liked: b'Unavailable Page'

waiting for a solution to the problem

v-yarmiychuk avatar Sep 13 '22 05:09 v-yarmiychuk