- 积分
- 510
- 金钱
- 476
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 510
- 金钱
- 476
- HASS币
- 0
|
发表于 2018-9-21 23:28:42
|
显示全部楼层
本帖最后由 jick 于 2018-9-22 10:33 编辑
进入虚拟环境启动 Hass 发现错误见日志,是否是那些需要调整的。操作方法卸载 重新安装都发现问题。
注解掉运行出错的语法,可以继续执行下去。
2018-09-21 23:27:09 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=frontend>
Exception in thread Recorder:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/recorder/__init__.py", line 187, in run
from .models import States, Events
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/recorder/models.py", line 6, in <module>
from sqlalchemy import (
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/sqlalchemy/__init__.py", line 148, in <module>
__go(locals())
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/sqlalchemy/__init__.py", line 147, in __go
_sa_util.dependencies.resolve_all("sqlalchemy")
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 929, in resolve_all
m._resolve()
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 970, in _resolve
[self._il_addtl])
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 1360
^
SyntaxError: unexpected EOF while parsing
2018-09-21 23:27:17 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
|
|