Hi,
I am trying to setup the project on Windows platform but getting an error every time while running 'fetch chromium'/'gclient sync'. Here's the log where it fails -
Running hooks: 31% (19/60) gn_win
________ running 'E:\Chromium\depot_tools\win_tools-2_7_6_bin\python\bin\python.exe src/third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth --bucket chromium-gn -s src/buildtools/win/gn.exe.sha1' in 'E:\Chromium\chromium'
0> Failed to fetch file gs://chromium-gn/ccc949e1593e4a79c60e46bd22a5cf3c66e4d40a for src/buildtools/win/gn.exe, skipping. [Err: [E2018-03-26T04:27:43.221482+05:30 6844 0 venv.go:940] Process output:
New python executable in C:\Users\I$HU\.vpython-root\ce1052\Scripts\python.exe
Installing setuptools, pip, wheel...
Complete output from command C:\Users\I$HU\.vpyth...2\Scripts\python.exe - setuptools pip wheel:
Collecting setuptools
Exception:
Traceback (most recent call last):
File "C:\Users\I$HU\AppData\Local\Temp\vpython_bootstrap529447030\packages\virtualenv-15.1.0\virtualenv_support\pip-9.0.1-py2.py3-none-any.whl\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "C:\Users\I$HU\AppData\Local\Temp\vpython_bootstrap529447030\packages\virtualenv-15.1.0\virtualenv_support\pip-9.0.1-py2.py3-none-any.whl\pip\commands\install.py", line 324, in run
requirement_set.prepare_files(finder)
File "C:\Users\I$HU\AppData\Local\Temp\vpython_bootstrap529447030\packages\virtualenv-15.1.0\virtualenv_support\pip-9.0.1-py2.py3-none-any.whl\pip\req\req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "C:\Users\I$HU\AppData\Local\Temp\vpython_bootstrap529447030\packages\virtualenv-15.1.0\virtualenv_support\pip-9.0.1-py2.py3-none-any.whl\pip\req\req_set.py", line 554, in _prepare_file
require_hashes
File "C:\Users\I$HU\AppData\Local\Temp\vpython_bootstrap529447030\packages\virtualenv-15.1.0\virtualenv_support\pip-9.0.1-py2.py3-none-any.whl\pip\req\req_install.py", line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "C:\Users\I$HU\AppData\Local\Temp\vpython_bootstrap529447030\packages\virtualenv-15.1.0\virtualenv_support\pip-9.0.1-py2.py3-none-any.whl\pip\index.py", line 465, in find_requirement
all_candidates = self.find_all_candidates(
req.name)
File "C:\Users\I$HU\AppData\Local\Temp\vpython_bootstrap529447030\packages\virtualenv-15.1.0\virtualenv_support\pip-9.0.1-py2.py3-none-any.whl\pip\index.py", line 386, in find_all_candidates
self.find_links, expand_dir=True)
File "C:\Users\I$HU\AppData\Local\Temp\vpython_bootstrap529447030\packages\virtualenv-15.1.0\virtualenv_support\pip-9.0.1-py2.py3-none-any.whl\pip\index.py", line 236, in _sort_locations
sort_path(os.path.join(path, item))
File "C:\Users\I$HU\AppData\Local\Temp\vpython_bootstrap529447030\packages\virtualenv-15.1.0\virtualenv_support\pip-9.0.1-py2.py3-none-any.whl\pip\index.py", line 217, in sort_path
if mimetypes.guess_type(url, strict=False)[0] == 'text/html':
File "E:\Chromium\depot_tools\win_tools-2_7_6_bin\python\bin\Lib\mimetypes.py", line 297, in guess_type
init()
File "E:\Chromium\depot_tools\win_tools-2_7_6_bin\python\bin\Lib\mimetypes.py", line 358, in init
db.read_windows_registry()
File "E:\Chromium\depot_tools\win_tools-2_7_6_bin\python\bin\Lib\mimetypes.py", line 258, in read_windows_registry
for subkeyname in enum_types(hkcr):
File "E:\Chromium\depot_tools\win_tools-2_7_6_bin\python\bin\Lib\mimetypes.py", line 249, in enum_types
ctype = ctype.encode(default_encoding) # omit in 3.x!
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 3: ordinal not in range(128)
and there's more..(I've attached it) but how can I resolve this? Please help. I've already re-tried 5-7 times and it fails here every time.
Thanks.
Palash Verma