{"action":"opened","issue":{"url":"https://api.github.com/repos/hawkowl/towncrier/issues/85","repository_url":"https://api.github.com/repos/hawkowl/towncrier","labels_url":"https://api.github.com/repos/hawkowl/towncrier/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/hawkowl/towncrier/issues/85/comments","events_url":"https://api.github.com/repos/hawkowl/towncrier/issues/85/events","html_url":"https://github.com/hawkowl/towncrier/issues/85","id":251416483,"number":85,"title":"newswfragments directory not created","user":{"login":"htgoebel","id":784161,"avatar_url":"https://avatars1.githubusercontent.com/u/784161?v=4","gravatar_id":"","url":"https://api.github.com/users/htgoebel","html_url":"https://github.com/htgoebel","followers_url":"https://api.github.com/users/htgoebel/followers","following_url":"https://api.github.com/users/htgoebel/following{/other_user}","gists_url":"https://api.github.com/users/htgoebel/gists{/gist_id}","starred_url":"https://api.github.com/users/htgoebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htgoebel/subscriptions","organizations_url":"https://api.github.com/users/htgoebel/orgs","repos_url":"https://api.github.com/users/htgoebel/repos","events_url":"https://api.github.com/users/htgoebel/events{/privacy}","received_events_url":"https://api.github.com/users/htgoebel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-19T10:31:49Z","updated_at":"2017-08-19T10:31:49Z","closed_at":null,"body":"When running `towncrier --draft` first time, it crashes with:\r\n```\r\nLoading template...\r\nFinding news fragments...\r\nTraceback (most recent call last):\r\n…\r\n  File \"/tmp/myvenv/lib/python2.7/site-packages/towncrier/_builder.py\", line 46, in find_fragments\r\n    files = os.listdir(section_dir)\r\nOSError: [Errno 2] No such file or directory: '…/PyInstaller/newsfragments'\r\n```\r\n\r\ntowncrier should not crash with a traceback, but catch the exception and print a nice error message without traceback. Or it should create this directory."}}
{"actor":{"display_login":"htgoebel"}}