Fail to run 'cit restart' |
||
Issue description
Trying to run 'cit restart' I get the following error:
$ cit restart chromium.infra.codesearch -b 697786 -m 0
Traceback (most recent call last):
File "/usr/local/google/home/emso/.chrome-infra/infra/run.py", line 29, in <module>
sys.exit(run_helper.run_py_main(sys.argv[1:], RUNPY_PATH, ENV_PATH, 'infra'))
File "/usr/local/google/home/emso/.chrome-infra/infra/bootstrap/run_helper.py", line 75, in run_py_main
import argcomplete
ImportError: No module named argcomplete
Ryan, do you know what's going on? (Andrii suggested I ask you)
,
May 12 2017
Result from pip: $ pip install --user argcomplete Downloading/unpacking argcomplete Downloading argcomplete-1.8.2-py2.py3-none-any.whl Installing collected packages: argcomplete Successfully installed argcomplete Cleaning up...
,
May 12 2017
So, argcomplete should be auto-bootstrapped when "gclient runhooks" is ran. One shouldn't need it on one's machine. So, either gclient runhooks failed (weren't run?!) OR something is wrong in combination of run_helper.py AND emso@ machine.
,
May 12 2017
This combo made it work: $ gclient runhooks $ ./run.py infra.tools.restart chromium.infra.codesearch -b 697786 -m 0
,
May 12 2017
Did gclient runhooks bychance fail to run the first time?
,
May 15 2017
Sorry, don't know. Possibly if it runs from within gclient sync.
,
Feb 28 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by emso@chromium.org
, May 12 2017