-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Bot will not work on Mac after API change #3184
Comments
Same thing. but it works for ptc auth. have no idea :( |
Same here: 2016-08-09 12:14:26,788 [ cli] [INFO] PokemonGO Bot v1.0 |
can you guys pls try the ptc auth? |
Tried ptc account and works for me, only for google account |
Ok, it works again. |
As there have been many updates since this issue was posted, I'm assuming this issue has been resolved. If I'm wrong, please reopen. |
Expected Behavior
Bot commences working.
Actual Behavior
(PokemonGo-Bot) Seths-MacBook-Pro:PokemonGo-Bot Roessmann$ python pokecli.py
2016-08-08 18:41:24,305 [ cli] [INFO] PokemonGO Bot v1.0
2016-08-08 18:41:24,307 [ cli] [INFO] No config argument specified, checking for /configs/config.json
2016-08-08 18:41:24,325 [ cli] [INFO] Configuration initialized
2016-08-08 18:41:24,326 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more logrmation:
2016-08-08 18:41:24,326 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-08-08 18:41:24,400 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
2016-08-08 18:41:24,494 [PokemonGoBot] [INFO] [set_start_location] Setting start location.
Traceback (most recent call last):
File "pokecli.py", line 493, in
main()
File "pokecli.py", line 127, in main
report_summary(bot)
File "pokecli.py", line 136, in report_summary
metrics.capture_stats()
File "/Users/Roessmann/PokemonGo-Bot/PokemonGo-Bot/PokemonGo-Bot/pokemongo_bot/metrics.py", line 76, in capture_stats
response_dict = request.call()
File "/Users/Roessmann/PokemonGo-Bot/PokemonGo-Bot/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 90, in call
if not self.can_call():
File "/Users/Roessmann/PokemonGo-Bot/PokemonGo-Bot/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 54, in can_call
raise NoPlayerPositionSetException()
pgoapi.exceptions.NoPlayerPositionSetException
2016-08-08 18:41:34,828 [sentry.errors] [ERROR] Sentry responded with an error: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
File "/Users/Roessmann/PokemonGo-Bot/PokemonGo-Bot/PokemonGo-Bot/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/Users/Roessmann/PokemonGo-Bot/PokemonGo-Bot/PokemonGo-Bot/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/Users/Roessmann/PokemonGo-Bot/PokemonGo-Bot/PokemonGo-Bot/lib/python2.7/site-packages/raven/utils/http.py", line 66, in urlopen
return opener.open(url, data, timeout)
File "/Users/Roessmann/PokemonGo-Bot/PokemonGo-Bot/PokemonGo-Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 494, in open
response = self._open(req, data)
File "/Users/Roessmann/PokemonGo-Bot/PokemonGo-Bot/PokemonGo-Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 512, in _open
'_open', req)
File "/Users/Roessmann/PokemonGo-Bot/PokemonGo-Bot/PokemonGo-Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 466, in _call_chain
result = func(*args)
File "/Users/Roessmann/PokemonGo-Bot/PokemonGo-Bot/PokemonGo-Bot/lib/python2.7/site-packages/raven/utils/http.py", line 46, in https_open
return self.do_open(ValidHTTPSConnection, req)
File "/Users/Roessmann/PokemonGo-Bot/PokemonGo-Bot/PokemonGo-Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 1284, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1057, in request
self._send_request(method, url, body, headers)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1097, in _send_request
self.endheaders(body)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1053, in endheaders
self._send_output(message_body)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/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-08-08 18:41:35,086 [sentry.errors.uncaught] [ERROR] [u'NoPlayerPositionSetException', u' File "pokecli.py", line 493, in ', u' File "pokecli.py", line 127, in main', u' File "pokecli.py", line 136, in report_summary', u' File "pokemongo_bot/metrics.py", line 76, in capture_stats', u' File "pokemongo_bot/api_wrapper.py", line 90, in call', u' File "pokemongo_bot/api_wrapper.py", line 54, in can_call']
Sentry is attempting to send 1 pending error messages
Waiting up to 10 seconds
Press Ctrl-C to quit
(PokemonGo-Bot) Seths-MacBook-Pro:PokemonGo-Bot Roessmann$
Steps to Reproduce
Entering the python pokecli.py command.
Other Information
OS: Mac
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
153ea21
Alternative methods to get it running have told me access denied. Any help?
The text was updated successfully, but these errors were encountered: