You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've following the documentation present here and using instructions present here to check out the components for a specific platform. But when I try to run the activation script, I got:
bash: scripts/setup/gen_pigweed_cipd_json.py: No such file or directory
It happens:
Whenever I try to follow the documentation to try to compile the lightning app example.
cd connectedhomeip && ./scripts/checkout_submodules.py --shallow --platform linux
cd~/connectedhomeip/examples/lighting-app/linux
Go to the lighlighting-app Linux folder and run the activation script:
cd examples/lighting-app/linux/
source third_party/connectedhomeip/scripts/activate.sh
Then the output is:
docker@72911bd09d95:~/connectedhomeip/examples/lighting-app/linux$ source third_party/connectedhomeip/scripts/activate.sh
bash: scripts/setup/gen_pigweed_cipd_json.py: No such file or directory
WELCOME TO...
█
█
▄ █ ▄ █ █
▀▀█████▀▀ ▄▀▀▀▄ ▄▀▀▀▄ ▄▀▀▀▀▄█ ▀▀█▀▀▀▀▀█▀▀ ▄▀▀▀▀▄ ▄▀▀
▀█▄ ▄█▀ █ █ █ █ █ █ █ █▄▄▄▄▄▄█ █
▀█▄ ▄█▀ █ █ █ █ █ █ █ █ █
▄██▀▀█ █▀▀██▄ █ █ █ ▀▄▄▄▄▀█ ▀▄▄ ▀▄▄ ▀▄▄▄▄▀ █
▀▀ █ █ ▀▀
BOOTSTRAP! Bootstrap may take a few minutes; please be patient.
Downloading and installing packages into local source directory:
Setting up CIPD package manager...done (10.4s)
warning: pattern "/opt/tests/connectedhomeip/examples/lighting-app/linux/third_party/connectedhomeip/.environment/pigweed.json" matched 0 files
Setting up Project actions........skipped (0.1s)
Setting up Python environment.....Traceback (most recent call last):
File "/opt/tests/connectedhomeip/examples/lighting-app/linux/third_party/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 995, in <module>
sys.exit(main())
File "/opt/tests/connectedhomeip/examples/lighting-app/linux/third_party/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 987, in main
return EnvSetup(**vars(parse())).setup()
File "/opt/tests/connectedhomeip/examples/lighting-app/linux/third_party/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 577, in setup
result = step(spin)
File "/opt/tests/connectedhomeip/examples/lighting-app/linux/third_party/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 766, in virtualenv
if not virtualenv_setup.install(
File "/opt/tests/connectedhomeip/examples/lighting-app/linux/third_party/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 443, in install
install_packages(gn_target)
File "/opt/tests/connectedhomeip/examples/lighting-app/linux/third_party/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 402, in install_packages
subprocess.check_call(
File "/usr/lib/python3.10/subprocess.py", line 364, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 345, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gn'
Installing pip requirements for all...
[notice] A new release of pip is available: 23.2.1 -> 24.0
[notice] To update, run: pip install --upgrade pip
Bug prevalence
Whenever I try to follow the documentation to try to compile the lightning app example.
Reproduction steps
The problem
I've following the documentation present here and using instructions present here to check out the components for a specific platform. But when I try to run the activation script, I got:
It happens:
Whenever I try to follow the documentation to try to compile the lightning app example.
Steps to reproduce
lighlighting-app
Linux folder and run the activation script:Then the output is:
Bug prevalence
Whenever I try to follow the documentation to try to compile the lightning app example.
GitHub hash of the SDK that was being used
cd0e262
Platform
other
Platform Version(s)
No response
Anything else?
I'm doing these steps from a container based on Ubuntu 22.04 image.
Not sure if it's a bug or an error on documentation.
The text was updated successfully, but these errors were encountered: