tried to rerun the automate-git.gy when I delete the out folder. same issue.
python /home/c/Music/automate-git.py --download-dir=/home/c/Videos/ --branch=2840
output:
Generating CEF project files...
Creating /home/c/Videos/chromium/src/out/Debug_GN_x64 directory.
________ running 'gn gen out/Debug_GN_x64' in '/home/c/Videos/chromium/src'
gn.py: Could not find gn executable at: /home/c/Videos/chromium/src/buildtools/linux64/gn
Traceback (most recent call last):
File "tools/gclient_hook.py", line 134, in <module>
RunAction(src_dir, cmd)
File "/home/c/Videos/chromium/src/cef/tools/gclient_util.py", line 39, in RunAction
command, cwd=dir, always=True)
File "/home/c/Videos/depot_tools/gclient_utils.py", line 293, in CheckCallAndFilterAndHeader
return CheckCallAndFilter(args, **kwargs)
File "/home/c/Videos/depot_tools/gclient_utils.py", line 613, in CheckCallAndFilter
rv, args, kwargs.get('cwd', None), None, None)
subprocess2.CalledProcessError: Command 'gn gen out/Debug_GN_x64' returned non-zero exit status 2 in /home/c/Videos/chromium/src
Traceback (most recent call last):
File "/home/c/Music/automate-git.py", line 942, in <module>
run(path, cef_src_dir, depot_tools_dir)
File "/home/c/Music/automate-git.py", line 55, in run
shell=(sys.platform == 'win32'))
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/c/Videos/chromium/src/cef/cef_create_projects.sh']' returned non-zero exit status 1