Problem updating depot_tools
Reported by
btk...@gmail.com,
May 26 2016
|
|||
Issue description
<b>Chrome Version : <Copy from: 'about:version'></b>
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
Safari:
Firefox:
IE:
What steps will reproduce the problem?
(1) Save .zipped depot_tools from "https://src.chromium.org/svn/trunk/tools/depot_tools.zip" to H:\Tools\DevTools\
(2) Extracted all H:\Tools\DevTools\depot_tools
(3) Added H:\Tools\DevTools\depot_tools to the end of PATH Variable in Environment Variables.
(4) Open Dos command prompt and run below command:
Microsoft Windows [版本 10.0.10586]
(c) 2015 Microsoft Corporation。保留所有权利。
C:\Windows\System32>h:
H:\>cd Tools
H:\Tools>cd DevTools
H:\Tools\DevTools>cd depot_tools
H:\Tools\DevTools\depot_tools>gclient
Installing python 2.7.6...
Fetching from https://storage.googleapis.com/chrome-infra/python276_bin.zip
Installing git 2.7.4-64 (avg 1-2 min download) ...
Fetching from https://storage.googleapis.com/chrome-infra/PortableGit-2.7.4-64-bit.7z.exe
Installing subversion ...
Fetching from https://storage.googleapis.com/chrome-infra/svn_bin.zip
fatal: unable to access 'https://chromium.googlesource.com/chromium/tools/depot_tools.git/': Failed to connect to chromium.googlesource.com port 443: Timed out
Usage: gclient.py <command> [options]
Meta checkout manager supporting both Subversion and GIT.
Commands are:
cleanup cleans up all working copies
config creates a .gclient file in the current directory
diff displays local diff for every dependencies
fetch fetches upstream commits for all modules
grep greps through git repos managed by gclient
help prints list of commands or help for a specific command
hookinfo outputs the hooks that would be run by `gclient runhooks`
pack generates a patch which can be applied at the root of the tree
recurse operates [command args ...] on all the dependencies
revert reverts all modifications in every dependencies
revinfo outputs revision info mapping for the client and its dependencies
root outputs the solution root (or current dir if there isn't one)
runhooks runs hooks for files that have been modified in the local working copy
status shows modification status for every dependencies
sync checkout/update all modules
verify verifies the DEPS file deps are only from allowed_hosts
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-j JOBS, --jobs=JOBS Specify how many SCM commands can run in parallel;
defaults to 8 on this machine
-v, --verbose Produces additional output for diagnostics. Can be
used up to three times for more logging info.
--gclientfile=CONFIG_FILENAME
Specify an alternate .gclient file
--spec=SPEC create a gclient file containing the provided string.
Due to Cygwin/Python brokenness, it can't contain any
newlines.
--no-nag-max Ignored for backwards compatibility.
H:\Tools\DevTools\depot_tools>gclient
fatal: unable to access 'https://chromium.googlesource.com/chromium/tools/depot_tools.git/': Failed to connect to chromium.googlesource.com port 443: Timed out
Usage: gclient.py <command> [options]
Meta checkout manager supporting both Subversion and GIT.
Commands are:
cleanup cleans up all working copies
config creates a .gclient file in the current directory
diff displays local diff for every dependencies
fetch fetches upstream commits for all modules
grep greps through git repos managed by gclient
help prints list of commands or help for a specific command
hookinfo outputs the hooks that would be run by `gclient runhooks`
pack generates a patch which can be applied at the root of the tree
recurse operates [command args ...] on all the dependencies
revert reverts all modifications in every dependencies
revinfo outputs revision info mapping for the client and its dependencies
root outputs the solution root (or current dir if there isn't one)
runhooks runs hooks for files that have been modified in the local working copy
status shows modification status for every dependencies
sync checkout/update all modules
verify verifies the DEPS file deps are only from allowed_hosts
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-j JOBS, --jobs=JOBS Specify how many SCM commands can run in parallel;
defaults to 8 on this machine
-v, --verbose Produces additional output for diagnostics. Can be
used up to three times for more logging info.
--gclientfile=CONFIG_FILENAME
Specify an alternate .gclient file
--spec=SPEC create a gclient file containing the provided string.
Due to Cygwin/Python brokenness, it can't contain any
newlines.
--no-nag-max Ignored for backwards compatibility.
H:\Tools\DevTools\depot_tools>gclient sync
fatal: unable to access 'https://chromium.googlesource.com/chromium/tools/depot_tools.git/': Failed to connect to chromium.googlesource.com port 443: Timed out
Error: client not configured; see 'gclient config'
H:\Tools\DevTools\depot_tools>gclient config
fatal: unable to access 'https://chromium.googlesource.com/chromium/tools/depot_tools.git/': Failed to connect to chromium.googlesource.com port 443: Timed out
Usage: gclient.py config [options] [url] [safesync url]
gclient.py: error: Inconsistent arguments. Use either --spec or one or 2 args
H:\Tools\DevTools\depot_tools>gclient config https://chromium.googlesource.com/chromium/tools/depot_tools.git
fatal: unable to access 'https://chromium.googlesource.com/chromium/tools/depot_tools.git/': Failed to connect to chromium.googlesource.com port 443: Timed out
H:\Tools\DevTools\depot_tools>
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if
possible.
,
May 26 2016
,
Jun 3 2016
thanks brajkumar. i found it's my network block this connect.https is find,but tcp isn't.use vpn is ok. 2016-05-26 14:16 GMT+08:00 brajkumar@chromium.org via Monorail < monorail@chromium.org>:
,
Jul 12 2016
I would suggest asking on chromium-dev (https://groups.google.com/a/chromium.org/forum/#!forum/chromium-dev) if you have problems using depot_tools. If you have network connectivity/firewall problems, the issue tracker is not a good forum for debugging that. |
|||
►
Sign in to add a comment |
|||
Comment 1 by btk...@gmail.com
, May 26 2016