|
运行 hass 后出现如下错误,请指点
Config directory: /home/admin/.homeassistant
Traceback (most recent call last):
File "/opt/bin/hass", line 11, in <module>
sys.exit(main())
File "/opt/lib/python3.6/site-packages/homeassistant/__main__.py", line 369, in main
exit_code = setup_and_run_hass(config_dir, args)
File "/opt/lib/python3.6/site-packages/homeassistant/__main__.py", line 274, in setup_and_run_hass
log_no_color=args.log_no_color)
File "/opt/lib/python3.6/site-packages/homeassistant/bootstrap.py", line 179, in from_config_file
log_rotate_days, log_file, log_no_color)
File "/base_events.py", line 467, in run_until_complete
File "/futures.py", line 245, in result
File "/tasks.py", line 180, in _step
File "/opt/lib/python3.6/site-packages/homeassistant/bootstrap.py", line 206, in async_from_config_file
log_no_color)
File "/opt/lib/python3.6/site-packages/homeassistant/bootstrap.py", line 292, in async_enable_logging
async_handler = AsyncHandler(hass.loop, err_handler)
File "/opt/lib/python3.6/site-packages/homeassistant/util/logging.py", line 49, in __init__
self._thread.start()
File "/threading.py", line 846, in start
RuntimeError: can't start new thread
Exception ignored in: <bound method BaseEventLoop.__del__ of <_UnixSelectorEventLoop running=False closed=True debug=False>>
Traceback (most recent call last):
File "/base_events.py", line 512, in __del__
File "/unix_events.py", line 65, in close
File "/unix_events.py", line 146, in remove_signal_handler
File "/signal.py", line 47, in signal
TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object
|
|