PokemonGo-Bot: TypeError: None has type , but expected one of: (, )
Expected Behavior
Bot will continue to run correctly.
Actual Behavior
After about an hour or so I get get the following error which causes the bot to crash:
Traceback (most recent call last):
File "pokecli.py", line 501, in <module>
main()
File "pokecli.py", line 132, in main
raise e
TypeError: None has type <type 'NoneType'>, but expected one of: (<type 'str'>, <type 'unicode'>)
Steps to Reproduce
Let the bot run between 1-2 hours.
Other Information
OS: macOS El Cap 10.11.6 Git Commit: eeecbc6c48d292fc916e4830fba1df290adb6ec4 Python Version: Python 2.7.10
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 23 (1 by maintainers)
Commits related to this issue
- Update pgoapi to a newer version (#3241) This should hopefully fix issues like #3181, #3098, #2874 and potentially more. Needs testing/verification. I am running now, but it does take about an h... — committed to PokemonGoF/PokemonGo-Bot by eriweb 8 years ago
- Dev merge to master, PR (#3334) * Adding plugin support (#2679) * Adding plugin support * Adding an empty __init__.py * Moving the base task to the project root (#2702) * Moving the base ... — committed to PokemonGoF/PokemonGo-Bot by solderzzc 8 years ago
- Dev merge to master, PR (#3564) * Adding plugin support (#2679) * Adding plugin support * Adding an empty __init__.py * Moving the base task to the project root (#2702) * Moving the base ... — committed to PokemonGoF/PokemonGo-Bot by solderzzc 8 years ago
- Dev merge to master, PR (#3638) * Adding plugin support (#2679) * Adding plugin support * Adding an empty __init__.py * Moving the base task to the project root (#2702) * Moving the base ... — committed to PokemonGoF/PokemonGo-Bot by solderzzc 8 years ago
- Dev merge to master, PR (#3891) * Adding plugin support (#2679) * Adding plugin support * Adding an empty __init__.py * Moving the base task to the project root (#2702) * Moving the base ... — committed to PokemonGoF/PokemonGo-Bot by solderzzc 8 years ago
- Dev merge to master, PR (#3971) * Adding plugin support (#2679) * Adding plugin support * Adding an empty __init__.py * Moving the base task to the project root (#2702) * Moving the base ... — committed to PokemonGoF/PokemonGo-Bot by solderzzc 8 years ago
Same issue. Commit: 6960f356a8d841cefbfd1018b23877b73a6a0d12 Python: 2.7.12 Ubuntu 16.04
I don’t believe the next commit affects this issue.
Edit: If it is of any help, this happens only my google login bot, but not the ptc one. Same config on both other than the login details.
And its always 1 hour 0 minutes and some seconds. Have seen this happen 3 times while ptc one was running. Both were started at the same time
@15calderm pip uninstall pgoapi && pip install -e git+https://github.com/keyphact/pgoapi.git#egg=pgoapi
@mrthrowaway same exact thing happens to me. I have have 2 bots running and the PTC one runs just fine while the Google one crashes after exactly an hour and I started both at the exact same time.