- 积分
- 343
- 金钱
- 280
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 343
- 金钱
- 280
- HASS币
- 0
|
发表于 2018-11-2 20:15:49
|
显示全部楼层
(homeassistant) admin@RT-AC3100-E7C2:/tmp/home/root# hass --open-ui
Config directory: /root/.homeassistant
2018-11-02 12:13:48 INFO (SyncWorker_3) [homeassistant.util.package] Attempting install of PyQRCode==1.2.1
Traceback (most recent call last):
File "/opt/bin/hass", line 11, in <module>
sys.exit(main())
Exception in thread Thread-1:
Traceback (most recent call last):
File "/threading.py", line 917, in _bootstrap_inner
File "/threading.py", line 865, in run
File "/opt/lib/python3.7/site-packages/homeassistant/util/logging.py", line 85, in _process
self._queue.get(), self.loop).result()
File "/_base.py", line 430, in result
concurrent.futures._base.CancelledError
File "/opt/lib/python3.7/site-packages/homeassistant/__main__.py", line 389, in main
exit_code = asyncio_run(setup_and_run_hass(config_dir, args))
File "/runners.py", line 43, in run
File "/base_events.py", line 568, in run_until_complete
File "/opt/lib/python3.7/site-packages/homeassistant/__main__.py", line 283, in setup_and_run_hass
log_no_color=args.log_no_color)
File "/opt/lib/python3.7/site-packages/homeassistant/bootstrap.py", line 223, in async_from_config_file
config_dict, hass, enable_log=False, skip_pip=skip_pip)
File "/opt/lib/python3.7/site-packages/homeassistant/bootstrap.py", line 93, in async_from_config_dict
hass, core_config, has_api_password, has_trusted_networks)
File "/opt/lib/python3.7/site-packages/homeassistant/config.py", line 485, in async_process_ha_core_config
mfa_conf))
File "/opt/lib/python3.7/site-packages/homeassistant/auth/__init__.py", line 53, in auth_manager_from_config
for config in module_configs])
File "/opt/lib/python3.7/site-packages/homeassistant/auth/mfa_modules/__init__.py", line 132, in auth_mfa_module_from_config
module = await _load_mfa_module(hass, module_name)
File "/opt/lib/python3.7/site-packages/homeassistant/auth/mfa_modules/__init__.py", line 167, in _load_mfa_module
hass, module_path, module.REQUIREMENTS) # type: ignore
File "/opt/lib/python3.7/site-packages/homeassistant/requirements.py", line 43, in async_process_requirements
ret = await hass.async_add_executor_job(pip_install, req)
File "/thread.py", line 57, in run
File "/opt/lib/python3.7/site-packages/homeassistant/util/package.py", line 43, in install_package
process = Popen(args, stdin=PIPE, stdout=PIPE, stderr=PIPE, env=env)
File "/subprocess.py", line 756, in __init__
File "/subprocess.py", line 1430, in _execute_child
OSError: [Errno 12] Cannot allocate memory
启动时候提示这个啥意思 用U盘扩展分区怎么搞 貌似内存不够 |
|