Discussion:
[chromium-dev] gclient sync fails on Windows build env with trying to use non-existent file "C:\usr\bin\python2.7"(not even C:\usr\bin\python2.7.exe).
kuro
2018-12-03 10:10:33 UTC
Permalink
I installed python2.7 at C:\python27(downloaded from
https://www.python.org/downloads/windows/)
As I tried to run gclient sync(after "fetch chromium"), I get error like :

Syncing projects: 100% (94/94), done.
Running hooks: 27% (21/76) gn_win
________ running 'C:\python27\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
'C:\work\chromium'
0> Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
src/buildtools/win/gn.exe, skipping. [Err:
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] original error:
open C:\usr\bin\python2.7: The system cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] goroutine 1:
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] reason: failed
to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 - venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] reason: failed
to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 - application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Downloading 1 files took 1.335000 second(s)
Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
src/buildtools/win/gn.exe. [Err: [E2018-12-03T19:02:57.773027+09:00 5052 0
annotate.go:241] original error: open C:\usr\bin\python2.7: The system
cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] goroutine 1:
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] reason: failed
to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 - venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] reason: failed
to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 - application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Error: Command 'C:\\python27\\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' returned
non-zero exit status 1 in C:\work\chromium



It seems download_from_google_storage.py trying to use
c:\usr\bin\python2.7(not C:\usr\bin\python2.7.exe, I already tried to move
python27 installation directory to C:\user\bin).

Is there any solution?
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org.
PhistucK
2018-12-03 18:25:00 UTC
Permalink
Unless you use it for things other than Chromium, you do not need to
install Python, it comes with depot_tools itself.
Did you use the depot_tools bundle mentioned in the instructions
<https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md>
?
Did you follow the instructions precisely? Specifically, the part about
prepending the depot_tools path to PATH and the part about not using a
non-CMD shell.

Also, see this thread
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/c05c88a3-aa83-42e3-9dfc-0f33e32a19bd%40chromium.org?utm_medium=email&utm_source=footer>
.

☆*PhistucK*
Post by kuro
I installed python2.7 at C:\python27(downloaded from
https://www.python.org/downloads/windows/)
Syncing projects: 100% (94/94), done.
Running hooks: 27% (21/76) gn_win
________ running 'C:\python27\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
'C:\work\chromium'
0> Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
open C:\usr\bin\python2.7: The system cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 - venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 - application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Downloading 1 files took 1.335000 second(s)
Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
src/buildtools/win/gn.exe. [Err: [E2018-12-03T19:02:57.773027+09:00 5052 0
annotate.go:241] original error: open C:\usr\bin\python2.7: The system
cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 - venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 - application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Error: Command 'C:\\python27\\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' returned
non-zero exit status 1 in C:\work\chromium
It seems download_from_google_storage.py trying to use
c:\usr\bin\python2.7(not C:\usr\bin\python2.7.exe, I already tried to move
python27 installation directory to C:\user\bin).
Is there any solution?
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups
"Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CABc02_%2BszyRLMsU6kBcBjF%2Bv81wAvsTqq7twSQAgxes%2BcsPMRg%40mail.gmail.com.
kuro
2018-12-04 02:27:38 UTC
Permalink
Thank you for your reply.
You are right, I should not use python I downloaded from python.org(I found
solution by myself, but it is not just same as written in "Instructions").

1. download depot_tool, add path to it.
2. do "fetch chromium",
this will fail with error, but never mind.
3. remove path to depot_tool previously downloaded.
4. set path to depot_tools where under fetched location
src/third_party/depot_tool
5. set DEPOT_TOOLS_WIN_TOOLCHAIN=0
6. do "gclient sync"
7. follow instruction described
https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md
Post by PhistucK
Unless you use it for things other than Chromium, you do not need to
install Python, it comes with depot_tools itself.
Did you use the depot_tools bundle mentioned in the instructions
<https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md>
?
Did you follow the instructions precisely? Specifically, the part about
prepending the depot_tools path to PATH and the part about not using a
non-CMD shell.
Also, see this thread
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/c05c88a3-aa83-42e3-9dfc-0f33e32a19bd%40chromium.org?utm_medium=email&utm_source=footer>
.
☆*PhistucK*
Post by kuro
I installed python2.7 at C:\python27(downloaded from
https://www.python.org/downloads/windows/)
Syncing projects: 100% (94/94), done.
Running hooks: 27% (21/76) gn_win
________ running 'C:\python27\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
'C:\work\chromium'
0> Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
open C:\usr\bin\python2.7: The system cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Downloading 1 files took 1.335000 second(s)
Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
src/buildtools/win/gn.exe. [Err: [E2018-12-03T19:02:57.773027+09:00 5052 0
annotate.go:241] original error: open C:\usr\bin\python2.7: The system
cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Error: Command 'C:\\python27\\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' returned
non-zero exit status 1 in C:\work\chromium
It seems download_from_google_storage.py trying to use
c:\usr\bin\python2.7(not C:\usr\bin\python2.7.exe, I already tried to move
python27 installation directory to C:\user\bin).
Is there any solution?
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups
"Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/5964b5ff-2158-4ba5-ab6c-72008639d53b%40chromium.org.
kuro
2018-12-04 09:27:45 UTC
Permalink
there may be somebody who encounter similar problem, I describe it in
little more detail:

download depot_tools
<https://storage.googleapis.com/chrome-infra/depot_tools.zip> ,then
extract(eg, at C:\)
open cmd.exe
C:\Workdir > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir > set path=C:\depot_tools;%path%
C:\Workdir > fetch chromium

close cmd.exe window after the fetch finished(ignore errors).
re open cmd.exe

C:\Workdir > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir > set path=C:\Workdir\chromium\src\third_party\depot_tools;%path%
C:\Workdir > set DEPOT_TOOLS_WIN_TOOLCHAIN=0
C:\Workdir > gclient sync
Post by kuro
Thank you for your reply.
You are right, I should not use python I downloaded from python.org(I
found solution by myself, but it is not just same as written in
"Instructions").
1. download depot_tool, add path to it.
2. do "fetch chromium",
this will fail with error, but never mind.
3. remove path to depot_tool previously downloaded.
4. set path to depot_tools where under fetched location
src/third_party/depot_tool
5. set DEPOT_TOOLS_WIN_TOOLCHAIN=0
6. do "gclient sync"
7. follow instruction described
https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md
Post by PhistucK
Unless you use it for things other than Chromium, you do not need to
install Python, it comes with depot_tools itself.
Did you use the depot_tools bundle mentioned in the instructions
<https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md>
?
Did you follow the instructions precisely? Specifically, the part about
prepending the depot_tools path to PATH and the part about not using a
non-CMD shell.
Also, see this thread
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/c05c88a3-aa83-42e3-9dfc-0f33e32a19bd%40chromium.org?utm_medium=email&utm_source=footer>
.
☆*PhistucK*
Post by kuro
I installed python2.7 at C:\python27(downloaded from
https://www.python.org/downloads/windows/)
Syncing projects: 100% (94/94), done.
Running hooks: 27% (21/76) gn_win
________ running 'C:\python27\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
'C:\work\chromium'
0> Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
open C:\usr\bin\python2.7: The system cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Downloading 1 files took 1.335000 second(s)
Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
src/buildtools/win/gn.exe. [Err: [E2018-12-03T19:02:57.773027+09:00 5052 0
annotate.go:241] original error: open C:\usr\bin\python2.7: The system
cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Error: Command 'C:\\python27\\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' returned
non-zero exit status 1 in C:\work\chromium
It seems download_from_google_storage.py trying to use
c:\usr\bin\python2.7(not C:\usr\bin\python2.7.exe, I already tried to move
python27 installation directory to C:\user\bin).
Is there any solution?
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google
Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/e6c251dc-5058-40cb-8ceb-35663b1f64ab%40chromium.org.
kuro
2018-12-04 09:31:14 UTC
Permalink
there may be somebody who encounter similar problem, I describe it in
little more detail:

download depot_tools
<https://storage.googleapis.com/chrome-infra/depot_tools.zip> ,then
extract(eg, at C:\)
open cmd.exe
C:\Workdir > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir > set path=C:\depot_tools;%path%
C:\Workdir > fetch chromium

close cmd.exe window after the fetch finished(ignore errors).
re open cmd.exe

C:\Workdir\chromium > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir\chromium > set path=C:\Workdir\chromium\src\third_party\
depot_tools;%path%
C:\Workdir\chromium > set DEPOT_TOOLS_WIN_TOOLCHAIN=0
C:\Workdir\chromium > gclient sync
Post by kuro
Thank you for your reply.
You are right, I should not use python I downloaded from python.org(I
found solution by myself, but it is not just same as written in
"Instructions").
1. download depot_tool, add path to it.
2. do "fetch chromium",
this will fail with error, but never mind.
3. remove path to depot_tool previously downloaded.
4. set path to depot_tools where under fetched location
src/third_party/depot_tool
5. set DEPOT_TOOLS_WIN_TOOLCHAIN=0
6. do "gclient sync"
7. follow instruction described
https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md
Post by PhistucK
Unless you use it for things other than Chromium, you do not need to
install Python, it comes with depot_tools itself.
Did you use the depot_tools bundle mentioned in the instructions
<https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md>
?
Did you follow the instructions precisely? Specifically, the part about
prepending the depot_tools path to PATH and the part about not using a
non-CMD shell.
Also, see this thread
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/c05c88a3-aa83-42e3-9dfc-0f33e32a19bd%40chromium.org?utm_medium=email&utm_source=footer>
.
☆*PhistucK*
Post by kuro
I installed python2.7 at C:\python27(downloaded from
https://www.python.org/downloads/windows/)
Syncing projects: 100% (94/94), done.
Running hooks: 27% (21/76) gn_win
________ running 'C:\python27\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
'C:\work\chromium'
0> Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
open C:\usr\bin\python2.7: The system cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Downloading 1 files took 1.335000 second(s)
Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
src/buildtools/win/gn.exe. [Err: [E2018-12-03T19:02:57.773027+09:00 5052 0
annotate.go:241] original error: open C:\usr\bin\python2.7: The system
cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Error: Command 'C:\\python27\\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' returned
non-zero exit status 1 in C:\work\chromium
It seems download_from_google_storage.py trying to use
c:\usr\bin\python2.7(not C:\usr\bin\python2.7.exe, I already tried to move
python27 installation directory to C:\user\bin).
Is there any solution?
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google
Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/e95d05ce-e827-4813-838f-5b2f4262b23b%40chromium.org.
PhistucK
2018-12-04 18:38:30 UTC
Permalink
Can you share the errors fetch chromium throws? I do not think it should
throw.
Do you use non-Latin letters in your Windows profile name/user name? If so,
I think I recall problems there.

☆*PhistucK*
Post by kuro
there may be somebody who encounter similar problem, I describe it in
download depot_tools
<https://storage.googleapis.com/chrome-infra/depot_tools.zip> ,then
extract(eg, at C:\)
open cmd.exe
C:\Workdir > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir > set path=C:\depot_tools;%path%
C:\Workdir > fetch chromium
close cmd.exe window after the fetch finished(ignore errors).
re open cmd.exe
C:\Workdir\chromium > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir\chromium > set path=C:\Workdir\chromium\src\third_party\
depot_tools;%path%
C:\Workdir\chromium > set DEPOT_TOOLS_WIN_TOOLCHAIN=0
C:\Workdir\chromium > gclient sync
Post by kuro
Thank you for your reply.
You are right, I should not use python I downloaded from python.org(I
found solution by myself, but it is not just same as written in
"Instructions").
1. download depot_tool, add path to it.
2. do "fetch chromium",
this will fail with error, but never mind.
3. remove path to depot_tool previously downloaded.
4. set path to depot_tools where under fetched location
src/third_party/depot_tool
5. set DEPOT_TOOLS_WIN_TOOLCHAIN=0
6. do "gclient sync"
7. follow instruction described
https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md
Post by PhistucK
Unless you use it for things other than Chromium, you do not need to
install Python, it comes with depot_tools itself.
Did you use the depot_tools bundle mentioned in the instructions
<https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md>
?
Did you follow the instructions precisely? Specifically, the part about
prepending the depot_tools path to PATH and the part about not using a
non-CMD shell.
Also, see this thread
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/c05c88a3-aa83-42e3-9dfc-0f33e32a19bd%40chromium.org?utm_medium=email&utm_source=footer>
.
☆*PhistucK*
Post by kuro
I installed python2.7 at C:\python27(downloaded from
https://www.python.org/downloads/windows/)
Syncing projects: 100% (94/94), done.
Running hooks: 27% (21/76) gn_win
________ running 'C:\python27\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
'C:\work\chromium'
0> Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
open C:\usr\bin\python2.7: The system cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Downloading 1 files took 1.335000 second(s)
Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
src/buildtools/win/gn.exe. [Err: [E2018-12-03T19:02:57.773027+09:00 5052 0
annotate.go:241] original error: open C:\usr\bin\python2.7: The system
cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Error: Command 'C:\\python27\\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' returned
non-zero exit status 1 in C:\work\chromium
It seems download_from_google_storage.py trying to use
c:\usr\bin\python2.7(not C:\usr\bin\python2.7.exe, I already tried to move
python27 installation directory to C:\user\bin).
Is there any solution?
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google
Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups
"Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/e95d05ce-e827-4813-838f-5b2f4262b23b%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/e95d05ce-e827-4813-838f-5b2f4262b23b%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CABc02_Kkb5GrwMqupnX%3DUVtX4CLKp21Wzy41o4Ns6%3D29CovWPw%40mail.gmail.com.
kuro
2018-12-05 02:31:04 UTC
Permalink
Sorry about that.
I did retry at clean directory, then I successfully completed "fetch
chromium".
I think I did 2 mistake.
1. I was still investigating python path error (may be I miss-scrolled
bunch of error messages).
2. when running "fetch chromium", I have not set
"DEPOT_TOOLS_WIN_TOOLCHAIN=0".
Because of two mistake above, I thought it came from CIPD's misbehavior, so
I think it needed to change path to depot_tools to where under
chromium/src/....(though this still have no certain reason..).

This will works without any errors:
C:\Workdir > mkdir chromium
C:\Workdir > cd chromium
C:\Workdir\chromium > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir\chromium > set set DEPOT_TOOLS_WIN_TOOLCHAIN=0
C:\Workdir\chromium > set path=C:\depot_tools;%path%
C:\Workdir\chromium > fetch chromium

Thank you!
Post by PhistucK
Can you share the errors fetch chromium throws? I do not think it should
throw.
Do you use non-Latin letters in your Windows profile name/user name? If
so, I think I recall problems there.
☆*PhistucK*
Post by kuro
there may be somebody who encounter similar problem, I describe it in
download depot_tools
<https://storage.googleapis.com/chrome-infra/depot_tools.zip> ,then
extract(eg, at C:\)
open cmd.exe
C:\Workdir > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir > set path=C:\depot_tools;%path%
C:\Workdir > fetch chromium
close cmd.exe window after the fetch finished(ignore errors).
re open cmd.exe
C:\Workdir\chromium > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir\chromium > set path=C:\Workdir\chromium\src\third_party\
depot_tools;%path%
C:\Workdir\chromium > set DEPOT_TOOLS_WIN_TOOLCHAIN=0
C:\Workdir\chromium > gclient sync
Post by kuro
Thank you for your reply.
You are right, I should not use python I downloaded from python.org(I
found solution by myself, but it is not just same as written in
"Instructions").
1. download depot_tool, add path to it.
2. do "fetch chromium",
this will fail with error, but never mind.
3. remove path to depot_tool previously downloaded.
4. set path to depot_tools where under fetched location
src/third_party/depot_tool
5. set DEPOT_TOOLS_WIN_TOOLCHAIN=0
6. do "gclient sync"
7. follow instruction described
https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md
Post by PhistucK
Unless you use it for things other than Chromium, you do not need to
install Python, it comes with depot_tools itself.
Did you use the depot_tools bundle mentioned in the instructions
<https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md>
?
Did you follow the instructions precisely? Specifically, the part about
prepending the depot_tools path to PATH and the part about not using a
non-CMD shell.
Also, see this thread
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/c05c88a3-aa83-42e3-9dfc-0f33e32a19bd%40chromium.org?utm_medium=email&utm_source=footer>
.
☆*PhistucK*
Post by kuro
I installed python2.7 at C:\python27(downloaded from
https://www.python.org/downloads/windows/)
Syncing projects: 100% (94/94), done.
Running hooks: 27% (21/76) gn_win
________ running 'C:\python27\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
'C:\work\chromium'
0> Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
open C:\usr\bin\python2.7: The system cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Downloading 1 files took 1.335000 second(s)
Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
src/buildtools/win/gn.exe. [Err: [E2018-12-03T19:02:57.773027+09:00 5052 0
annotate.go:241] original error: open C:\usr\bin\python2.7: The system
cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Error: Command 'C:\\python27\\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' returned
non-zero exit status 1 in C:\work\chromium
It seems download_from_google_storage.py trying to use
c:\usr\bin\python2.7(not C:\usr\bin\python2.7.exe, I already tried to move
python27 installation directory to C:\user\bin).
Is there any solution?
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google
Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups
"Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/e95d05ce-e827-4813-838f-5b2f4262b23b%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/e95d05ce-e827-4813-838f-5b2f4262b23b%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/04ec3faa-6491-40a6-ad91-450aa2cc12ec%40chromium.org.
kuro
2018-12-05 02:32:51 UTC
Permalink
Sorry about that.
I did retry at clean directory, then I successfully completed "fetch
chromium".
I think I did 2 mistake.
1. I was still investigating python path error (may be I miss-scrolled
bunch of error messages).
2. when running "fetch chromium", I have not set
"DEPOT_TOOLS_WIN_TOOLCHAIN=0".
Because of two mistake above, I thought it came from CIPD's misbehavior, so
I think it needed to change path to depot_tools to where under
chromium/src/....(though this still have no certain reason..).

This will works without any errors:
C:\Workdir > mkdir chromium
C:\Workdir > cd chromium
C:\Workdir\chromium > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir\chromium > set DEPOT_TOOLS_WIN_TOOLCHAIN=0
C:\Workdir\chromium > set path=C:\depot_tools;%path%
C:\Workdir\chromium > fetch chromium

Thank you!
Post by PhistucK
Can you share the errors fetch chromium throws? I do not think it should
throw.
Do you use non-Latin letters in your Windows profile name/user name? If
so, I think I recall problems there.
☆*PhistucK*
Post by kuro
there may be somebody who encounter similar problem, I describe it in
download depot_tools
<https://storage.googleapis.com/chrome-infra/depot_tools.zip> ,then
extract(eg, at C:\)
open cmd.exe
C:\Workdir > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir > set path=C:\depot_tools;%path%
C:\Workdir > fetch chromium
close cmd.exe window after the fetch finished(ignore errors).
re open cmd.exe
C:\Workdir\chromium > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir\chromium > set path=C:\Workdir\chromium\src\third_party\
depot_tools;%path%
C:\Workdir\chromium > set DEPOT_TOOLS_WIN_TOOLCHAIN=0
C:\Workdir\chromium > gclient sync
Post by kuro
Thank you for your reply.
You are right, I should not use python I downloaded from python.org(I
found solution by myself, but it is not just same as written in
"Instructions").
1. download depot_tool, add path to it.
2. do "fetch chromium",
this will fail with error, but never mind.
3. remove path to depot_tool previously downloaded.
4. set path to depot_tools where under fetched location
src/third_party/depot_tool
5. set DEPOT_TOOLS_WIN_TOOLCHAIN=0
6. do "gclient sync"
7. follow instruction described
https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md
Post by PhistucK
Unless you use it for things other than Chromium, you do not need to
install Python, it comes with depot_tools itself.
Did you use the depot_tools bundle mentioned in the instructions
<https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md>
?
Did you follow the instructions precisely? Specifically, the part about
prepending the depot_tools path to PATH and the part about not using a
non-CMD shell.
Also, see this thread
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/c05c88a3-aa83-42e3-9dfc-0f33e32a19bd%40chromium.org?utm_medium=email&utm_source=footer>
.
☆*PhistucK*
Post by kuro
I installed python2.7 at C:\python27(downloaded from
https://www.python.org/downloads/windows/)
Syncing projects: 100% (94/94), done.
Running hooks: 27% (21/76) gn_win
________ running 'C:\python27\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
'C:\work\chromium'
0> Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
open C:\usr\bin\python2.7: The system cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Downloading 1 files took 1.335000 second(s)
Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
src/buildtools/win/gn.exe. [Err: [E2018-12-03T19:02:57.773027+09:00 5052 0
annotate.go:241] original error: open C:\usr\bin\python2.7: The system
cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Error: Command 'C:\\python27\\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' returned
non-zero exit status 1 in C:\work\chromium
It seems download_from_google_storage.py trying to use
c:\usr\bin\python2.7(not C:\usr\bin\python2.7.exe, I already tried to move
python27 installation directory to C:\user\bin).
Is there any solution?
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google
Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups
"Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/e95d05ce-e827-4813-838f-5b2f4262b23b%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/e95d05ce-e827-4813-838f-5b2f4262b23b%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/5601dd63-28c5-41f9-aaeb-3601a8caf2a7%40chromium.org.
PhistucK
2018-12-05 06:31:53 UTC
Permalink
Thank you for the update!

☆*PhistucK*
Post by kuro
Sorry about that.
I did retry at clean directory, then I successfully completed "fetch
chromium".
I think I did 2 mistake.
1. I was still investigating python path error (may be I miss-scrolled
bunch of error messages).
2. when running "fetch chromium", I have not set
"DEPOT_TOOLS_WIN_TOOLCHAIN=0".
Because of two mistake above, I thought it came from CIPD's misbehavior,
so I think it needed to change path to depot_tools to where under
chromium/src/....(though this still have no certain reason..).
C:\Workdir > mkdir chromium
C:\Workdir > cd chromium
C:\Workdir\chromium > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir\chromium > set DEPOT_TOOLS_WIN_TOOLCHAIN=0
C:\Workdir\chromium > set path=C:\depot_tools;%path%
C:\Workdir\chromium > fetch chromium
Thank you!
Post by PhistucK
Can you share the errors fetch chromium throws? I do not think it should
throw.
Do you use non-Latin letters in your Windows profile name/user name? If
so, I think I recall problems there.
☆*PhistucK*
Post by kuro
there may be somebody who encounter similar problem, I describe it in
download depot_tools
<https://storage.googleapis.com/chrome-infra/depot_tools.zip> ,then
extract(eg, at C:\)
open cmd.exe
C:\Workdir > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir > set path=C:\depot_tools;%path%
C:\Workdir > fetch chromium
close cmd.exe window after the fetch finished(ignore errors).
re open cmd.exe
C:\Workdir\chromium > "\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
C:\Workdir\chromium > set path=C:\Workdir\chromium\src\third_party\
depot_tools;%path%
C:\Workdir\chromium > set DEPOT_TOOLS_WIN_TOOLCHAIN=0
C:\Workdir\chromium > gclient sync
Post by kuro
Thank you for your reply.
You are right, I should not use python I downloaded from python.org(I
found solution by myself, but it is not just same as written in
"Instructions").
1. download depot_tool, add path to it.
2. do "fetch chromium",
this will fail with error, but never mind.
3. remove path to depot_tool previously downloaded.
4. set path to depot_tools where under fetched location
src/third_party/depot_tool
5. set DEPOT_TOOLS_WIN_TOOLCHAIN=0
6. do "gclient sync"
7. follow instruction described
https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md
Post by PhistucK
Unless you use it for things other than Chromium, you do not need to
install Python, it comes with depot_tools itself.
Did you use the depot_tools bundle mentioned in the instructions
<https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md>
?
Did you follow the instructions precisely? Specifically, the part
about prepending the depot_tools path to PATH and the part about not using
a non-CMD shell.
Also, see this thread
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/c05c88a3-aa83-42e3-9dfc-0f33e32a19bd%40chromium.org?utm_medium=email&utm_source=footer>
.
☆*PhistucK*
Post by kuro
I installed python2.7 at C:\python27(downloaded from
https://www.python.org/downloads/windows/)
Syncing projects: 100% (94/94), done.
Running hooks: 27% (21/76) gn_win
________ running 'C:\python27\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
'C:\work\chromium'
0> Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
open C:\usr\bin\python2.7: The system cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Downloading 1 files took 1.335000 second(s)
Failed to fetch file
gs://chromium-gn/e20768d93a6b4400de0d03bb8ceb46facdbe3883 for
src/buildtools/win/gn.exe. [Err: [E2018-12-03T19:02:57.773027+09:00 5052 0
annotate.go:241] original error: open C:\usr\bin\python2.7: The system
cannot find the file specified.
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #0
go.chromium.org/luci/vpython/venv/config.go:348 - venv.hashPath()
failed to open interpreter
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #1
go.chromium.org/luci/vpython/venv/config.go:338 - venv.fillRuntime()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #2
go.chromium.org/luci/vpython/venv/config.go:194 -
venv.(*Config).makeEnv()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #3
go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
failed to initialize empty probe environment
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241]
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #4
go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #5
go.chromium.org/luci/vpython/application/application.go:318 -
application.(*application).mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #6
go.chromium.org/luci/vpython/application/application.go:402 -
application.(*Config).Main.func1()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #7
go.chromium.org/luci/vpython/application/support.go:46 -
application.run()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #8
go.chromium.org/luci/vpython/application/application.go:401 -
application.(*Config).Main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #9
vpython/main.go:93 - main.mainImpl()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #10
vpython/main.go:99 - main.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #11
runtime/proc.go:201 - runtime.main()
[E2018-12-03T19:02:57.773027+09:00 5052 0 annotate.go:241] #12
runtime/asm_386.s:1324 - runtime.goexit()
]
Error: Command 'C:\\python27\\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' returned
non-zero exit status 1 in C:\work\chromium
It seems download_from_google_storage.py trying to use
c:\usr\bin\python2.7(not C:\usr\bin\python2.7.exe, I already tried to move
python27 installation directory to C:\user\bin).
Is there any solution?
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google
Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it,
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/428f75f6-b5d2-41f8-b6a6-2c94f22ba8ea%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google
Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/e95d05ce-e827-4813-838f-5b2f4262b23b%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/e95d05ce-e827-4813-838f-5b2f4262b23b%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups
"Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/5601dd63-28c5-41f9-aaeb-3601a8caf2a7%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/5601dd63-28c5-41f9-aaeb-3601a8caf2a7%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CABc02_JVL7M4pXeO%2Btpt0Wwmq%3DGf6wA46DdHm%2BQ%3DH6F8ih%3DFXg%40mail.gmail.com.
Loading...