{"action":"created","issue":{"url":"https://api.github.com/repos/OptimalBPM/angular-schema-form-add-ons/issues/8","labels_url":"https://api.github.com/repos/OptimalBPM/angular-schema-form-add-ons/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/OptimalBPM/angular-schema-form-add-ons/issues/8/comments","events_url":"https://api.github.com/repos/OptimalBPM/angular-schema-form-add-ons/issues/8/events","html_url":"https://github.com/OptimalBPM/angular-schema-form-add-ons/issues/8","id":114578550,"number":8,"title":"When executing on Windows creating the gitignore file results in a FileExistsError: [WinError 183]","user":{"login":"tuvokki","id":181719,"avatar_url":"https://avatars.githubusercontent.com/u/181719?v=3","gravatar_id":"","url":"https://api.github.com/users/tuvokki","html_url":"https://github.com/tuvokki","followers_url":"https://api.github.com/users/tuvokki/followers","following_url":"https://api.github.com/users/tuvokki/following{/other_user}","gists_url":"https://api.github.com/users/tuvokki/gists{/gist_id}","starred_url":"https://api.github.com/users/tuvokki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuvokki/subscriptions","organizations_url":"https://api.github.com/users/tuvokki/orgs","repos_url":"https://api.github.com/users/tuvokki/repos","events_url":"https://api.github.com/users/tuvokki/events{/privacy}","received_events_url":"https://api.github.com/users/tuvokki/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-02T11:42:29Z","updated_at":"2015-11-02T15:15:25Z","closed_at":"2015-11-02T15:14:46Z","body":"The following happens when executing on windows:\r\n\r\n      > \"c:\\Programs\\Python35\\python.exe\" create_new_add_on.py --name=\"testi\" --author=\"Author Name\"\r\n      Traceback (most recent call last):\r\n        File \"create_new_add_on.py\", line 59, in <module>\r\n          mass_replace(_destination, \"Minimal\", _add_on_name.capitalize())\r\n        File \"c:\\Research\\SchemaForms\\tools\\lib\\mass_replace.py\", line 40, in mass_replace\r\n          file_replace(fullname, pat, s_after)\r\n        File \"c:\\Research\\SchemaForms\\tools\\lib\\mass_replace.py\", line 31, in file_replace\r\n          os.rename(out_fname, fname)\r\n      FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'c:\\\\Research\\\\SchemaForms\\\\tools\\\\testi\\\\.gitignore.tmp' -> 'c:\\\\Research\\\\SchemaForms\\\\tools\\\\testi\\\\.gitignore'\r\n\r\nPlease use shutil in mass replace to prevent FileExistsError: [WinError 183]"},"comment":{"url":"https://api.github.com/repos/OptimalBPM/angular-schema-form-add-ons/issues/comments/153049120","html_url":"https://github.com/OptimalBPM/angular-schema-form-add-ons/issues/8#issuecomment-153049120","issue_url":"https://api.github.com/repos/OptimalBPM/angular-schema-form-add-ons/issues/8","id":153049120,"user":{"login":"nicklasb","id":8634663,"avatar_url":"https://avatars.githubusercontent.com/u/8634663?v=3","gravatar_id":"","url":"https://api.github.com/users/nicklasb","html_url":"https://github.com/nicklasb","followers_url":"https://api.github.com/users/nicklasb/followers","following_url":"https://api.github.com/users/nicklasb/following{/other_user}","gists_url":"https://api.github.com/users/nicklasb/gists{/gist_id}","starred_url":"https://api.github.com/users/nicklasb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicklasb/subscriptions","organizations_url":"https://api.github.com/users/nicklasb/orgs","repos_url":"https://api.github.com/users/nicklasb/repos","events_url":"https://api.github.com/users/nicklasb/events{/privacy}","received_events_url":"https://api.github.com/users/nicklasb/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T15:15:25Z","updated_at":"2015-11-02T15:15:25Z","body":"Oh, i just saw the PR, thanks for your help!"}}