{"action":"closed","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch-py/issues/300","labels_url":"https://api.github.com/repos/elastic/elasticsearch-py/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-py/issues/300/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch-py/issues/300/events","html_url":"https://github.com/elastic/elasticsearch-py/issues/300","id":115080978,"number":300,"title":"can't run load.py in example directory","user":{"login":"softside","id":122914,"avatar_url":"https://avatars.githubusercontent.com/u/122914?v=3","gravatar_id":"","url":"https://api.github.com/users/softside","html_url":"https://github.com/softside","followers_url":"https://api.github.com/users/softside/followers","following_url":"https://api.github.com/users/softside/following{/other_user}","gists_url":"https://api.github.com/users/softside/gists{/gist_id}","starred_url":"https://api.github.com/users/softside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softside/subscriptions","organizations_url":"https://api.github.com/users/softside/orgs","repos_url":"https://api.github.com/users/softside/repos","events_url":"https://api.github.com/users/softside/events{/privacy}","received_events_url":"https://api.github.com/users/softside/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-04T15:40:43Z","updated_at":"2015-11-04T17:13:49Z","closed_at":"2015-11-04T17:13:49Z","body":"In line 105 and 110\r\n`committed_date': datetime(*commit.committed_date[:6])`\r\n`authored_date': datetime(*commit.authored_date[:6])`\r\n\r\nThe `commit.committed_date` and `commit.authored_date` is a int_seconds_since_epoch,which cause the script can't run .\r\n`datetime.utcfromtimestamp(float(commit.committed_date))` will work,may be caused by different  version of gitpython? After all ,this file has been there for a long time.\r\n\r\nHope to help others who run this file.\r\n\r\nAnd line 200,it need to modify the elasticsearch.yml to enable scripting module,Groovy dynamic scripting off by default from v1.4.3"}}