{"action":"created","issue":{"url":"https://api.github.com/repos/okayzed/autolux/issues/1","repository_url":"https://api.github.com/repos/okayzed/autolux","labels_url":"https://api.github.com/repos/okayzed/autolux/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/okayzed/autolux/issues/1/comments","events_url":"https://api.github.com/repos/okayzed/autolux/issues/1/events","html_url":"https://github.com/okayzed/autolux/issues/1","id":169089561,"number":1,"title":"Cannot import name 'run'","user":{"login":"r0hitsharma","id":1902665,"avatar_url":"https://avatars.githubusercontent.com/u/1902665?v=3","gravatar_id":"","url":"https://api.github.com/users/r0hitsharma","html_url":"https://github.com/r0hitsharma","followers_url":"https://api.github.com/users/r0hitsharma/followers","following_url":"https://api.github.com/users/r0hitsharma/following{/other_user}","gists_url":"https://api.github.com/users/r0hitsharma/gists{/gist_id}","starred_url":"https://api.github.com/users/r0hitsharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r0hitsharma/subscriptions","organizations_url":"https://api.github.com/users/r0hitsharma/orgs","repos_url":"https://api.github.com/users/r0hitsharma/repos","events_url":"https://api.github.com/users/r0hitsharma/events{/privacy}","received_events_url":"https://api.github.com/users/r0hitsharma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-03T09:40:27Z","updated_at":"2016-08-03T13:38:28Z","closed_at":null,"body":"```\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/autolux\", line 3, in <module>\r\n    import autolux\r\n  File \"/usr/lib/python3.5/site-packages/autolux/__init__.py\", line 1, in <module>\r\n    from autolux import run\r\nImportError: cannot import name 'run\r\n```\r\n\r\nIt seems related to using an old version of `oauth2client` library. In `oauth2client >= 1.5`, `run` has been replaced by `run_flow()`.\r\n\r\n(Sources: http://stackoverflow.com/questions/35115130/oauth2-lib-cannot-import-name-run and https://github.com/insanum/gcalcli/issues/204)"},"comment":{"url":"https://api.github.com/repos/okayzed/autolux/issues/comments/237239281","html_url":"https://github.com/okayzed/autolux/issues/1#issuecomment-237239281","issue_url":"https://api.github.com/repos/okayzed/autolux/issues/1","id":237239281,"user":{"login":"okayzed","id":98617,"avatar_url":"https://avatars.githubusercontent.com/u/98617?v=3","gravatar_id":"","url":"https://api.github.com/users/okayzed","html_url":"https://github.com/okayzed","followers_url":"https://api.github.com/users/okayzed/followers","following_url":"https://api.github.com/users/okayzed/following{/other_user}","gists_url":"https://api.github.com/users/okayzed/gists{/gist_id}","starred_url":"https://api.github.com/users/okayzed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okayzed/subscriptions","organizations_url":"https://api.github.com/users/okayzed/orgs","repos_url":"https://api.github.com/users/okayzed/repos","events_url":"https://api.github.com/users/okayzed/events{/privacy}","received_events_url":"https://api.github.com/users/okayzed/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T13:38:28Z","updated_at":"2016-08-03T13:38:28Z","body":"it's a python2 vs python3 thing (i think). \"run\" is just a toplevel function inside autolux/autolux.py that is called as the main entry point. (maybe try swapping to python2 at the top of the autolux bin file to check)"}}
{"actor":{"display_login":"okayzed"}}