Open leafiy opened 7 years ago
Same here. Fresh install, stock config.json, this is on windows, using the stable branch install.
--------------------Starting bot-------------------- 2016-09-28 19:05:23,841 [ cli] [INFO] PokemonGO Bot v1.0 2016-09-28 19:05:23,845 [ cli] [INFO] commit: unknown 2016-09-28 19:05:23,845 [ cli] [INFO] No auth argument specified, checking for C:\PokemonGo-Bot\pokemongo_bot..\configs\auth.json 2016-09-28 19:05:23,845 [ cli] [INFO] No config argument specified, checking for C:\PokemonGo-Bot\pokemongo_bot..\configs\config.json 2016-09-28 19:05:23,848 [ cli] [INFO] Configuration initialized
Edit: tried dev branch, same thing.
Deleted the whole bot /dir/ downloaded the dev branch again, input all the same auth info, managed to get it running, was surprised, so I stopped the bot, changed some settings in config.json (just basic things like use incense=false to true, changed release pokemon bit, started it again, now I can't get back past 👍
2016-09-29 17:11:57,746 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information: 2016-09-29 17:11:57,746 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics 2016-09-29 17:11:57,750 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
tried deleting everything again and trying again and it just won't work.. tried generating a new google maps API key and using that, tried using a whole new google app password for logging in, still can't get it to login again.. tried using my VPN and changing location to different countries, or no VPN altogether = nothing. Can login fine on my phone though. This is pretty frustrating.
May be better help, fresh dev install:
--------------------Starting bot--------------------
2016-09-29 17:39:29,930 [ cli] [INFO] PokemonGO Bot v1.0 2016-09-29 17:39:29,966 [ cli] [INFO] commit: unknown 2016-09-29 17:39:29,967 [ cli] [INFO] No auth argument specified, checking for C:\PokemonGo-Bot\pokemongo_bot..\configs\auth.json 2016-09-29 17:39:29,967 [ cli] [INFO] No config argument specified, checking for C:\PokemonGo-Bot\pokemongo_bot..\configs\config.json 2016-09-29 17:39:29,970 [ cli] [INFO] Configuration initialized 2016-09-29 17:39:29,970 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information: 2016-09-29 17:39:29,970 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics 2016-09-29 17:39:29,990 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com Traceback (most recent call last): File "pokecli.py", line 843, in
main() File "pokecli.py", line 181, in main health_record.login_success() File "C:\PokemonGo-Bot\pokemongo_bot\health_record\bot_event.py", line 55, in login_success self.track_url('/loggedin') File "C:\PokemonGo-Bot\pokemongo_bot\health_record\bot_event.py", line 87, in track_url 'http://www.google-analytics.com/collect', data=data) File "C:\Python27\lib\site-packages\requests\api.py", line 111, in post return request('post', url, data=data, json=json, _kwargs) File "C:\Python27\lib\site-packages\requests\api.py", line 57, in request return session.request(method=method, url=url, _kwargs) File "C:\Python27\lib\site-packages\requests\sessions.py", line 475, in request resp = self.send(prep, _send_kwargs) File "C:\Python27\lib\site-packages\requests\sessions.py", line 585, in send r = adapter.send(request, _kwargs) File "C:\Python27\lib\site-packages\requests\adapters.py", line 467, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='www.google-analytics.com', port=80): Max retries exceeded with url: /collect (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x00000000063D7470>: Failed to establish a new connection: [Errno 1 0061] WSAECONNREFUSED',)) 2016-09-29 17:39:31,045 [sentry.errors] [ERROR] Sentry responded with an error: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in ran ge(128) (url: https://app.getsentry.com/api/90254/store/) Traceback (most recent call last): File "C:\Python27\lib\site-packages\raven\transport\threaded.py", line 174, in send_sync super(ThreadedHTTPTransport, self).send(data, headers) File "C:\Python27\lib\site-packages\raven\transport\http.py", line 47, in send ca_certs=self.ca_certs, File "C:\Python27\lib\site-packages\raven\utils\http.py", line 66, in urlopen return opener.open(url, data, timeout) File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 494, in open response = self._open(req, data) File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 512, in _open '_open', req) File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 466, in _call_chain result = func(*args) File "C:\Python27\lib\site-packages\raven\utils\http.py", line 46, in https_open return self.do_open(ValidHTTPSConnection, req) File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 1284, in do_open h.request(req.get_method(), req.selector, req.data, headers) File "C:\Python27\lib\httplib.py", line 1057, in request self._send_request(method, url, body, headers) File "C:\Python27\lib\httplib.py", line 1097, in _send_request self.endheaders(body) File "C:\Python27\lib\httplib.py", line 1053, in endheaders self._send_output(message_body) File "C:\Python27\lib\httplib.py", line 895, in _send_output msg += message_body UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) 2016-09-29 17:39:31,045 [sentry.errors.uncaught] [ERROR] [u"ConnectionError: HTTPConnectionPool(host='www.google-analytics.com', port=80): Max retries exceeded with url: /collect (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x00000000063D7470>: Failed to establish a new connection: [Errno 10061] WSAECONNREFUSED',))", u' File "pokecli.py", line 843, in ', u' File "pokecli.py", line 181, in main', u' File "C:\PokemonGo-Bot\pokemongo_bot\health_record\bot_event.py", line 55, in login_success', u' File "C:\PokemonGo-Bot\pokemongo_b ot\health_record\bot_event.py", line 87, in track_url', u' File "C:\Python27\lib\site-packages\requests\api.py", line 111, in post', u' File "C:\Python27\lib\site-packages\requests\api.py", line 57, in request', u' File "C:\Python27\lib\site-packages\requests\sessions.py", line 4 75, in request', u' File "C:\Python27\lib\site-packages\requests\sessions.py", line 585, in send', u' File "C:\Python27\lib\site-packages\r equests\adapters.py", line 467, in send'] Something went wrong and the bot needed to be restarted. Please investigate the cause.
Waiting for 45 seconds, press a key to continue ... 2016-09-29 17:39:47,328 [ cli] [INFO] PokemonGO Bot v1.0 2016-09-29 17:39:47,344 [ cli] [INFO] commit: unknown 2016-09-29 17:39:47,344 [ cli] [INFO] No auth argument specified, checking for C:\PokemonGo-Bot\pokemongo_bot..\configs\auth.json 2016-09-29 17:39:47,344 [ cli] [INFO] No config argument specified, checking for C:\PokemonGo-Bot\pokemongo_bot..\configs\config.json 2016-09-29 17:39:47,344 [ cli] [INFO] Configuration initialized 2016-09-29 17:39:47,344 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information: 2016-09-29 17:39:47,344 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics 2016-09-29 17:39:47,344 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
Close bot, disable health check, start bot:
--------------------Starting bot--------------------
2016-09-29 17:40:59,065 [ cli] [INFO] PokemonGO Bot v1.0 2016-09-29 17:40:59,069 [ cli] [INFO] commit: unknown 2016-09-29 17:40:59,071 [ cli] [INFO] No auth argument specified, checking for C:\PokemonGo-Bot\pokemongo_bot..\configs\auth.json 2016-09-29 17:40:59,071 [ cli] [INFO] No config argument specified, checking for C:\PokemonGo-Bot\pokemongo_bot..\configs\config.json 2016-09-29 17:40:59,072 [ cli] [INFO] Configuration initialized [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Applying pokemongobot [2016-09-29 17:40:59] [yoyo.migrations] [INFO] - applying step 0 [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Marking pokemongobot applied [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Applying catch_log [2016-09-29 17:40:59] [yoyo.migrations] [INFO] - applying step 0 [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Marking catch_log applied [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Applying eggs_hatched_log [2016-09-29 17:40:59] [yoyo.migrations] [INFO] - applying step 0 [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Marking eggs_hatched_log applied [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Applying evolve_log [2016-09-29 17:40:59] [yoyo.migrations] [INFO] - applying step 0 [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Marking evolve_log applied [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Applying pokestop_log [2016-09-29 17:40:59] [yoyo.migrations] [INFO] - applying step 0 [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Marking pokestop_log applied [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Applying softban_log [2016-09-29 17:40:59] [yoyo.migrations] [INFO] - applying step 0 [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Marking softban_log applied [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Applying transfer_log [2016-09-29 17:40:59] [yoyo.migrations] [INFO] - applying step 0 [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Marking transfer_log applied [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Applying vanish_log [2016-09-29 17:40:59] [yoyo.migrations] [INFO] - applying step 0 [2016-09-29 17:40:59] [yoyo.migrations] [INFO] Marking vanish_log applied (964) wsgi starting up on http://0.0.0.0:4000
Close bot, re-open:
--------------------Starting bot--------------------
2016-09-29 17:42:37,177 [ cli] [INFO] PokemonGO Bot v1.0 2016-09-29 17:42:37,183 [ cli] [INFO] commit: unknown 2016-09-29 17:42:37,184 [ cli] [INFO] No auth argument specified, checking for C:\PokemonGo-Bot\pokemongo_bot..\configs\auth.json 2016-09-29 17:42:37,184 [ cli] [INFO] No config argument specified, checking for C:\PokemonGo-Bot\pokemongo_bot..\configs\config.json 2016-09-29 17:42:37,186 [ cli] [INFO] Configuration initialized (4252) wsgi starting up on http://0.0.0.0:4000
Tried this comment here: https://github.com/PokemonGoF/PokemonGo-Bot/issues/5724#issuecomment-250345956
change "server_url": "0.0.0.0:4000" -> "server_url": "127.0.0.1:4000" also set embedded server to false since I don't want to use it anyway.
Start bot again:
--------------------Starting bot--------------------
2016-09-29 17:44:15,815 [ cli] [INFO] PokemonGO Bot v1.0 2016-09-29 17:44:15,819 [ cli] [INFO] commit: unknown 2016-09-29 17:44:15,821 [ cli] [INFO] No auth argument specified, checking for C:\PokemonGo-Bot\pokemongo_bot..\configs\auth.json 2016-09-29 17:44:15,821 [ cli] [INFO] No config argument specified, checking for C:\PokemonGo-Bot\pokemongo_bot..\configs\config.json 2016-09-29 17:44:15,822 [ cli] [INFO] Configuration initialized
Not sure what else I can do.
Last line in config, change "server_url":"0.0.0.0:4000" to "127.0.0.1:4000"
Expected Behavior
start the bot
Actual Behavior
Stuck at [ cli] [INFO] Configuration initialized
Your FULL config.json (remove your username, password, gmapkey and any other private info)
Output when issue occurred
[INFO] Configuration initialized
Steps to Reproduce
run ./run.sh
Other Information
OS: Ubuntu 12.04.5 LTS (GNU/Linux 3.5.0-54-generic i686)
Branch: DEV Git Commit: f65b063762384d97c5195a55db1b8257ba6cddee Python Version: 2.7.3 Any other relevant files/configs (eg: path files)