{"action":"created","issue":{"url":"https://api.github.com/repos/ageron/handson-ml/issues/251","repository_url":"https://api.github.com/repos/ageron/handson-ml","labels_url":"https://api.github.com/repos/ageron/handson-ml/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/ageron/handson-ml/issues/251/comments","events_url":"https://api.github.com/repos/ageron/handson-ml/issues/251/events","html_url":"https://github.com/ageron/handson-ml/issues/251","id":338325682,"node_id":"MDU6SXNzdWUzMzgzMjU2ODI=","number":251,"title":"Chapter 2: savefig fails the first time it's run due to directory not existing","user":{"login":"Undrinkable","id":4624654,"node_id":"MDQ6VXNlcjQ2MjQ2NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4624654?v=4","gravatar_id":"","url":"https://api.github.com/users/Undrinkable","html_url":"https://github.com/Undrinkable","followers_url":"https://api.github.com/users/Undrinkable/followers","following_url":"https://api.github.com/users/Undrinkable/following{/other_user}","gists_url":"https://api.github.com/users/Undrinkable/gists{/gist_id}","starred_url":"https://api.github.com/users/Undrinkable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Undrinkable/subscriptions","organizations_url":"https://api.github.com/users/Undrinkable/orgs","repos_url":"https://api.github.com/users/Undrinkable/repos","events_url":"https://api.github.com/users/Undrinkable/events{/privacy}","received_events_url":"https://api.github.com/users/Undrinkable/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-04T16:00:04Z","updated_at":"2018-07-04T17:56:16Z","closed_at":"2018-07-04T16:22:49Z","author_association":"NONE","body":"In 02_end_to_end_machine_learning_project.ipynb, on input line 12, savefig will fail when run for the first time because the images directory does not exist.\r\nThe fix is to check if the directory exists first, and if not, create it. "},"comment":{"url":"https://api.github.com/repos/ageron/handson-ml/issues/comments/402535093","html_url":"https://github.com/ageron/handson-ml/issues/251#issuecomment-402535093","issue_url":"https://api.github.com/repos/ageron/handson-ml/issues/251","id":402535093,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjUzNTA5Mw==","user":{"login":"ageron","id":76661,"node_id":"MDQ6VXNlcjc2NjYx","avatar_url":"https://avatars3.githubusercontent.com/u/76661?v=4","gravatar_id":"","url":"https://api.github.com/users/ageron","html_url":"https://github.com/ageron","followers_url":"https://api.github.com/users/ageron/followers","following_url":"https://api.github.com/users/ageron/following{/other_user}","gists_url":"https://api.github.com/users/ageron/gists{/gist_id}","starred_url":"https://api.github.com/users/ageron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ageron/subscriptions","organizations_url":"https://api.github.com/users/ageron/orgs","repos_url":"https://api.github.com/users/ageron/repos","events_url":"https://api.github.com/users/ageron/events{/privacy}","received_events_url":"https://api.github.com/users/ageron/received_events","type":"User","site_admin":false},"created_at":"2018-07-04T17:56:16Z","updated_at":"2018-07-04T17:56:16Z","author_association":"OWNER","body":"That's a good point, the housing directory was initially not part of the project, and it would be created by the notebook, but some people had trouble downloading the data, so I included it in the project."}}
{"actor":{"display_login":"ageron"}}