『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 3178|回复: 0

[求助] 运行 hass 后出现如下错误,请指点

[复制链接]

2

主题

5

帖子

63

积分

注册会员

Rank: 2

积分
63
金钱
58
HASS币
0
发表于 2018-8-15 14:47:21 | 显示全部楼层 |阅读模式
运行 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

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-25 00:58 , Processed in 0.072819 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表