Execute command seperately:$ gclient sync --verbose --reset --force --with_branch_heads --delete_unversioned_trees --gclientfile=.gclient-xwalkGot the RC is 'svn not find',fixed the issue by installing subversion.I realized that the python is as a glue to execute variant commands like the shell command here,and response error once check the return value non-zero.So once we encounter any issue,check the real command string that python dumped,execute the command separately to see what is the real error. Thanks,Daniel ----- 原始邮件 ----- 发件人:"陈晓东" <[email protected]> 收件人:"Crosswalk-dev" <[email protected]> 主题:Error when 'DoGclientSyncForChromium' during syncing codes 日期:2015年08月10日 11点37分
Dear All, When I follow the guide on https://crosswalk-project.org/contribute/building_crosswalk.html#contribute/building_crosswalk/Building-Crosswalk-for-AndroidThere was issue below during syncing codes: -------Traceback (most recent call last): File "src/xwalk/tools/fetch_deps.py", line 82, in <module> sys.exit(main()) File "src/xwalk/tools/fetch_deps.py", line 77, in main deps_fetcher.DoGclientSyncForChromium() File "src/xwalk/tools/fetch_deps.py", line 53, in DoGclientSyncForChromium always=self._options.verbose, cwd=self._root_dir) File "/home/dachen/depot_tools/gclient_utils.py", line 293, in CheckCallAndFilterAndHeader return CheckCallAndFilter(args, **kwargs) File "/home/dachen/depot_tools/gclient_utils.py", line 538, in CheckCallAndFilter rv, args, kwargs.get('cwd', None), None, None)subprocess2.CalledProcessError: Command 'gclient sync --verbose --reset --force --with_branch_heads --delete_unversioned_trees --gclientfile=.gclient-xwalk' returned non-zero exit status 1 in /home/dachen/crosswalk-srcError: Command '/usr/bin/python src/xwalk/tools/fetch_deps.py -v' returned non-zero exit status 1 in /home/dachen/crosswalk-src Hook '/usr/bin/python src/xwalk/tools/fetch_deps.py -v' took 1556.75 secs--------So any comments for that? Thanks,Gary
_______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
