AndlyticsProject / andlytics

Google Play - Android Market statistics app
Other
537 stars 181 forks source link

Stats won't update #688

Closed alexblack closed 9 years ago

alexblack commented 9 years ago

Analytics attempts to get new stats but fails. It doesn't give an error like it did a while back.

After invoking refresh it displays the progress for a while. Then nothing. I expected the last updated time to change to now, instead its stuck at 4am, the last time it updated for me.

My app has had reviews since then.

willlunniss commented 9 years ago

Can you post a logcat from when you try to update

alexblack commented 9 years ago

How do I do that?

TheNephilim88 commented 9 years ago

Problem is most probably because Google changed Ratings & Reviews-page and so parsing will fail. Log doesnt show that much, when refreshing:

07-20 22:46:27.260 10791-11939/? D/JsonParser﹕ Found 8 apps in JSON 07-20 22:46:27.260 10791-11939/? D/JsonParser﹕ com.myapp1: publishState=1 07-20 22:46:27.260 10791-11939/? D/JsonParser﹕ Adding incomplete app: com.myapp1 07-20 22:46:27.260 10791-11939/? D/JsonParser﹕ com.myapp2: publishState=1 07-20 22:46:27.260 10791-11939/? D/JsonParser﹕ Adding incomplete app: com.myapp2 ... 07-20 22:46:27.260 10791-11939/? D/JsonParser﹕ Skipping app 4 with state != 1: package name=com.myapp4: state=2 07-20 22:46:27.260 10791-11939/? D/JsonParser﹕ com.myapp4: publishState=2 ... 07-20 22:46:27.260 10791-11939/? D/JsonParser﹕ com.myapp5: publishState=1 07-20 22:46:27.260 10791-11939/? D/JsonParser﹕ Adding incomplete app: com.myapp5 07-20 22:46:27.260 10791-11939/? D/DevConsoleV2﹕ Found 5 apps for ......... 07-20 22:46:27.260 10791-11939/? D/DevConsoleV2﹕ Incomplete packages: 5 07-20 22:46:27.260 10791-11939/? D/DevConsoleV2﹕ Got 5 incomplete apps, issuing details request 07-20 22:46:27.974 10791-11939/? D/JsonParser﹕ Found 5 apps in JSON ... [same stuff as above... showing app-identification and "skipping"] ... 07-20 22:46:27.975 10791-11939/? D/DevConsoleV2﹕ Got 0 extra apps from details request

willlunniss commented 9 years ago

OK, I can reproduce it as well now so I will have a look either tonight after work or tomorrow morning.

willlunniss commented 9 years ago

Quick and dirty fix available for testing, please give it a go and report back if it works/doesn't (and include logs/json dumps if not).

TheNephilim88 commented 9 years ago

Thank you very much willlunniss. I compiled version with your fix and everything is working! Also no strange stuff in log :+1:

ardacuhadaroglu commented 9 years ago

So when will you publish the new andlytics?

willlunniss commented 9 years ago

I might have time tonight, otherwise it may not be until the weekend unless one of the other project maintainers can help. It would be better if more than 1 other person had tested it as well.

splatte commented 9 years ago

I compiled a version including your fix, too. It seems to be updating my free and paid apps just fine now and gives me "Incomplete packages: 0" in the logs where it was >0 before. thanks a lot @willlunniss!

magnusgronbek commented 9 years ago

Is working ok. my apps were updated.

yiankos commented 9 years ago

Where I can get fixed .apk? Thanks a lot.

ardacuhadaroglu commented 9 years ago

You can checkout the code from https://github.com/willlunniss/andlytics .

Edit: It is working now with fixed api version. Thank you so much..

willlunniss commented 9 years ago

Thanks for the feedback, I've merged the PR and will push out a release as soon as I have a chance.

willlunniss commented 9 years ago

I've push out a release to Google Play with the fix included.