CANT RUN BOT errors pokecli.py and others
Expected Behavior
start bot
Actual Behavior
(PokemonGo-Bot) root@oldtimes:~/PokemonGo-Bot# ./run.sh
2016-08-08 12:21:03,129 [ cli] [INFO] PokemonGO Bot v1.0
2016-08-08 12:21:03,132 [ cli] [INFO] Configuration initialized
2016-08-08 12:21:03,132 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-08-08 12:21:03,132 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-08-08 12:21:03,136 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
2016-08-08 12:21:03,232 [PokemonGoBot] [INFO] [set_start_location] Setting start location.
Traceback (most recent call last):
File "pokecli.py", line 503, in
Steps to Reproduce
./run.sh normal use
Other Information
OS: Ubuntu 15.04 (GNU/Linux 3.19.0-49-generic x86_64) Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
ff380cd0e07f225ad1ae2c739bea9f9f80e2f8ce
Python Version: (run 'python -V' and paste it here)
Python 2.7.9
Have you set your config.json with location? Wipe out sensitive data and paste your config.json if you can.
2016-08-08 12:21:03,371 [sentry.errors.uncaught] [ERROR] u'NoPlayerPositionSetException
{ "auth_service": "google", "username": "[email protected]", "password": "GMAILpassword", "location": "country??", "gmapkey": "AIzaSyBbaDXLl8KtKy79CFcbA4VnY9FrRbVm7iI", "libencrypt_location": "", "tasks": [ { "type": "HandleSoftBan" }, { "type": "CollectLevelUpReward" }, { "type": "IncubateEggs", "config": { "longer_eggs_first": true } }, { "type": "TransferPokemon" }, { "type": "EvolvePokemon", "config": { "evolve_all": "none", "first_evolve_by": "cp", "evolve_above_cp": 500, "evolve_above_iv": 0.8, "logic": "or", "evolve_speed": 20, "use_lucky_egg": false } }, { "type": "RecycleItems", "config": { "item_filter": { "Pokeball": { "keep" : 100 }, "Potion": { "keep" : 10 }, "Super Potion": { "keep" : 20 }, "Hyper Potion": { "keep" : 30 }, "Revive": { "keep" : 30 }, "Razz Berry": { "keep" : 100 } } } }, { "type": "CatchVisiblePokemon" }, { "type": "CatchLuredPokemon" }, { "type": "SpinFort" }, { "type": "MoveToFort", "config": { "lure_attraction": true, "lure_max_distance": 2000 } }, { "type": "FollowSpiral", "config": { "diameter": 4, "step_size": 70 } } ], "map_object_cache_time": 5, "forts": { "avoid_circles": true, "max_circle_size": 50 }, "websocket_server": false, "walk": 4.16, "action_wait_min": 1, "action_wait_max": 4, "debug": false, "test": false, "health_record": true, "location_cache": true, "distance_unit": "km", "reconnecting_timeout": 15, "evolve_captured": "NONE", "catch_randomize_reticle_factor": 1.0, "catch_randomize_spin_factor": 1.0, "catch": { "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"}, "// Example of always catching Rattata:": {}, "// Rattata": { "always_catch" : true } }, "release": { "any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"}, "// Example of always releasing Rattata:": {}, "// Rattata": {"always_release": true}, "// Example of keeping 3 stronger (based on CP) Pidgey:": {}, "// Pidgey": {"keep_best_cp": 3}, "// Example of keeping 2 stronger (based on IV) Zubat:": {}, "// Zubat": {"keep_best_iv": 2}, "// Also, it is working with any": {}, "// any": {"keep_best_iv": 3}, "// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {}, "// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3} }, "vips" : { "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {}, "any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" }, "Lapras": {}, "Moltres": {}, "Zapdos": {}, "Articuno": {},
"// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
"Mewtwo": {},
"Dragonite": {},
"Snorlax": {},
"// Mew evolves to Mewtwo": {},
"Mew": {},
"Arcanine": {},
"Vaporeon": {},
"Gyarados": {},
"Exeggutor": {},
"Muk": {},
"Weezing": {},
"Flareon": {}
}
}
hklcf 2016-08-08 12:21:03,371 [sentry.errors.uncaught] [ERROR] u'NoPlayerPositionSetException
what does it mean??
@ponytails check you api or location setting, it seem the bot can't set the location properly.
@hklcf
what u used on this ? please see image https://snag.gy/tsQzF2.jpg
@ponytails im using Maps JavaScript API
@hklcf
what type of key ? server / ios / android / browser?
browser
check the json file using jsonlint
@hklcf i run pokemon bot on
linux ubuntu
and what should i type on this
"libencrypt_location": "",
@ponytails just leave it blank
https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Installation#get-encryptso-windows-part-writing-need-fine-tune
(PokemonGo-Bot) root@oldtimes:~/PokemonGo-Bot# ./run.sh
2016-08-08 13:09:13,397 [ cli] [INFO] PokemonGO Bot v1.0
2016-08-08 13:09:13,399 [ cli] [INFO] Configuration initialized
2016-08-08 13:09:13,400 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-08-08 13:09:13,400 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-08-08 13:09:13,404 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
2016-08-08 13:09:13,499 [PokemonGoBot] [INFO] [set_start_location] Setting start location.
Traceback (most recent call last):
File "pokecli.py", line 503, in
validate your config.json please
@hklcf yes its valid
Example Installation for Ubuntu (change dev to master for the lastest master version) http://pastebin.com/pzPjXT65
@hklcf
it works now but im getting invalid user/pass from google
PokemonGo-Bot) root@oldtimes:~/PokemonGo-Bot# ./run.sh configs/config.json 2016-08-08 13:20:23,568 [ cli] [INFO] PokemonGO Bot v1.0 2016-08-08 13:20:23,571 [ cli] [INFO] Configuration initialized 2016-08-08 13:20:23,571 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information: 2016-08-08 13:20:23,572 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics 2016-08-08 13:20:23,576 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com 2016-08-08 13:20:24,173 [PokemonGoBot] [INFO] [set_start_location] Setting start location. 2016-08-08 13:20:24,174 [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding. 2016-08-08 13:20:24,174 [PokemonGoBot] [INFO] [location_found] Location found: 14.676038, 121.043700 (14.676038, 121.0437, 0.0) 2016-08-08 13:20:24,174 [PokemonGoBot] [INFO] [position_update] Now at (14.676038, 121.0437, 0) 2016-08-08 13:20:24,175 [PokemonGoBot] [INFO] [login_started] Login procedure started. 2016-08-08 13:20:24,459 [pgoapi.pgoapi] [ERROR] Login process failed: Invalid Google Username/password 2016-08-08 13:20:24,460 [PokemonGoBot] [INFO] [login_failed] Login error, server busy. Waiting 10 seconds to try again. 2016-08-08 13:20:34,731 [pgoapi.pgoapi] [ERROR] Login process failed: Invalid Google Username/password 2016-08-08 13:20:34,732 [PokemonGoBot] [INFO] [login_failed] Login error, server busy. Waiting 10 seconds to try again. 2016-08-08 13:20:45,005 [pgoapi.pgoapi] [ERROR] Login process failed: Invalid Google Username/password 2016-08-08 13:20:45,005 [PokemonGoBot] [INFO] [login_failed] Login error, server busy. Waiting 10 seconds to try again. 2016-08-08 13:20:55,254 [pgoapi.pgoapi] [ERROR] Login process failed: Invalid Google Username/password 2016-08-08 13:20:55,254 [PokemonGoBot] [INFO] [login_failed] Login error, server busy. Waiting 10 seconds to try again. 2016-08-08 13:21:05,509 [pgoapi.pgoapi] [ERROR] Login process failed: Invalid Google Username/password 2016-08-08 13:21:05,509 [PokemonGoBot] [INFO] [login_failed] Login error, server busy. Waiting 10 seconds to try again.
@ponytails https://github.com/PokemonGoF/PokemonGo-Bot/wiki/FAQ#google-login-issues-login-error-server-busy
@hklcf
where will i put this ?
-p "