{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/curator/issues/1073","repository_url":"https://api.github.com/repos/elastic/curator","labels_url":"https://api.github.com/repos/elastic/curator/issues/1073/labels{/name}","comments_url":"https://api.github.com/repos/elastic/curator/issues/1073/comments","events_url":"https://api.github.com/repos/elastic/curator/issues/1073/events","html_url":"https://github.com/elastic/curator/issues/1073","id":260758589,"number":1073,"title":"Curator API AttributeError: module 'curator' has no attribute 'IndexList'","user":{"login":"jonathancoon","id":9962742,"avatar_url":"https://avatars3.githubusercontent.com/u/9962742?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathancoon","html_url":"https://github.com/jonathancoon","followers_url":"https://api.github.com/users/jonathancoon/followers","following_url":"https://api.github.com/users/jonathancoon/following{/other_user}","gists_url":"https://api.github.com/users/jonathancoon/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathancoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathancoon/subscriptions","organizations_url":"https://api.github.com/users/jonathancoon/orgs","repos_url":"https://api.github.com/users/jonathancoon/repos","events_url":"https://api.github.com/users/jonathancoon/events{/privacy}","received_events_url":"https://api.github.com/users/jonathancoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-09-26T20:27:12Z","updated_at":"2017-09-28T20:46:10Z","closed_at":null,"author_association":"NONE","body":"When I run the Python script below, I get this error message:\r\n\r\nTraceback (most recent call last):\r\n  File \"curator.py\", line 2, in <module>\r\n    import curator\r\n  File \"/home/elasticsearch/curator.py\", line 6, in <module>\r\n    ilo = curator.IndexList(client)\r\nAttributeError: 'module' object has no attribute 'IndexList'\r\n\r\nThis is the Python script:\r\n\r\nimport elasticsearch\r\nimport curator\r\n\r\nclient = elasticsearch.Elasticsearch()\r\n\r\nilo = curator.IndexList(client)\r\nprint(ilo.index_info)\r\n\r\nI have Curator version 5.2.0 installed via YUM, Elasticsearch version 5.6.0, and Python 2.7.5."},"comment":{"url":"https://api.github.com/repos/elastic/curator/issues/comments/332958937","html_url":"https://github.com/elastic/curator/issues/1073#issuecomment-332958937","issue_url":"https://api.github.com/repos/elastic/curator/issues/1073","id":332958937,"user":{"login":"jonathancoon","id":9962742,"avatar_url":"https://avatars3.githubusercontent.com/u/9962742?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathancoon","html_url":"https://github.com/jonathancoon","followers_url":"https://api.github.com/users/jonathancoon/followers","following_url":"https://api.github.com/users/jonathancoon/following{/other_user}","gists_url":"https://api.github.com/users/jonathancoon/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathancoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathancoon/subscriptions","organizations_url":"https://api.github.com/users/jonathancoon/orgs","repos_url":"https://api.github.com/users/jonathancoon/repos","events_url":"https://api.github.com/users/jonathancoon/events{/privacy}","received_events_url":"https://api.github.com/users/jonathancoon/received_events","type":"User","site_admin":false},"created_at":"2017-09-28T20:46:10Z","updated_at":"2017-09-28T20:46:10Z","author_association":"NONE","body":"Thanks for your help!"}}
{"actor":{"display_login":"jonathancoon"}}