{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/5149","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/5149/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/5149/comments","events_url":"https://api.github.com/repos/electron/electron/issues/5149/events","html_url":"https://github.com/electron/electron/issues/5149","id":148252848,"number":5149,"title":"Not able to script\\bootstrap.py on Win 10","user":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-14T04:59:07Z","updated_at":"2016-04-14T17:06:41Z","closed_at":null,"body":"* Electron version: 0.37.5\r\n* Operating system: Win 10\r\n\r\nTrying to build Electron from source (0.37.5) on Windows 10, I am always presented with errors in the step `script\\bootstrap.py`\r\n\r\nAny clues?\r\n\r\n```\r\nC:\\Python27\\python.exe C:\\GitDevelopment\\electron\\vendor\\brightray\\script\\bootstrap --commit 9229f39b44ca1dde25db9c648547861286b61935 --target_arch ia32 https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent\r\nTraceback (most recent call last):\r\n  File \"C:\\GitDevelopment\\electron\\vendor\\brightray\\vendor\\libchromiumcontent\\script\\download\", line 186, in <module>\r\n    sys.exit(main())\r\n  File \"C:\\GitDevelopment\\electron\\vendor\\brightray\\vendor\\libchromiumcontent\\script\\download\", line 67, in main\r\n    args.force)\r\n  File \"C:\\GitDevelopment\\electron\\vendor\\brightray\\vendor\\libchromiumcontent\\script\\download\", line 127, in download_if_needed\r\n    rm_rf(destination)\r\n  File \"C:\\GitDevelopment\\electron\\vendor\\brightray\\vendor\\libchromiumcontent\\script\\download\", line 179, in rm_rf\r\n    shutil.rmtree(path)\r\n  File \"C:\\Python27\\lib\\shutil.py\", line 247, in rmtree\r\n    rmtree(fullname, ignore_errors, onerror)\r\n  File \"C:\\Python27\\lib\\shutil.py\", line 247, in rmtree\r\n    rmtree(fullname, ignore_errors, onerror)\r\n  File \"C:\\Python27\\lib\\shutil.py\", line 247, in rmtree\r\n    rmtree(fullname, ignore_errors, onerror)\r\n  File \"C:\\Python27\\lib\\shutil.py\", line 247, in rmtree\r\n    rmtree(fullname, ignore_errors, onerror)\r\n  File \"C:\\Python27\\lib\\shutil.py\", line 247, in rmtree\r\n    rmtree(fullname, ignore_errors, onerror)\r\n  File \"C:\\Python27\\lib\\shutil.py\", line 247, in rmtree\r\n    rmtree(fullname, ignore_errors, onerror)\r\n  File \"C:\\Python27\\lib\\shutil.py\", line 256, in rmtree\r\n    onerror(os.rmdir, path, sys.exc_info())\r\n  File \"C:\\Python27\\lib\\shutil.py\", line 254, in rmtree\r\n    os.rmdir(path)\r\nWindowsError: [Error 145] The directory is not empty: 'C:\\\\GitDevelopment\\\\electron\\\\vendor\\\\brightray\\\\vendor\\\\download\\\\libchromiumcontent\\\\src\\\\third_party\\\\webrtc\\\\examples\\\\objc\\\\AppRTCDemo'\r\nTraceback (most recent call last):\r\n  File \"C:\\GitDevelopment\\electron\\vendor\\brightray\\script\\bootstrap\", line 106, in <module>\r\n    sys.exit(main())\r\n  File \"C:\\GitDevelopment\\electron\\vendor\\brightray\\script\\bootstrap\", line 39, in main\r\n    args.libcc_static_library_path)\r\n  File \"C:\\GitDevelopment\\electron\\vendor\\brightray\\script\\bootstrap\", line 94, in setup_libchromiumcontent\r\n    subprocess.check_call([sys.executable, download, '-s'] + args)\r\n  File \"C:\\Python27\\lib\\subprocess.py\", line 540, in check_call\r\n    raise CalledProcessError(retcode, cmd)\r\nsubprocess.CalledProcessError: Command '['C:\\\\Python27\\\\python.exe', 'C:\\\\GitDevelopment\\\\electron\\\\vendor\\\\brightray\\\\vendor\\\\libchromiumcontent\\\\script\\\\download', '-s', '-f', '-c', '9229f39b44ca1dde25db9c648547861286b61935', '--target_arch', 'ia32', 'https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent', 'C:\\\\GitDevelopment\\\\electron\\\\vendor\\\\brightray\\\\vendor\\\\download\\\\libchromiumcontent']' returned non-zero exit status 1\r\nNone\r\nTraceback (most recent call last):\r\n  File \"script\\bootstrap.py\", line 211, in <module>\r\n    sys.exit(main())\r\n  File \"script\\bootstrap.py\", line 44, in main\r\n    args.libcc_static_library_path)\r\n  File \"script\\bootstrap.py\", line 121, in bootstrap_brightray\r\n    execute_stdout([sys.executable, bootstrap] + args)\r\n  File \"C:\\GitDevelopment\\electron\\script\\lib\\util.py\", line 176, in execute_stdout\r\n    raise e\r\nsubprocess.CalledProcessError: Command '['C:\\\\Python27\\\\python.exe', 'C:\\\\GitDevelopment\\\\electron\\\\vendor\\\\brightray\\\\script\\\\bootstrap', '--commit', '9229f39b44ca1dde25db9c648547861286b61935', '--target_arch', 'ia32', 'https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent']' returned non-zero exit status 1\r\n```"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/210052295","html_url":"https://github.com/electron/electron/issues/5149#issuecomment-210052295","issue_url":"https://api.github.com/repos/electron/electron/issues/5149","id":210052295,"user":{"login":"felixrieseberg","id":1426799,"avatar_url":"https://avatars.githubusercontent.com/u/1426799?v=3","gravatar_id":"","url":"https://api.github.com/users/felixrieseberg","html_url":"https://github.com/felixrieseberg","followers_url":"https://api.github.com/users/felixrieseberg/followers","following_url":"https://api.github.com/users/felixrieseberg/following{/other_user}","gists_url":"https://api.github.com/users/felixrieseberg/gists{/gist_id}","starred_url":"https://api.github.com/users/felixrieseberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixrieseberg/subscriptions","organizations_url":"https://api.github.com/users/felixrieseberg/orgs","repos_url":"https://api.github.com/users/felixrieseberg/repos","events_url":"https://api.github.com/users/felixrieseberg/events{/privacy}","received_events_url":"https://api.github.com/users/felixrieseberg/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T17:06:41Z","updated_at":"2016-04-14T17:06:41Z","body":"Run the process as Administrator and ensure that you don't have leftover files. Seems like pretty typical \"can't delete this\" errors."}}