Issue on gclient sync --force

483 views
Skip to first unread message

Arnaud MARCELLIN

unread,
Jan 23, 2014, 10:25:38 AM1/23/14
to discuss...@googlegroups.com
Hi,

I try to compile webrtc. But, when I run $ gclient sync --force, I got this error :

Traceback (most recent call last):
  File "../depot_tools/gclient.py", line 1923, in <module>    sys.exit(Main(sys.argv[1:]))
  File "../depot_tools/gclient.py", line 1913, in Main
    return dispatcher.execute(OptionParser(), argv)
  File "/usr/local/src/depot_tools/subcommand.py", line 245, in execute
    return command(parser, args[1:])
  File "../depot_tools/gclient.py", line 1697, in CMDsync
    ret = client.RunOnDeps('update', args)
  File "../depot_tools/gclient.py", line 1244, in RunOnDeps
    self.RunHooksRecursively(self._options)
  File "../depot_tools/gclient.py", line 822, in RunHooksRecursively
    hook, cwd=self.root.root_dir, always=True)
  File "/usr/local/src/depot_tools/gclient_utils.py", line 244, in CheckCallAndFilterAndHeader
    return CheckCallAndFilter(args, **kwargs)
  File "/usr/local/src/depot_tools/gclient_utils.py", line 438, in CheckCallAndFilter
    **kwargs)
  File "/usr/local/src/depot_tools/subprocess2.py", line 237, in __init__
    super(Popen, self).__init__(args, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Thanks for your help :)

Wei Jia

unread,
Jan 24, 2014, 12:50:53 AM1/24/14
to discuss...@googlegroups.com


--
 
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Arnaud MARCELLIN

unread,
Jan 24, 2014, 4:28:24 AM1/24/14
to discuss...@googlegroups.com
Hi,

I looked at this post, but this is not the same error.

I've done $ ./update_depot_tools, and if I sync force to a new direfctory, I got the error. I just tried to call gclient without "--force" argument, and sync is done, no error.

However, when I make $ gclient runhooks  (I try both woth and without argument "--force"), I got a similar error,

Traceback (most recent call last):
  File "../depot_tools/gclient.py", line 1923, in <module>
    sys.exit(Main(sys.argv[1:]))
  File "../depot_tools/gclient.py", line 1913, in Main
    return dispatcher.execute(OptionParser(), argv)
  File "/usr/local/src/depot_tools/subcommand.py", line 245, in execute
    return command(parser, args[1:])
  File "../depot_tools/gclient.py", line 1775, in CMDrunhooks
    return client.RunOnDeps('runhooks', args)

  File "../depot_tools/gclient.py", line 1244, in RunOnDeps
    self.RunHooksRecursively(self._options)
  File "../depot_tools/gclient.py", line 822, in RunHooksRecursively
    hook, cwd=self.root.root_dir, always=True)
  File "/usr/local/src/depot_tools/gclient_utils.py", line 244, in CheckCallAndFilterAndHeader
    return CheckCallAndFilter(args, **kwargs)
  File "/usr/local/src/depot_tools/gclient_utils.py", line 438, in CheckCallAndFilter
    **kwargs)
  File "/usr/local/src/depot_tools/subprocess2.py", line 237, in __init__
    super(Popen, self).__init__(args, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Should I post on Webrtc issue instead of here ?

Wei Jia

unread,
Jan 24, 2014, 1:45:13 PM1/24/14
to discuss...@googlegroups.com
Could you provide more info about your work space, such as which platform (OS), using svn or git, etc? Furthermore, could you also try a new work space (fresh checkout)? If the problem persists, please update the bug (http://code.google.com/p/webrtc/issues/detail?id=2790) with all needed info. We will investigate.

Wei


Arnaud MARCELLIN

unread,
Jan 27, 2014, 4:17:45 AM1/27/14
to discuss...@googlegroups.com
Hi. I'm working on a debian wheezy (7.3.0)  x86 hosted by vmware.
I download depot_tools using svn.
svn version : 1.6.17
git version :  1.7.10.4

I've tried another workspace :

# cd  /usr/local/src
# mv depot_tools depot_tools_old
# rm webrtc
# svn co http://src.chromium.org/chrome/trunk/depot_tools
# mkdir webrtc
# cd webrtc
# ../depot_tools/gclient config http://webrtc.googlecode.org/svn/trunk
# ../depot_tools/gclient sync --force

And I got the same error !
I wait your feedback before updating.




Wei Jia

unread,
Jan 27, 2014, 4:25:08 PM1/27/14
to discuss...@googlegroups.com
You are using wrong URL. It should be http://webrtc.googlecode.com/svn/trunk.

By the way, please also sync to r5442 or beyond.

Wei


Arnaud MARCELLIN

unread,
Jan 28, 2014, 4:29:21 AM1/28/14
to discuss...@googlegroups.com
My mystake on typing here the linux command. I use .com

I tried rev 5442, same error.

Arnaud
Reply all
Reply to author
Forward
0 new messages