Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue] Unable to read hatched egg details #5158

Closed
pranavperfect opened this issue Sep 4, 2016 · 5 comments
Closed

[Issue] Unable to read hatched egg details #5158

pranavperfect opened this issue Sep 4, 2016 · 5 comments
Labels

Comments

@pranavperfect
Copy link

pranavperfect commented Sep 4, 2016

Expected Behavior

Once egg hatches, it should be able to read what was the outcome.

Actual Behavior

Displayed the entry but all values as error.

Your FULL config.json (remove your username, password, gmapkey and any other private info)

Not applicable

Output when issue occurred

[2016-09-03 18:56:28] [MainThread] [IncubateEggs] [INFO] [egg_hatched] {'candy': 'error', 'iv': 'error', 'stardust': 'error', 'exp': 'error', 'cp': 'error', 'pokemon': 'error'}

Steps to Reproduce

Hatched a 10K egg

Other Information

OS:
Win 10
Branch:
Master
Git Commit:
ca94424
Python Version:
2.3.6

@pranavperfect
Copy link
Author

After checking Pokemon GO app, it shows hatched Pokemon was Eevee.

@DeXtroTip
Copy link
Contributor

Has that happened to any other egg?

@pranavperfect
Copy link
Author

not that i recall. if perhaps we had an error log stored i would be able to tell. My bot runs generally 20 hours out of the day. so can't tell if this happened in the past or not.

@oralunal oralunal added the Bug label Sep 4, 2016
@DeXtroTip
Copy link
Contributor

Not sure why that happened, it should be working fine in that commit you're at. Last dev commit has some changes on IncubateEggs task and also add eggs hatched to db.

@Gobberwart
Copy link
Contributor

This exact issue was fixed a few days ago, and was working correctly for me 22 hours ago:

[IncubateEggs] [INFO] [egg_hatched] Egg hatched with a Ekans (CP 450 - IV 10/14/15 0.87), 500 exp, 800 stardust and 10 candies.

That said, the way egg hatching is handled is as follows:

  • Bot receives egg hatched info from server
  • Bot sends inventory update request via api
  • Bot searches updated inventory for details of the newly-hatched egg's pokemon
  • Bot displays info

If the inventory doesn't update, then you'll see all "error" because there's no matching pokemon. Possibly this failed for some reason?

@k4n30 k4n30 closed this as completed Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants