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

TypeError: 'NoneType' object is not iterable #4706

Closed
AradeaTechno opened this issue Aug 25, 2016 · 4 comments
Closed

TypeError: 'NoneType' object is not iterable #4706

AradeaTechno opened this issue Aug 25, 2016 · 4 comments

Comments

@AradeaTechno
Copy link

===============ISSUE SECTION===============

Expected Behavior

Bot work fine

Actual Behavior

Getting error after login procedure

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

http://pastebin.com/7fBJ4zgh

Output when issue occurred

Getting this error after last pull (master)

Traceback (most recent call last):
File "pokecli.py", line 705, in
main()
File "pokecli.py", line 187, in main
report_summary(bot)
File "pokecli.py", line 229, in report_summary
metrics.num_evolutions(), metrics.num_new_mons(), metrics.uniq_caught()))
File "/home/aradea/PokemonGo-Bot/pokemongo_bot/metrics.py", line 51, in uniq_caught
return ', '.join([Pokemons.name_for(pok_id) for pok_id in self.uniq_pokemons_caught]) or ''
TypeError: 'NoneType' object is not iterable

Steps to Reproduce

  • install all requirements after pull
  • change latest config

Other Information

OS: Ubuntu Trusty
Branch: Master
Git Commit: commit: a529e0e
Python Version: Python 2.7.12

@mjmadsen
Copy link
Contributor

They updated the app. Probably due to that and our API not updated yet.

@AradeaTechno
Copy link
Author

Ahh...i see...oke...thx for the great work...appreciate that...

@mjmadsen
Copy link
Contributor

My bad, there is a PR in for this #4710

@mjmadsen
Copy link
Contributor

mjmadsen commented Aug 25, 2016

Merged it over to dev. Should be resolved now. Please reopen if problem persists.

You'll need to switch to the dev branch by:
git checkout dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants