New issue
Advanced search Search tips

Issue 712200 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Apr 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

While installing / fetching chromium - Windows Git error 'The system cannot find the file specified'

Reported by tyler.br...@dealerspike.com, Apr 17 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Steps to reproduce the problem:
1. Follow installation instructions of depot_tools located at https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md
2. Reach the step to run `gclient` from the cmd.exe shell
3. Receive Git error (see attachment)
4. Proceeding with installation, this Git error also blocks the `fetch chromium` step

What is the expected behavior?
Chromium properly installs from the command prompt.

What went wrong?
An error for Portable Git for Windows 64-bit occurs: 'Error during execution "C:\Program Files\depot_tools\git-2.10.0-64_bin\git-bash.exe --no-needs-console --hide --no-cd --command=post-install.bat". The system cannot find the file specified.'.

Did this work before? N/A 

Chrome version: 57.0.2987.133  Channel: stable
OS Version: 10.0
Flash Version:
 
Capture.PNG
11.1 KB View Download
Stack Trace left in console after program errors out:

Traceback (most recent call last):
  File "C:\Program Files\depot_tools\bootstrap\win\git_bootstrap.py", line 195, in <module>
    sys.exit(main(sys.argv[1:]))
  File "C:\Program Files\depot_tools\bootstrap\win\git_bootstrap.py", line 184, in main
    install_git(args, git_version, git_directory)
  File "C:\Program Files\depot_tools\bootstrap\win\git_bootstrap.py", line 121, in install_git
    '-Directory="%s"' % git_directory.replace('\\', '\\\\'),
  File "C:\Program Files\depot_tools\bootstrap\win\git_bootstrap.py", line 27, in _check_call
    subprocess.check_call(argv, **kwargs)
  File "C:\Program Files\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'c:\users\tyler~1.bro\appdata\local\temp\tmp4h0_vg\git-installer.exe -y -InstallPath="C:\\Program Files\\depot_tools\\git-2.10.0-64_bin" -Directory="C:\\Program Files\\depot_tools\\git-2.10.0-64_bin"' returned non-zero exit status 9
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

This error could be occurring because I installed the program in 'C:\Program Files', which has a space character in the file name, rather than the given example 'C:\src\' in the installation documentation.
Labels: TE-NeedsTriageHelp

Comment 3 by caseq@chromium.org, Apr 18 2017

Components: -Platform>DevTools Tools
Project Member

Comment 4 by sheriffbot@chromium.org, Apr 18 2018

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment