automate-git.py failed

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

automate-git.py failed

Postby wencheng » Tue Nov 17, 2015 9:55 pm

Can not find grit_info.py, but in the folder [tools\grit],it only has a 'grit' folder and a grit_info.pyc file.
D:\work\cef>python automate\automate-git.py --download-dir=d:\work\cef\download --branch=2526
...
________ running 'd:\work\cef\download\depot_tools\python276_bin\python.exe ../build/gyp_chromium cef.gyp -I cef.gypi -G ninja_use_custom_environment_files' in 'd:\work\cef\download\chromium\src\cef'
Enabled Psyco JIT.
Updating projects from gyp files...
python: can't open file '../tools/grit/grit_info.py': [Errno 2] No such file or directory
gyp: Call to 'python ../tools/grit/grit_info.py -D _chromium -E "CHROMIUM_BUILD=chromium" -D toolkit_views -D use_aura -D use_ash -D enable_extensions -D enable_plugins -D enable_printing -D enable_themes -D enable_app_list -D enable_settings_app -D enable_google_now -D use_concatenated_impulse_responses -D enable_media_router -D enable_webrtc -D enable_task_manager -D enable_notifications -D enable_wifi_bootstrapping -D enable_topchrome_md -D enable_service_discovery --outputs '$!PRODUCT_DIR/gen/chrome' ../components/policy/resources/policy_templates.grd' returned exit status 2 while in ..\chrome\chrome.gyp.
Traceback (most recent call last):
File "tools\gclient_hook.py", line 106, in <module>
RunAction(cef_dir, gyper)
File "d:\work\cef\download\chromium\src\cef\tools\gclient_util.py", line 39, in RunAction
command, cwd=dir, always=True)
File "d:\work\cef\download\depot_tools\gclient_utils.py", line 293, in CheckCallAndFilterAndHeader
return CheckCallAndFilter(args, **kwargs)
File "d:\work\cef\download\depot_tools\gclient_utils.py", line 538, in CheckCallAndFilter
rv, args, kwargs.get('cwd', None), None, None)
subprocess2.CalledProcessError: Command 'd:\\work\\cef\\download\\depot_tools\\python276_bin\\python.exe ../build/gyp_chromium cef.gyp -I cef.gypi -G ninja_use_custom_environment_files' returned non-zero exit status 1 in d:\work\cef\download\chromium\src\cef
Traceback (most recent call last):
File "automate\automate-git.py", line 885, in <module>
run(path, cef_src_dir, depot_tools_dir)
File "automate\automate-git.py", line 55, in run
shell=(sys.platform == 'win32'))
File "D:\work\cef\download\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['d:\\work\\cef\\download\\chromium\\src\\cef\\cef_create_projects.bat']' returned non-zero exit status 1
wencheng
Techie
 
Posts: 13
Joined: Mon Nov 02, 2015 7:12 pm

Re: automate-git.py failed

Postby gluester » Mon Jan 18, 2016 4:37 pm

getting the same thing any fix yet?
gluester
Techie
 
Posts: 27
Joined: Tue Jul 28, 2015 9:31 am

Re: automate-git.py failed

Postby gluester » Mon Jan 18, 2016 6:06 pm

deleting the directory and re cloning it from the git repository did the trick

stuck on third_party skia issues though after that seems like the automated script isnt foolproof at all
gluester
Techie
 
Posts: 27
Joined: Tue Jul 28, 2015 9:31 am

Re: automate-git.py failed

Postby gluester » Mon Jan 18, 2016 6:27 pm

i believe you gotta follow up with this on skia nowadays

https://skia.org/dev/chrome/repo
gluester
Techie
 
Posts: 27
Joined: Tue Jul 28, 2015 9:31 am

Re: automate-git.py failed

Postby magreenblatt » Tue Jan 19, 2016 2:04 pm

If the problem is a damaged checkout you can pass --force-clean and/or --force-clean-deps flags to automate-git.py.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 33 guests

cron