{"action":"closed","issue":{"url":"https://api.github.com/repos/j-e-k/poketrainer/issues/170","repository_url":"https://api.github.com/repos/j-e-k/poketrainer","labels_url":"https://api.github.com/repos/j-e-k/poketrainer/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/j-e-k/poketrainer/issues/170/comments","events_url":"https://api.github.com/repos/j-e-k/poketrainer/issues/170/events","html_url":"https://github.com/j-e-k/poketrainer/issues/170","id":167964679,"number":170,"title":"Hard stop error","user":{"login":"HibikiFox","id":3196972,"avatar_url":"https://avatars.githubusercontent.com/u/3196972?v=3","gravatar_id":"","url":"https://api.github.com/users/HibikiFox","html_url":"https://github.com/HibikiFox","followers_url":"https://api.github.com/users/HibikiFox/followers","following_url":"https://api.github.com/users/HibikiFox/following{/other_user}","gists_url":"https://api.github.com/users/HibikiFox/gists{/gist_id}","starred_url":"https://api.github.com/users/HibikiFox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HibikiFox/subscriptions","organizations_url":"https://api.github.com/users/HibikiFox/orgs","repos_url":"https://api.github.com/users/HibikiFox/repos","events_url":"https://api.github.com/users/HibikiFox/events{/privacy}","received_events_url":"https://api.github.com/users/HibikiFox/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-07-27T21:47:25Z","updated_at":"2016-07-28T00:12:35Z","closed_at":"2016-07-28T00:12:35Z","body":"Getting this error at random during the run since last update\r\n```\r\n[ERROR] Error in main loop, restarting %s\r\nTraceback (most recent call last):\r\n  File \"pokecli.py\", line 121, in main\r\n    api.main_loop()\r\n  File \"%path%\\pgoapi-master\\poketrainer-develop\\pgoapi\\pgoapi.py\", line 846, in main_loop\r\n    self.spin_all_forts_visible()\r\n  File \"%path%\\pgoapi-master\\poketrainer-develop\\pgoapi\\pgoapi.py\", line 389, in spin_all_forts_visible\r\n    map(lambda x: \"via:%f,%f\" % (x[0]['latitude'], x[0]['longitude']), destinations[1:]))\r\n  File \"%path%\\pgoapi-master\\poketrainer-develop\\pgoapi\\pgoapi.py\", line 297, in walk_to\r\n    self.spin_nearest_fort()\r\n  File \"%path%\\pgoapi-master\\poketrainer-develop\\pgoapi\\pgoapi.py\", line 333, in spin_nearest_fort\r\n    fort_distance=nearest_fort_dis)\r\n  File \"%path%\\pgoapi-master\\poketrainer-develop\\pgoapi\\pgoapi.py\", line 348, in fort_search_pgoapi\r\n    for item in res['items_awarded']:\r\nKeyError: 'items_awarded'\r\n```\r\n\r\n*replaced base directory path with %path% for security*"}}
{"actor":{"display_login":"j-e-k"}}