Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: not all arguments converted during string formatting when running client sync #6

Open
PeterEdens opened this issue Aug 22, 2017 · 0 comments

Comments

@PeterEdens
Copy link

I cloned the repo then cd to third_party and run gclient sync and an error occurs:

conceivas-iMac:third_party conimac$ gclient sync
Syncing projects: 100% (7/7), done.

________ running 'bash sync_webrtc.sh webrtc_fork_v1.0' in '/Users/conimac/Work/spreedme-iosapp/third_party'

________ running '/usr/bin/python -c import os,sys;script = os.path.join("trunk","check_root_dir.py");_ = os.system("%s %s" % (sys.executable,script)) if os.path.exists(script) else 0' in '/Users/conimac/Work/spreedme-iosapp/third_party/webrtc'

________ running '/usr/bin/python -u src/sync_chromium.py --target-revision 4664fe0d123f948bafa7b942717fc5847e61971c' in '/Users/conimac/Work/spreedme-iosapp/third_party/webrtc'
Error: Command '/usr/bin/python -u src/sync_chromium.py --target-revision 4664fe0d123f948bafa7b942717fc5847e61971c' returned non-zero exit status 1 in /Users/conimac/Work/spreedme-iosapp/third_party/webrtc
Running "gclient sync --force --revision src@4664fe0d123f948bafa7b942717fc5847e61971c --gclientfile .gclient.tmp --delete_unversioned_trees --reset --upstream --deps=ios,mac" in /Users/conimac/Work/spreedme-iosapp/third_party/webrtc/src/chromium
[0:01:20] Still working on:
[0:01:20] src
gclient(557) MergeWithOsDeps:Ignoring 'src/chrome/test/data/perf/canvas_bench':None in 'ios' deps_os
gclient(557) MergeWithOsDeps:Ignoring 'src/chrome/test/data/perf/frame_rate/content':None in 'ios' deps_os
gclient(557) MergeWithOsDeps:Ignoring 'src/native_client':None in 'ios' deps_os
gclient(557) MergeWithOsDeps:Ignoring 'src/third_party/ffmpeg':None in 'ios' deps_os
gclient(557) MergeWithOsDeps:Ignoring 'src/third_party/hunspell_dictionaries':None in 'ios' deps_os
gclient(557) MergeWithOsDeps:Ignoring 'src/third_party/hunspell':None in 'ios' deps_os
gclient(557) MergeWithOsDeps:Ignoring 'src/third_party/webgl':None in 'ios' deps_os
[0:01:27] Still working on:
[0:01:27] src

src/tools/gyp (ERROR)

[0:01:39] Started.
[0:01:41] Up-to-date; skipping checkout.
_____ src/tools/gyp at adb7d24b9fc166f01ab2da50478556b518a9218f

Traceback (most recent call last):
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient.py", line 2574, in
sys.exit(main(sys.argv[1:]))
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient.py", line 2560, in main
return dispatcher.execute(OptionParser(), argv)
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/subcommand.py", line 252, in execute
return command(parser, args[1:])
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient.py", line 2315, in CMDsync
ret = client.RunOnDeps('update', args)
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient.py", line 1439, in RunOnDeps
work_queue.flush(revision_overrides, command, args, options=self._options)
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient_utils.py", line 1055, in run
self.item.run(*self.args, **self.kwargs)
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient.py", line 891, in run
self.ParseDepsFile()
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient.py", line 690, in ParseDepsFile
gclient_eval.Exec(deps_content, global_scope, local_scope, filepath)
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient_eval.py", line 209, in Exec
_visit_in_module(stmt)
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient_eval.py", line 193, in _visit_in_module
value = _gclient_eval(node.value, global_scope, filename=filename)
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient_eval.py", line 173, in _gclient_eval
return _convert(node_or_string)
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient_eval.py", line 146, in _convert
for k, v in zip(node.keys, node.values))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py", line 57, in init
self.__update(*args, **kwds)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_abcoll.py", line 568, in update
for key, value in other:
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient_eval.py", line 146, in
for k, v in zip(node.keys, node.values))
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient_eval.py", line 146, in _convert
for k, v in zip(node.keys, node.values))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py", line 57, in init
self.__update(*args, **kwds)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_abcoll.py", line 568, in update
for key, value in other:
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient_eval.py", line 146, in
for k, v in zip(node.keys, node.values))
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient_eval.py", line 165, in _convert
return _convert(node.left) + _convert(node.right)
File "/Users/conimac/Work/spreedme-iosapp/depot_tools/gclient_eval.py", line 167, in _convert
return _convert(node.left) % _convert(node.right)
TypeError: not all arguments converted during string formatting
Hook '/usr/bin/python -u src/sync_chromium.py --target-revision 4664fe0d123f948bafa7b942717fc5847e61971c' took 105.02 secs
gclient sync -r webrtc_fork_v1.0
Hook 'bash sync_webrtc.sh webrtc_fork_v1.0' took 110.90 secs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant