|
发表于 2020-7-27 11:51:34
|
显示全部楼层
报告一个bug,加载的播放列表太长了,日志出错了ha_cloud_music能不能搞个关闭功能,只能暂停吗?
2020-07-27 02:06:46 ERROR (Recorder) [homeassistant.components.recorder] Error adding event: (MySQLdb._exceptions.DataError) (1406, "Data too long for column 'event_data' at row 1")
[SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (%s, %s, %s, %s, %s, %s, %s)]
[parameters: ('state_changed', '{"entity_id": "media_player.ha_cloud_music", "old_state": null, "new_state": {"entity_id": "media_player.ha_cloud_music", "state": "idle", "attribute ... (264381 characters truncated) ... :00", "last_updated": "2020-07-26T18:06:25.646966+00:00", "context": {"id": "ee729f1d024749d387cf655eb070f2aa", "parent_id": null, "user_id": null}}}', 'LOCAL', datetime.datetime(2020, 7, 26, 18, 6, 25, 647075, tzinfo=<UTC>), datetime.datetime(2020, 7, 26, 18, 6, 46, 499557), 'ee729f1d024749d387cf655eb070f2aa', None)]
(Background on this error at: http://sqlalche.me/e/9h9h)
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1248, in _execute_context
cursor, statement, parameters, context
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 590, in do_execute
cursor.execute(statement, parameters)
File "/usr/local/lib/python3.7/site-packages/MySQLdb/cursors.py", line 209, in execute
res = self._query(query)
File "/usr/local/lib/python3.7/site-packages/MySQLdb/cursors.py", line 315, in _query
db.query(q)
File "/usr/local/lib/python3.7/site-packages/MySQLdb/connections.py", line 239, in query
_mysql.connection.query(self, query)
|
|