{"action":"opened","issue":{"url":"https://api.github.com/repos/buttonmen-dev/buttonmen/issues/2090","repository_url":"https://api.github.com/repos/buttonmen-dev/buttonmen","labels_url":"https://api.github.com/repos/buttonmen-dev/buttonmen/issues/2090/labels{/name}","comments_url":"https://api.github.com/repos/buttonmen-dev/buttonmen/issues/2090/comments","events_url":"https://api.github.com/repos/buttonmen-dev/buttonmen/issues/2090/events","html_url":"https://github.com/buttonmen-dev/buttonmen/issues/2090","id":167830945,"number":2090,"title":"python client is broken against dev code","user":{"login":"cgolubi1","id":2898207,"avatar_url":"https://avatars.githubusercontent.com/u/2898207?v=3","gravatar_id":"","url":"https://api.github.com/users/cgolubi1","html_url":"https://github.com/cgolubi1","followers_url":"https://api.github.com/users/cgolubi1/followers","following_url":"https://api.github.com/users/cgolubi1/following{/other_user}","gists_url":"https://api.github.com/users/cgolubi1/gists{/gist_id}","starred_url":"https://api.github.com/users/cgolubi1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgolubi1/subscriptions","organizations_url":"https://api.github.com/users/cgolubi1/orgs","repos_url":"https://api.github.com/users/cgolubi1/repos","events_url":"https://api.github.com/users/cgolubi1/events{/privacy}","received_events_url":"https://api.github.com/users/cgolubi1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-27T11:22:38Z","updated_at":"2016-07-27T11:22:38Z","closed_at":null,"body":"There's some sort of transition problem involving the change to logins, the cutover, existing sessions, and the python client.\r\n\r\nI was able to get this error message using a script that works against the prod site:\r\n```python\r\n$ ./w game_info dev 1\r\ncould not parse return:\r\nNotice: Undefined index: stay_logged_in in /var/www/api/api_core.php on line 99\r\n{\"data\":{\"userName\":\"glassonion\"},\"message\":null,\"status\":\"ok\"}\r\nTraceback (most recent call last):\r\n  File \"/Users/chaos/src/git/buttonmen-dev/buttonmen-dev/tools/api-client/python/game_info\", line 44, in <module>\r\n    if not b.verify_login():\r\n  File \"/Users/chaos/src/git/buttonmen-dev/buttonmen-dev/tools/api-client/python/lib/bmapi.py\", line 88, in verify_login\r\n    if retval.status == 'ok':\r\nAttributeError: 'bool' object has no attribute 'status'\r\n```\r\n\r\nBut then i ran `b.login()`, and since i did that, everything works fine.\r\n"}}
{"actor":{"display_login":"cgolubi1"}}