{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/PTVS/issues/1673","repository_url":"https://api.github.com/repos/Microsoft/PTVS","labels_url":"https://api.github.com/repos/Microsoft/PTVS/issues/1673/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/PTVS/issues/1673/comments","events_url":"https://api.github.com/repos/Microsoft/PTVS/issues/1673/events","html_url":"https://github.com/Microsoft/PTVS/issues/1673","id":180175610,"number":1673,"title":"cookiecutter clone 'unable to create file' should be treated as error, not warning","user":{"login":"huguesv","id":1696845,"avatar_url":"https://avatars.githubusercontent.com/u/1696845?v=3","gravatar_id":"","url":"https://api.github.com/users/huguesv","html_url":"https://github.com/huguesv","followers_url":"https://api.github.com/users/huguesv/followers","following_url":"https://api.github.com/users/huguesv/following{/other_user}","gists_url":"https://api.github.com/users/huguesv/gists{/gist_id}","starred_url":"https://api.github.com/users/huguesv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huguesv/subscriptions","organizations_url":"https://api.github.com/users/huguesv/orgs","repos_url":"https://api.github.com/users/huguesv/repos","events_url":"https://api.github.com/users/huguesv/events{/privacy}","received_events_url":"https://api.github.com/users/huguesv/received_events","type":"User","site_admin":false},"labels":[{"id":189145731,"url":"https://api.github.com/repos/Microsoft/PTVS/labels/bug","name":"bug","color":"fc2929","default":true},{"id":442632979,"url":"https://api.github.com/repos/Microsoft/PTVS/labels/Cookiecutter","name":"Cookiecutter","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":{"login":"huguesv","id":1696845,"avatar_url":"https://avatars.githubusercontent.com/u/1696845?v=3","gravatar_id":"","url":"https://api.github.com/users/huguesv","html_url":"https://github.com/huguesv","followers_url":"https://api.github.com/users/huguesv/followers","following_url":"https://api.github.com/users/huguesv/following{/other_user}","gists_url":"https://api.github.com/users/huguesv/gists{/gist_id}","starred_url":"https://api.github.com/users/huguesv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huguesv/subscriptions","organizations_url":"https://api.github.com/users/huguesv/orgs","repos_url":"https://api.github.com/users/huguesv/repos","events_url":"https://api.github.com/users/huguesv/events{/privacy}","received_events_url":"https://api.github.com/users/huguesv/received_events","type":"User","site_admin":false},"assignees":[{"login":"huguesv","id":1696845,"avatar_url":"https://avatars.githubusercontent.com/u/1696845?v=3","gravatar_id":"","url":"https://api.github.com/users/huguesv","html_url":"https://github.com/huguesv","followers_url":"https://api.github.com/users/huguesv/followers","following_url":"https://api.github.com/users/huguesv/following{/other_user}","gists_url":"https://api.github.com/users/huguesv/gists{/gist_id}","starred_url":"https://api.github.com/users/huguesv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huguesv/subscriptions","organizations_url":"https://api.github.com/users/huguesv/orgs","repos_url":"https://api.github.com/users/huguesv/repos","events_url":"https://api.github.com/users/huguesv/events{/privacy}","received_events_url":"https://api.github.com/users/huguesv/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-09-29T22:08:38Z","updated_at":"2016-11-15T17:56:59Z","closed_at":"2016-11-15T17:56:59Z","body":"In the case of the template below, a directory will be missing from the template.\n\nWe shouldn't allow loading it, and we probably should delete it immediately from the `.cookiecutters` folder, so they don't attempt to use the installed version later on.\n\nThis happens in the case of a folder name that isn't Windows compatible. Aside from asking the author from fixing the template, we can't make it work. But we should make that clear to the user. Right now if they don't pay attention to the output window, they may not notice the problem until later on.\n\n```\n----- Cloning template 'robinandeer/cookiecutter-pyvanguard' -----\n\nCloning into 'cookiecutter-pyvanguard'...\nerror: unable to create file {{cookiecutter.repo_name}}/tests/test_{{ cookiecutter.repo_name|replace(\"-\", \"_\") }}.py: Invalid argument\nfatal: cannot create directory at '{{cookiecutter.repo_name}}/{{cookiecutter.repo_name|replace(\"-\", \"_\")}}': Invalid argument\nwarning: Clone succeeded, but checkout failed.\nYou can inspect what was checked out with 'git status'\nand retry the checkout with 'git checkout -f HEAD'\n\n----- Successfully cloned template 'robinandeer/cookiecutter-pyvanguard' to 'C:\\Users\\huvalo\\.cookiecutters\\cookiecutter-pyvanguard' -----\n\n----- Successfully loaded template 'robinandeer/cookiecutter-pyvanguard' -----\n```\n"}}
{"actor":{"display_login":"huguesv"}}