matter ./install.sh 安装过程中出错,一直查不到原因,有知道的吗?谢谢!!
Posted: Mon May 20, 2024 7:20 am
raceback (most recent call last):
File "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 995, in <module>
sys.exit(main())
File "/root/esp-matter/connectedhomeip/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 "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 577, in setup
result = step(spin)
File "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 671, in cipd
cipd_client = cipd_wrapper.init(
File "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 378, in init
bootstrap(client, silent, rosetta=rosetta)
File "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 328, in bootstrap
tmp.write(client_bytes(rosetta))
File "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 228, in client_bytes
conn = https_connect_with_proxy(CIPD_HOST)
File "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 201, in https_connect_with_proxy
conn = httplib.HTTPSConnection(url.hostname, url.port)
File "/usr/lib/python3.10/http/client.py", line 1410, in __init__
super(HTTPSConnection, self).__init__(host, port, timeout,
File "/usr/lib/python3.10/http/client.py", line 852, in __init__
(self.host, self.port) = self._get_hostport(host, port)
File "/usr/lib/python3.10/http/client.py", line 886, in _get_hostport
i = host.rfind(':')
AttributeError: 'NoneType' object has no attribute 'rfind'
File "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 995, in <module>
sys.exit(main())
File "/root/esp-matter/connectedhomeip/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 "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 577, in setup
result = step(spin)
File "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 671, in cipd
cipd_client = cipd_wrapper.init(
File "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 378, in init
bootstrap(client, silent, rosetta=rosetta)
File "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 328, in bootstrap
tmp.write(client_bytes(rosetta))
File "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 228, in client_bytes
conn = https_connect_with_proxy(CIPD_HOST)
File "/root/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 201, in https_connect_with_proxy
conn = httplib.HTTPSConnection(url.hostname, url.port)
File "/usr/lib/python3.10/http/client.py", line 1410, in __init__
super(HTTPSConnection, self).__init__(host, port, timeout,
File "/usr/lib/python3.10/http/client.py", line 852, in __init__
(self.host, self.port) = self._get_hostport(host, port)
File "/usr/lib/python3.10/http/client.py", line 886, in _get_hostport
i = host.rfind(':')
AttributeError: 'NoneType' object has no attribute 'rfind'