{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/5037","repository_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/5037/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/5037/comments","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/5037/events","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/5037","id":174434179,"number":5037,"title":"Sentry responded with an error: 'utf8' codec can't decode byte 0x9c","user":{"login":"gusterwoei","id":3762175,"avatar_url":"https://avatars.githubusercontent.com/u/3762175?v=3","gravatar_id":"","url":"https://api.github.com/users/gusterwoei","html_url":"https://github.com/gusterwoei","followers_url":"https://api.github.com/users/gusterwoei/followers","following_url":"https://api.github.com/users/gusterwoei/following{/other_user}","gists_url":"https://api.github.com/users/gusterwoei/gists{/gist_id}","starred_url":"https://api.github.com/users/gusterwoei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gusterwoei/subscriptions","organizations_url":"https://api.github.com/users/gusterwoei/orgs","repos_url":"https://api.github.com/users/gusterwoei/repos","events_url":"https://api.github.com/users/gusterwoei/events{/privacy}","received_events_url":"https://api.github.com/users/gusterwoei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-01T04:28:41Z","updated_at":"2016-09-01T07:37:11Z","closed_at":null,"body":"<!--\r\n\r\nSTOP ! ! !\r\n\r\nRead the following before creating anything (or you will have your issue/feature request closed without notice)\r\n\r\n1. Please only create an ISSUE or a FEATURE REQUEST - don't mix the two together in one item\r\n2. For a Feature Request please only fill out the FEATURE REQUEST section\r\n3. For a Issue please only fill out the ISSUE section\r\n4. Issues are NOT to be used for help/config problems/support - use the relevant slack channels as per the README\r\n5. Provide a good summary in the title, don't just write problem, or awesome idea!\r\n6. Delete all irrelevant sections not related to your issue/feature request (including this top section)\r\n\r\n===============ISSUE SECTION===============\r\n\r\nBefore you create an Issue, please check the following:\r\n\r\n1. Have you validated that your config.json is valid JSON? Use http://jsonlint.com/ to check.\r\n2. Have you [searched our issue tracker](https://github.com/PokemonGoF/PokemonGo-Bot/issues?q=is%3Aissue+sort%3Aupdated-desc) to see if the issue already exists? If so, comment on that issue instead rather than creating a new issue.\r\n3. Are you running on the `master` branch? We work on the `dev` branch and then add that functionality to `master` when it is stable. Your issue may be fixed on `dev` and there is no need for this issue, just wait and it will eventually be merged to `master`.\r\n4. All Issue sections MUST be completed to help us determine the actual problem and find its cause\r\n-->\r\n### Expected Behavior\r\nBot starts as usual\r\n\r\n\r\n### Actual Behavior\r\nAfter pulling the latest changes, the bot crashed on start and output some errors.\r\n\r\n\r\n### Your FULL config.json (remove your username, password, gmapkey and any other private info)\r\n    {\r\n                \"auth_service\": \"ptc\",\r\n                \"username\": \"\",\r\n                \"password\": \"\",\r\n                \"location\": \"\",\r\n                \"gmapkey\": \"\",\r\n                \"libencrypt_location\": \"\",\r\n                \"tasks\": [{\r\n                    \"type\": \"HandleSoftBan\"\r\n                }, {\r\n                    \"type\": \"SleepSchedule\",\r\n                    \"config\": {\r\n                        \"enabled\": false,\r\n                        \"time\": \"22:54\",\r\n                        \"duration\": \"7:46\",\r\n                        \"time_random_offset\": \"00:24\",\r\n                        \"duration_random_offset\": \"00:43\"\r\n                    }\r\n                }, {\r\n                    \"type\": \"CollectLevelUpReward\"\r\n                }, {\r\n                    \"type\": \"IncubateEggs\",\r\n                    \"config\": {\r\n                        \"longer_eggs_first\": true\r\n                    }\r\n                }, {\r\n                    \"type\": \"UpdateLiveStats\",\r\n                    \"config\": {\r\n                        \"enabled\": false,\r\n                        \"min_interval\": 10,\r\n                        \"stats\": [\"uptime\", \"stardust_earned\", \"xp_earned\", \"xp_per_hour\", \"stops_visited\"],\r\n                        \"terminal_log\": true,\r\n                        \"terminal_title\": true\r\n                    }\r\n                }, {\r\n                    \"type\": \"TransferPokemon\"\r\n                }, {\r\n                    \"type\": \"NicknamePokemon\",\r\n                    \"config\": {\r\n                        \"enabled\": true,\r\n                        \"nickname_template\": \"{name}_{ivcp_pct2}\"\r\n                    }\r\n                }, {\r\n                    \"type\": \"EvolvePokemon\",\r\n                    \"config\": {\r\n                        \"evolve_all\": \"Pidgey,Weedle,Caterpie,Rattata,Zubat,Kakuna,Metapod\",\r\n                        \"first_evolve_by\": \"cp\",\r\n                        \"evolve_above_cp\": 500,\r\n                        \"evolve_above_iv\": 0.8,\r\n                        \"logic\": \"or\",\r\n                        \"evolve_speed\": 20,\r\n                        \"use_lucky_egg\": false\r\n                    }\r\n                }, {\r\n                    \"type\": \"RecycleItems\",\r\n                    \"config\": {\r\n                        \"min_empty_space\": 15,\r\n                        \"item_filter\": {\r\n                            \"Pokeball\": {\r\n                                \"keep\": 60\r\n                            },\r\n                            \"Greatball\": {\r\n                                \"keep\": 50\r\n                            },\r\n                            \"Ultraball\": {\r\n                                \"keep\": 30\r\n                            },\r\n                            \"Potion\": {\r\n                                \"keep\": 70\r\n                            },\r\n                            \"Super Potion\": {\r\n                                \"keep\": 20\r\n                            },\r\n                            \"Hyper Potion\": {\r\n                                \"keep\": 30\r\n                            },\r\n                            \"Revive\": {\r\n                                \"keep\": 30\r\n                            },\r\n                            \"Razz Berry\": {\r\n                                \"keep\": 50\r\n                            }\r\n                        }\r\n                    }\r\n                }, {\r\n                    \"type\": \"CatchVisiblePokemon\"\r\n                }, {\r\n                    \"type\": \"CatchLuredPokemon\"\r\n                }, {\r\n                    \"type\": \"SpinFort\"\r\n                }, {\r\n                    \"type\": \"MoveToFort\",\r\n                    \"config\": {\r\n                        \"lure_attraction\": true,\r\n                        \"lure_max_distance\": 2000\r\n                    }\r\n                }, {\r\n                    \"type\": \"FollowSpiral\",\r\n                    \"config\": {\r\n                        \"diameter\": 4,\r\n                        \"step_size\": 70\r\n                    }\r\n                }],\r\n                \"map_object_cache_time\": 5,\r\n                \"forts\": {\r\n                    \"avoid_circles\": true,\r\n                    \"max_circle_size\": 50\r\n                },\r\n                \"websocket_server\": false,\r\n                \"walk\": 4.16,\r\n                \"action_wait_min\": 1,\r\n                \"action_wait_max\": 4,\r\n                \"debug\": false,\r\n                \"test\": false,\r\n                \"health_record\": true,\r\n                \"location_cache\": true,\r\n                \"distance_unit\": \"km\",\r\n                \"reconnecting_timeout\": 15,\r\n                \"catch_randomize_reticle_factor\": 1.0,\r\n                \"catch_randomize_spin_factor\": 1.0,\r\n                \"logging_color\": true,\r\n                \"catch\": {\r\n                    \"any\": {\r\n                        \"catch_above_cp\": 0,\r\n                        \"catch_above_iv\": 0,\r\n                        \"logic\": \"or\"\r\n                    },\r\n                    \"// Example of always catching Rattata:\": {},\r\n                    \"// Rattata\": {\r\n                        \"always_catch\": true\r\n                    }\r\n                },\r\n                \"release\": {\r\n                    \"any\": {\r\n                        \"release_below_cp\": 0,\r\n                        \"release_below_iv\": 0,\r\n                        \"logic\": \"or\"\r\n                    },\r\n                    \"any\": {\r\n                        \"keep_best_cp\": 6,\r\n                        \"keep_best_iv\": 1\r\n                    },\r\n                    \"// Example of always releasing Rattata:\": {},\r\n                    \"//Rattata\": {\r\n                        \"keep_best_cp\": 1,\r\n                        \"keep_best_iv\": 1\r\n                    },\r\n                    \"// Example of keeping 2 stronger (based on IV) Zubat:\": {},\r\n                    \"//Zubat\": {\r\n                        \"keep_best_cp\": 1,\r\n                        \"keep_best_iv\": 1\r\n                    },\r\n                    \"//Golbat\": {\r\n                        \"keep_best_cp\": 2,\r\n                        \"keep_best_iv\": 2\r\n                    },\r\n                    \"//Metapod\": {\r\n                        \"keep_best_cp\": 1,\r\n                        \"keep_best_iv\": 1\r\n                    },\r\n                    \"//Kakuna\": {\r\n                        \"keep_best_cp\": 1,\r\n                        \"keep_best_iv\": 1\r\n                    },\r\n                    \"// Example of keeping 3 stronger (based on CP) Pidgey:\": {},\r\n                    \"// Pidgey\": {\r\n                        \"keep_best_cp\": 3\r\n                    },\r\n                    \"// Also, it is working with any\": {},\r\n                    \"// any\": {\r\n                        \"keep_best_iv\": 3\r\n                    },\r\n                    \"// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:\": {},\r\n                    \"// Zubat\": {\r\n                        \"keep_best_cp\": 2,\r\n                        \"keep_best_iv\": 3\r\n                    }\r\n                },\r\n                \"vips\": {\r\n                    \"Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!\": {},\r\n                    \"any\": {\r\n                        \"catch_above_cp\": 1200,\r\n                        \"catch_above_iv\": 0.9,\r\n                        \"logic\": \"or\"\r\n                    },\r\n                    \"Lapras\": {},\r\n                    \"Moltres\": {},\r\n                    \"Zapdos\": {},\r\n                    \"Articuno\": {},\r\n\r\n                    \"// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)\": {},\r\n                    \"Mewtwo\": {},\r\n                    \"Dragonite\": {},\r\n                    \"Snorlax\": {},\r\n                    \"// Mew evolves to Mewtwo\": {},\r\n                    \"Mew\": {},\r\n                    \"Arcanine\": {},\r\n                    \"Vaporeon\": {},\r\n                    \"Gyarados\": {},\r\n                    \"Exeggutor\": {},\r\n                    \"Muk\": {},\r\n                    \"Weezing\": {},\r\n                    \"Flareon\": {}\r\n\r\n                }\r\n            }\r\n\r\n### Output when issue occurred\r\n2016-09-01 12:11:33,272 [sentry.errors] [ERROR] Sentry responded with an error: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte (url: https://app.getsentry.com/api/90254/store/)\r\nTraceback (most recent call last):\r\n  File \"/usr/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 \"/usr/local/lib/python2.7/site-packages/raven/transport/http.py\", line 47, in send\r\n    ca_certs=self.ca_certs,\r\n  File \"/usr/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 \"/usr/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 \"/usr/local/lib/python2.7/site-packages/future/backports/urllib/request.py\", line 512, in _open\r\n    '_open', req)\r\n  File \"/usr/local/lib/python2.7/site-packages/future/backports/urllib/request.py\", line 466, in _call_chain\r\n    result = func(*args)\r\n  File \"/usr/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 \"/usr/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/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py\", line 1057, in request\r\n    self._send_request(method, url, body, headers)\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py\", line 1097, in _send_request\r\n    self.endheaders(body)\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py\", line 1053, in endheaders\r\n    self._send_output(message_body)\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py\", line 895, in _send_output\r\n    msg += message_body\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_8.py\", line 16, in decode\r\n    return codecs.utf_8_decode(input, errors, True)\r\nUnicodeDecodeError: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte\r\n2016-09-01 12:11:33,631 [sentry.errors.uncaught] [ERROR] [u'TypeError: call() takes exactly 1 argument (2 given)', u'  File \"pokecli.py\", line 781, in <module>', u'  File \"pokecli.py\", line 217, in main', u'  File \"pokecli.py\", line 265, in report_summary', u'  File \"pokemongo_bot/metrics.py\", line 108, in capture_stats', u'  File \"pokemongo_bot/api_wrapper.py\", line 239, in call', u'  File \"pokemongo_bot/api_wrapper.py\", line 188, in _call']\r\n\r\n\r\n### Steps to Reproduce\r\nswitch to master branch\r\ndo a git pull on master branch\r\nrun pip install -r requirements.txt\r\nrun ./run.sh\r\n\r\n### Other Information\r\nOS: \r\nOSX Yosemite\r\n\r\nBranch: \r\nmaster\r\n\r\nPython Version: \r\n2.7.11\r\n\r\n\r\n<!-- ===============FEATURE REQUEST SECTION===============\r\n\r\nBefore you create a Feature Request, please check the following:\r\n\r\n1. Have you [searched our feature tracker](https://github.com/PokemonGoF/PokemonGo-Bot/labels/Feature%20Request) first to ensure someone else hasn't already come up with the same great idea.  If so then be sure to +1 it \r\n2. While you're there, be sure to vote on other feature requests to let the devs know what is important to you.\r\n-->\r\n\r\n<!-- Note: Delete this line and everything ABOVE if creating a Feature Request -->\r\n### Short Description\r\n<!-- Tell us a short description of your request -->\r\n\r\n\r\n### Possible solution\r\n<!-- Tell us how you would include it in the current bot -->\r\n\r\n\r\n### How it would help others\r\n<!-- Tell us how you think it would help yourself and other users -->\r\n\r\n\r\n<!-- ==========END OF FEATURE REQUEST SECTION========== -->\r\n"},"comment":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/comments/244000105","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/5037#issuecomment-244000105","issue_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/5037","id":244000105,"user":{"login":"dokhed","id":21478501,"avatar_url":"https://avatars.githubusercontent.com/u/21478501?v=3","gravatar_id":"","url":"https://api.github.com/users/dokhed","html_url":"https://github.com/dokhed","followers_url":"https://api.github.com/users/dokhed/followers","following_url":"https://api.github.com/users/dokhed/following{/other_user}","gists_url":"https://api.github.com/users/dokhed/gists{/gist_id}","starred_url":"https://api.github.com/users/dokhed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dokhed/subscriptions","organizations_url":"https://api.github.com/users/dokhed/orgs","repos_url":"https://api.github.com/users/dokhed/repos","events_url":"https://api.github.com/users/dokhed/events{/privacy}","received_events_url":"https://api.github.com/users/dokhed/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T07:37:11Z","updated_at":"2016-09-01T07:37:11Z","body":"Which program did you use to edit the config file?"}}
{"actor":{"display_login":"dokhed"}}