gclient sync fail

168 views
Skip to first unread message

曹启贵

unread,
Aug 20, 2021, 6:58:43 PM8/20/21
to Chromium-discuss
D:\WorkSpace\chromium>gclient sync


src (ERROR)
----------------------------------------
[0:00:00] Started.
[0:00:00] ________ unmanaged solution; skipping src
[0:00:00] Finished running: git rev-parse --verify HEAD
----------------------------------------
Traceback (most recent call last):
  File "D:\depot_tools\metrics.py", line 291, in print_notice_and_exit
    yield
  File "D:\depot_tools\gclient.py", line 3229, in <module>
    sys.exit(main(sys.argv[1:]))
  File "D:\depot_tools\gclient.py", line 3215, in main
    return dispatcher.execute(OptionParser(), argv)
  File "D:\depot_tools\subcommand.py", line 252, in execute
    return command(parser, args[1:])
  File "D:\depot_tools\gclient.py", line 2769, in CMDsync
    ret = client.RunOnDeps('update', args)
  File "D:\depot_tools\gclient.py", line 1808, in RunOnDeps
    work_queue.flush(revision_overrides, command, args, options=self._options,
  File "D:\depot_tools\gclient_utils.py", line 967, in flush
    reraise(e[0], e[1], e[2])
  File "D:\depot_tools\gclient_utils.py", line 67, in reraise
    raise value
  File "D:\depot_tools\gclient_utils.py", line 1044, in run
    self.item.run(*self.args, **self.kwargs)
  File "D:\depot_tools\gclient.py", line 982, in run
    self.ParseDepsFile()
  File "D:\depot_tools\gclient.py", line 804, in ParseDepsFile
    deps_to_add = self._deps_to_objects(
  File "D:\depot_tools\gclient.py", line 655, in _deps_to_objects
    should_process = should_process and gclient_eval.EvaluateCondition(
  File "D:\depot_tools\gclient_eval.py", line 626, in EvaluateCondition
    return _convert(main_node)
  File "D:\depot_tools\gclient_eval.py", line 561, in _convert
    return EvaluateCondition(
  File "D:\depot_tools\gclient_eval.py", line 626, in EvaluateCondition
    return _convert(main_node)
  File "D:\depot_tools\gclient_eval.py", line 593, in _convert
    value = _convert(node.operand)
  File "D:\depot_tools\gclient_eval.py", line 586, in _convert
    bool_values.append(_convert(value))
  File "D:\depot_tools\gclient_eval.py", line 608, in _convert
    left = _convert(node.left)
  File "D:\depot_tools\gclient_eval.py", line 561, in _convert
    return EvaluateCondition(
  File "D:\depot_tools\gclient_eval.py", line 537, in EvaluateCondition
    main_node = ast.parse(condition, mode='eval')
  File "D:\depot_tools\bootstrap-2@3_8_10_chromium_20_bin\python3\bin\Lib\ast.py", line 47, in parse
    return compile(source, filename, mode, flags,
  File "<unknown>", line 0

    ^
SyntaxError: unexpected EOF while parsing

D:\WorkSpace\chromium>

Pradeep Chakravarti

unread,
Jul 10, 2022, 8:05:48 AM7/10/22
to Chromium-discuss, caoqi...@gmail.com

I am running into the same issue.
Did you ever find a fix for this?
Reply all
Reply to author
Forward
0 new messages