{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/3106","repository_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/3106/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/3106/comments","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/3106/events","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/3106","id":169979637,"number":3106,"title":"CANT RUN BOT errors  pokecli.py and others","user":{"login":"ponytails","id":6531241,"avatar_url":"https://avatars.githubusercontent.com/u/6531241?v=3","gravatar_id":"","url":"https://api.github.com/users/ponytails","html_url":"https://github.com/ponytails","followers_url":"https://api.github.com/users/ponytails/followers","following_url":"https://api.github.com/users/ponytails/following{/other_user}","gists_url":"https://api.github.com/users/ponytails/gists{/gist_id}","starred_url":"https://api.github.com/users/ponytails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ponytails/subscriptions","organizations_url":"https://api.github.com/users/ponytails/orgs","repos_url":"https://api.github.com/users/ponytails/repos","events_url":"https://api.github.com/users/ponytails/events{/privacy}","received_events_url":"https://api.github.com/users/ponytails/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-08T17:32:05Z","updated_at":"2016-08-08T17:59:54Z","closed_at":null,"body":"### Expected Behavior\r\nstart bot\r\n\r\n### Actual Behavior\r\n(PokemonGo-Bot) root@oldtimes:~/PokemonGo-Bot# ./run.sh\r\n2016-08-08 12:21:03,129 [       cli] [INFO] PokemonGO Bot v1.0\r\n2016-08-08 12:21:03,132 [       cli] [INFO] Configuration initialized\r\n2016-08-08 12:21:03,132 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:\r\n2016-08-08 12:21:03,132 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics\r\n2016-08-08 12:21:03,136 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com\r\n2016-08-08 12:21:03,232 [PokemonGoBot] [INFO] [set_start_location] Setting start location.\r\nTraceback (most recent call last):\r\n  File \"pokecli.py\", line 503, in <module>\r\n    main()\r\n  File \"pokecli.py\", line 131, in main\r\n    report_summary(bot)\r\n  File \"pokecli.py\", line 140, in report_summary\r\n    metrics.capture_stats()\r\n  File \"/root/PokemonGo-Bot/pokemongo_bot/metrics.py\", line 76, in capture_stats\r\n    response_dict = request.call()\r\n  File \"/root/PokemonGo-Bot/pokemongo_bot/api_wrapper.py\", line 90, in call\r\n    if not self.can_call():\r\n  File \"/root/PokemonGo-Bot/pokemongo_bot/api_wrapper.py\", line 54, in can_call\r\n    raise NoPlayerPositionSetException()\r\npgoapi.exceptions.NoPlayerPositionSetException\r\n2016-08-08 12:21:03,369 [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/)\r\nTraceback (most recent call last):\r\n  File \"/root/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/transport/threaded.py\", line 174, in send_sync\r\n    super(ThreadedHTTPTransport, self).send(data, headers)\r\n  File \"/root/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/transport/http.py\", line 47, in send\r\n    ca_certs=self.ca_certs,\r\n  File \"/root/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/utils/http.py\", line 66, in urlopen\r\n    return opener.open(url, data, timeout)\r\n  File \"/root/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py\", line 494, in open\r\n    response = self._open(req, data)\r\n  File \"/root/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py\", line 512, in _open\r\n    '_open', req)\r\n  File \"/root/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py\", line 466, in _call_chain\r\n    result = func(*args)\r\n  File \"/root/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/utils/http.py\", line 46, in https_open\r\n    return self.do_open(ValidHTTPSConnection, req)\r\n  File \"/root/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py\", line 1284, in do_open\r\n    h.request(req.get_method(), req.selector, req.data, headers)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 1048, in request\r\n    self._send_request(method, url, body, headers)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 1088, in _send_request\r\n    self.endheaders(body)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 1044, in endheaders\r\n    self._send_output(message_body)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 886, in _send_output\r\n    msg += message_body\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128)\r\n2016-08-08 12:21:03,371 [sentry.errors.uncaught] [ERROR] [u'NoPlayerPositionSetException', u'  File \"pokecli.py\", line 503, in <module>', u'  File \"pokecli.py\", line 131, in main', u'  File \"pokecli.py\", line 140, 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']\r\n(PokemonGo-Bot) root@oldtimes:~/PokemonGo-Bot#\r\n\r\n\r\n### Steps to Reproduce\r\n./run.sh \r\nnormal use\r\n\r\n### Other Information\r\nOS:  Ubuntu 15.04 (GNU/Linux 3.19.0-49-generic x86_64)\r\nGit Commit: (run 'git log -n 1 --pretty=format:\"%H\"' and paste it here)\r\n\r\nff380cd0e07f225ad1ae2c739bea9f9f80e2f8ce\r\n\r\nPython Version: (run 'python -V' and paste it here)\r\n\r\nPython 2.7.9"},"comment":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/comments/238323033","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/3106#issuecomment-238323033","issue_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/3106","id":238323033,"user":{"login":"hklcf","id":410302,"avatar_url":"https://avatars.githubusercontent.com/u/410302?v=3","gravatar_id":"","url":"https://api.github.com/users/hklcf","html_url":"https://github.com/hklcf","followers_url":"https://api.github.com/users/hklcf/followers","following_url":"https://api.github.com/users/hklcf/following{/other_user}","gists_url":"https://api.github.com/users/hklcf/gists{/gist_id}","starred_url":"https://api.github.com/users/hklcf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hklcf/subscriptions","organizations_url":"https://api.github.com/users/hklcf/orgs","repos_url":"https://api.github.com/users/hklcf/repos","events_url":"https://api.github.com/users/hklcf/events{/privacy}","received_events_url":"https://api.github.com/users/hklcf/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T17:59:53Z","updated_at":"2016-08-08T17:59:53Z","body":"@ponytails im using Maps JavaScript API"}}
{"actor":{"display_login":"hklcf"}}